From: Paul S. <log...@ho...> - 2002-08-29 05:34:38
|
Greetings, I installed and was running htdig-3.1.6 with great success on my shared web host, and then the web host upgraded to Solaris 5.9. Thus, I am attempting to completely reinstall htdig-3.1.6 once again...however this time the problems seem endless. Whereas before ./configure ran w/o complaint (I didn't even need to set LD_RUN_PATH for the libstdc++ issue), now I cannot get past this part: (snip) checking for ostream.h... no checking for iostream.h... no checking for fstream.h... no configure: error: To compile ht://Dig, you will need a C++ library. Try installing libstdc++. The tail of the config.log file: (snip) configure:2104: checking for ostream.h configure:2114: c++ -E conftest.C >/dev/null 2>conftest.out In file included from /usr/local/include/g++-v3/backward/ostream.h:31, from configure:2110: /usr/local/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. configure: failed program was: #line 2109 "configure" #include "confdefs.h" #include <ostream.h> configure:2104: checking for iostream.h configure:2114: c++ -E conftest.C >/dev/null 2>conftest.out In file included from /usr/local/include/g++-v3/backward/iostream.h:31, from configure:2110: /usr/local/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. configure: failed program was: #line 2109 "configure" #include "confdefs.h" #include <iostream.h> configure:2142: checking for fstream.h configure:2152: c++ -E conftest.C >/dev/null 2>conftest.out In file included from /usr/local/include/g++-v3/backward/fstream.h:31, from configure:2148: /usr/local/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. configure: failed program was: #line 2147 "configure" #include "confdefs.h" #include <fstream.h> You will detect immediately that I am not very savvy about the installation of Solaris operating system by my following observations, also keeping in mind that I am on a shared platform with only telnet access: I manually searched for and found iostream.h, ostream.h and fstream.h. They were in /usr/local/include/g++-v3/backward. I also searched for getopt.h which was in /usr/local/mysql-3.23.51-sun-solaris2.8-sparc/include if that makes a difference. I happened to notice that "fstream", "ostream" and "iostream" (note the lack of the .h) were located in /usr/local/include/g++-v3 The ".h" files are in a subdirectory (/backward) of the "non .h" files if that may be a clue. (I notice that fstream.h contains a line like #include <fstream>...I thought maybe it couldn't "get back up on level" to the "fstream" so I tried adding to my PATH, also tried ./configure --includedir=/usr/local/include/g++-v3 no luck.) So, it appears to me that the configure is in fact finding the fstream.h, iostream.h and ostream.h. Note the config.log file actually produces some kind of "backwards" warning message, so I know configure "gets there". I've searched the on-line materials and tried the various combinations of CFLAGS, CXXFLAGS (e.g., CFLAGS="-O2 -I/usr/local/include/g++-v3/backward" etc., no avail) (but I really don't know what these flags mean). I would greatly appreciate any assistance or advice. ================= The output of .configure follows: loading 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... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found configuring ht://Dig version 3.1.6 checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) 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++ ) works... yes checking whether the C++ compiler (c++ ) 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/local/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/local/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... 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... yes checking for sys/select.h... yes checking for wait.h... yes checking for sys/wait.h... yes checking for malloc.h... (cached) yes checking for ostream.h... no checking for iostream.h... no checking for fstream.h... no configure: error: To compile ht://Dig, you will need a C++ library. Try installing libstdc++. _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com |