Re: [htdig] configure under BSD not finding fstream.h


Subject: Re: [htdig] configure under BSD not finding fstream.h
From: Brett Rabideau (misha@toto.com)
Date: Tue Sep 12 2000 - 14:51:01 PDT


Thanks for cleaning up my syntax, Gilles (I'm running csh) - but still no
joy. It still stumbles over my fstream.h (and I tried it both with local
and without). Any ideas? I've attached my output below.

King Regards,

Brett

{7} % setenv CFLAGS "-O2 -I/usr/local/include/g++"
{8} % setenv CXXFLAGS "-O2 -I/usr/local/include/g++"
{9} % ./configure --prefix=/usr/local
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
configuring ht://Dig version 3.1.5
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -I/usr/local/include/g++ )
works... yes
checking whether the C compiler (gcc -O2 -I/usr/local/include/g++ ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ -O2 -I/usr/local/include/g++ )
works... yes
checking whether the C++ compiler (c++ -O2 -I/usr/local/include/g++ ) is a
cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for sh... /bin/sh
checking for sed... /usr/bin/sed
checking for sort... /usr/bin/sort
checking for find... /usr/bin/find
checking for gunzip... /usr/contrib/bin/gunzip
checking for tar... tar
checking for acroread... /usr/local/bin/acroread
checking for sendmail... /usr/home/technoco/bin/sendmail
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for socket in -lsocket... no
checking for t_accept in -lnsl... no
checking for deflate in -lz... yes
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking how to run the C++ preprocessor... c++ -E
checking for fcntl.h... yes
checking for limits.h... yes
checking for malloc.h... yes
checking for sys/file.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for getopt.h... no
checking for strings.h... yes
checking for zlib.h... yes
checking for alloca.h... no
checking for sys/select.h... yes
checking for fstream.h... no
configure: error: To compile ht://Dig, you will need a C++ library. Try
installing libstdc++.

--On Tuesday, September 12, 2000 4:29 PM -0500 Gilles Detillieux
<grdetil@scrc.umanitoba.ca> wrote:

>>
>> (3) Borrowing further from another example, I tried:
>>
>> setenv CFLAGS="-O2 -I/usr/local/include/g++"
>> setenv CXXFLAGS="O2 -I/usr/local/include/g++"
>> ./configure --prefix=/usr/local
>>
>> and once again got to:
>>
>> checking for fstream.h... no
>> configure: error: To compile ht://Dig, you will need a C++ library. Try
>> installing libstdc++.
>
> The correct syntax for setenv is as follows:
>
> setenv CFLAGS "-O2 -I/usr/local/include/g++"
> setenv CXXFLAGS "-O2 -I/usr/local/include/g++"
>
> Note there's no "=" sign between the name and value, and note also that
> both option strings need the "-" before the "O2" option. The setenv
> command only works if your shell is csh or tcsh. If you're running sh,
> bash, ksh, or some other Bourne-shell workalike, the commands would be:
>
> CFLAGS="-O2 -I/usr/local/include/g++"
> CXXFLAGS="-O2 -I/usr/local/include/g++"
> export CFLAGS CXXFLAGS

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
 misha@toto.com

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



This archive was generated by hypermail 2b28 : Tue Sep 12 2000 - 14:53:50 PDT