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 
2>conftest
.out
configure:2056: checking for fstream.h
configure:2066: c++ -E -I/usr/local/include/g++ conftest.C >/dev/null 
2>conftest
.out
In file included from /usr/local/include/g++/streambuf.h:36,
                 from /usr/local/include/g++/iostream.h:31,
                 from /usr/local/include/g++/fstream.h:30,
                 from configure:2062:
/usr/local/include/g++/libio.h:30: _G_config.h: No such file or directory
configure: failed program was:
#line 2061 "configure"
#include "confdefs.h"
#include <fstream.h>


This file ALSO exists, but is located in

        /usr/include/g++/

I assume that I can include multiple -I statements, correct?

Kind Regards,

Brett
--On Tuesday, September 12, 2000 6:12 PM -0400 Brett Rabideau 
<[EMAIL PROTECTED]> wrote:

> 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,
>
> Brett
>
> --On Tuesday, September 12, 2000 5:07 PM -0500 Gilles Detillieux
> <[EMAIL PROTECTED]> 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: <[EMAIL PROTECTED]>
>> 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
>  http://www.toto.com
>  [EMAIL PROTECTED]



Brett Rabideau
 "She sells C-Shells and other Assorted Perls by the Seashore..."
 Periwinkle Communications LLC
 Performance-based Web Site Hosting, Programming & Design
 http://www.toto.com
 [EMAIL PROTECTED]

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.
List archives:  <http://www.htdig.org/mail/menu.html>
FAQ:            <http://www.htdig.org/FAQ.html>

Reply via email to