Re: [htdig] Installation Problems with htdig 3.1.2 on Solaris 2.6


Nick O'Brien (N.G.J.OBrien@reading.ac.uk)
Mon, 7 Jun 1999 13:47:37 +0100 (GMT Daylight Time)


On Mon, 7 Jun 1999 14:24:47 +0200 Torsten Neuer <tneuer@inwise.de> wrote:

> According to Nick O'Brien:
> >Hi,
> >
> >I'm having problems installing htdig 3.1.2 on Solaris. I am using gcc
> >2.7.2 and libstdc++ 2.8.1.1 - both were installed from pre-complied
> >packages available from sunfreeware.com so there shouldn't be any
> >installation problems with either of them.
> >
> >
> >However:
> >
> >%ls -l /usr/local/include/g++/fstream.h
> >-rw-r--r-- 1 bin bin 3475 Aug 4 1998 /usr/local/include/
> >g++/fstream.h
> >
> >
> >I tried doing a ./configure --prefix=/usr/local
> >--includedir=/usr/local/include/g++
> >
> >but this gave me the same result.
> >
> >Has anyone have any ideas of what I need to do?
> >
> > Nick.
> >
>
> Try setting CFLAGS and CXXFLAGS before invoking configure, i.e.
> CFLAGS="-O2 -I/usr/local/include/g++" \
> CXXFLAGS="O2 -I/usr/local/include/g++" \
> ./configure --prefix=/usr/local
>
> Should work ,-)

Thanks for your email but I'm afraid not :( :-

#CFLAGS="-O2 -I/usr/local/include/g++" \
> CXXFLAGS="-O2 -I/usr/local/include/g++" \
> ./configure --prefix=/usr/local
creating cache ./config.cache
checking for a BSD compatible install... ./install-sh -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... missing
configuring ht://Dig version 3.1.2
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... yes
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for ranlib... ranlib
checking for ar... /usr/ccs/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... /bin/gunzip
checking for tar... tar
checking for acroread... /usr/local/bin/acroread
checking for sendmail... /usr/lib/sendmail
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for socket in -lsocket... yes
checking for t_accept in -lnsl... yes
checking for deflate in -lz... no
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... no
checking for fstream.h... no
configure: error: To compile ht://Dig, you will need a C++ library.
Try installing libstdc++.

and a tail of config.log

#line 2023 "configure"
#include "confdefs.h"
#include <zlib.h>
configure:2056: checking for fstream.h
configure:2066: c++ -E conftest.C >/dev/null 2>conftest.out
configure:2062: fstream.h: No such file or directory
configure: failed program was:
#line 2061 "configure"
#include "confdefs.h"
#include <fstream.h>

The permissions on /usr/local/include/g++ appear fine:

%ls -ld /usr/local/include/g++
drwxr-xr-x 3 bin bin 2560 Jun 7 10:30 /usr/local/include/g++

        Rgds.,

                Nick.

========================================================================
"Animal? No, worse - human!", Manny - "Runaway Train"
Nick O'Brien Phone: +44 118 931 8432
Computer Officer Email: N.G.J.OBrien@reading.ac.uk
Reading University, UK Web: http://www.rdg.ac.uk/~suq98ngo/
 

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Mon Jun 07 1999 - 05:03:17 PDT