Subject: Re: [htdig] configure under BSD not finding fstream.h
From: Brett Rabideau (firstname.lastname@example.org)
Date: Tue Sep 12 2000 - 15:22:21 PDT
Ah! Apparently we are getting further; the config.log says:
configure:2018: checking for sys/select.h
configure:2028: c++ -E -I/usr/local/include/g++ conftest.C >/dev/null
configure:2056: checking for fstream.h
configure:2066: c++ -E -I/usr/local/include/g++ conftest.C >/dev/null
In file included from /usr/local/include/g++/streambuf.h:36,
/usr/local/include/g++/libio.h:30: _G_config.h: No such file or directory
configure: failed program was:
#line 2061 "configure"
This file ALSO exists, but is located in
I assume that I can include multiple -I statements, correct?
--On Tuesday, September 12, 2000 6:12 PM -0400 Brett Rabideau
> Giles, I really appreciate your help, but still no joy... still not
> finding fstream.h file. ON a whim, I also tried putting the include path
> into CXXFLAGS, i.e:
> % setenv CFLAGS "-O2"
> % setenv CXXFLAGS "-O2 -I/usr/local/include/g++"
> % setenv CPPFLAGS "-I/usr/local/include/g++"
> % ./configure --prefix=/usr/local
> No good there, either.
> Any more thoughts?
> Kind Regards,
> --On Tuesday, September 12, 2000 5:07 PM -0500 Gilles Detillieux
> <email@example.com> wrote:
>> OK, I think I figured out the problem. There's the following comment
>> and code in ./configure:
>> # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp
>> options. ac_cpp='$CPP $CPPFLAGS'
>> It also seems to add CPPFLAGS to the C and C++ compile commands.
>> So, I think this means you should do the following:
>> % setenv CFLAGS "-O2"
>> % setenv CXXFLAGS "-O2"
>> % setenv CPPFLAGS "-I/usr/local/include/g++"
>> % ./configure --prefix=/usr/local
>> Gilles R. Detillieux E-mail: <firstname.lastname@example.org>
>> Spinal Cord Research Centre WWW:
>> http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba
>> Phone: (204)789-3766
>> Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
> Brett Rabideau
> "She sells C-Shells and other Assorted Perls by the Seashore..."
> Periwinkle Communications LLC
> Performance-based Web Site Hosting, Programming & Design
"She sells C-Shells and other Assorted Perls by the Seashore..."
Periwinkle Communications LLC
Performance-based Web Site Hosting, Programming & Design
To unsubscribe from the htdig mailing list, send a message to
You will receive a message to confirm this.
List archives: <http://www.htdig.org/mail/menu.html>
This archive was generated by hypermail 2b28 : Tue Sep 12 2000 - 15:24:56 PDT