Hi, When I've previously installed SuSE (and some other Linux distributions) the development libraries, of which libstdc++ is a part of, are not installed by default.
Did you select to install the development libraries when you installed SuSE? If not, you need to get hold of the YaST installation files for the libraries and install them, making sure you include the C++ development library too (the libstdc++ files). Another note: Many Linux distributions include htdig by default, for purposes of indexing certain documentation (I think). I know I had difficulties with htdig due to it already being installed as an rpm/YaST. Files kept in the bin/sbin directory conflict with the files from your own install of htdig. I hope this helps, anyway. Regards, Ru -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Za Liestmann Sent: 19 May 2004 09:30 To: [EMAIL PROTECTED] Subject: [htdig] libstdc++ I' running SuSE Linux 9.0 and installed the htdig-version delivered with this package. SuSE makes all the installing for you, and you have no chance to choose the paths for your images, etc... So, I erased this version from htdig and tried again with the tar-file from your homepage. And this is the message I get from ./configure and make. I looked for the libraries but I know no further, What's the solution at this stage? linux:~ # find / -name "fstream.h" -print /usr/include/g++/backward/fstream.h find: /proc/2668/fd: No such file or directory linux:~ # cd srv/www/htdig-3.1.6 bash: cd: srv/www/htdig-3.1.6: No such file or directory linux:~ # cd .. linux:/ # cd srv/www linux:/srv/www # cd htdig-3.1.6 linux:/srv/www/htdig-3.1.6 # ./configure 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... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... missing 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... 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/bin/gunzip checking for tar... tar checking for acroread... /usr/X11R6/bin/acroread checking for sendmail... /usr/sbin/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... yes 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++. linux:/srv/www/htdig-3.1.6 # cd .. linux:/srv/www # cd .. linux:/srv # cd .. linux:/ # ldconfig -p | grep stdc++ libstdc++.so.5 (libc6) => /usr/lib/libstdc++.so.5 libstdc++.so.2.9 (libc6) => /usr/lib/libstdc++.so.2.9 libstdc++.so.2.8 (libc6) => /usr/lib/libstdc++.so.2.8 libstdc++.so.2.7.2 (libc6) => /usr/lib/libstdc++.so.2.7.2 libstdc++.so (libc6) => /usr/lib/libstdc++.so libstdc++-libc6.2-2.so.3 (libc6) => /usr/lib/libstdc++-libc6.2-2.so.3 libstdc++-libc6.1-2.so.3 (libc6) => /usr/lib/libstdc++-libc6.1-2.so.3 libstdc++-libc6.1-1.so.2 (libc6) => /usr/lib/libstdc++-libc6.1-1.so.2 linux:/ # sh config.guess ; echo 'main(){}'>/tmp/a.C ; g++ -v /tmp/a.C config.guess: config.guess: No such file or directory Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.1/specs Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada --disable-checking --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux Thread model: posix gcc version 3.3.1 (SuSE Linux) /usr/lib/gcc-lib/i586-suse-linux/3.3.1/cc1plus -quiet -v -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=1 -D_GNU_SOURCE /tmp/a.C -D__GNUG__=3 -quiet -dumpbase a.C -auxbase a -version -o /tmp/cchX2fEW.s GNU C++ version 3.3.1 (SuSE Linux) (i586-suse-linux) compiled by GNU C version 3.3.1 (SuSE Linux). GGC heuristics: --param ggc-min-expand=55 --param ggc-min-heapsize=48169 #include "..." search starts here: #include <...> search starts here: /usr/include/g++ /usr/include/g++/i586-suse-linux /usr/include/g++/backward /usr/local/include /usr/lib/gcc-lib/i586-suse-linux/3.3.1/include /usr/i586-suse-linux/include /usr/include End of search list. /usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../../i586-suse-linux/bin/as -V -Qy -o /tmp/ccYCSOwP.o /tmp/cchX2fEW.s GNU assembler version 2.14.90.0.5 (i586-suse-linux) using BFD version 2.14.90.0.5 20030722 (SuSE Linux) /usr/lib/gcc-lib/i586-suse-linux/3.3.1/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../crt1.o /usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../crti.o /usr/lib/gcc-lib/i586-suse-linux/3.3.1/crtbegin.o -L/usr/lib/gcc-lib/i586-suse-linux/3.3.1 -L/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../../i586-suse-linux/lib -L/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../.. /tmp/ccYCSOwP.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc-lib/i586-suse-linux/3.3.1/crtend.o /usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../crtn.o linux:/ # cd /srv/www/htdig-3.1.6 linux:/srv/www/htdig-3.1.6 # ./configure make depend configure: error: can only configure for one host and one target at a time linux:/srv/www/htdig-3.1.6 # ./configure --help Usage: configure [options] [host] Options: [defaults in brackets after descriptions] Configuration: --cache-file=FILE cache test results in FILE --help print this message --no-create do not create output files --quiet, --silent do not print `checking...' messages --version print the version of autoconf that created configure Directory and file names: --prefix=PREFIX install architecture-independent files in PREFIX [/opt/www/htdig] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [same as prefix] --bindir=DIR user executables in DIR [EPREFIX/bin] --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] --libexecdir=DIR program executables in DIR [EPREFIX/libexec] --datadir=DIR read-only architecture-independent data in DIR [PREFIX/share] --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data in DIR [PREFIX/com] --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] --libdir=DIR object code libraries in DIR [EPREFIX/lib] --includedir=DIR C header files in DIR [PREFIX/include] --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] --infodir=DIR info documentation in DIR [PREFIX/info] --mandir=DIR man documentation in DIR [PREFIX/man] --srcdir=DIR find the sources in DIR [configure dir or ..] --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names Host type: --build=BUILD configure for building on BUILD [BUILD=HOST] --host=HOST configure for HOST [guessed] --target=TARGET configure for TARGET [TARGET=HOST] Features and packages: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --x-includes=DIR X include files are in DIR --x-libraries=DIR X library files are in DIR --enable and --with options recognized: --disable-zlib do not compile with zlib support --with-config-dir=DIR where your config directory is [default=/opt/www/htdig/conf] --with-common-dir=DIR where your common directory is [default=/opt/www/htdig/common] --with-database-dir=DIR where your database directory is [default=/opt/www/htdig/db] --with-default-config-file=FILE Where the various programs will look for a configuration file [default=/opt/www/htdig/conf/htdig.conf] --with-cgi-bin-dir=DIR where your cgi-bin directory is [default=/opt/www/cgi-bin] --with-image-dir=DIR where the ht://Dig images are installed [default=/opt/www/htdocs/htdig] --with-search-dir=DIR where the sample search form should be installed [default=/opt/www/htdocs/htdig] --with-image-url-prefix=LOCATION the URL path to the installed images [default=/htdig] --with-search-form=FILE the name for the sample search form [default=search.html] --with-rx with system rx instead of regex [default=no] linux:/srv/www/htdig-3.1.6 # make make: *** No targets specified and no makefile found. Stop. linux:/srv/www/htdig-3.1.6 # ./configure make 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... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... missing 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... 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/bin/gunzip checking for tar... tar checking for acroread... /usr/X11R6/bin/acroread checking for sendmail... /usr/sbin/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... yes 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++. -- I'd be grateful for any suggestion... Z� Liestmann _____________________________________________________________________ INSYS Informations-Systeme GmbH Adamstr. 4 D-80636 M�nchen Tel.: 089-121540-0 089-121540-26 Fax: 089-1237126 EMail: [EMAIL PROTECTED] www: http://www.insys-multimedia.de ____________________________________________________________________ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op�k _______________________________________________ ht://Dig general mailing list: <[EMAIL PROTECTED]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general -- Incoming mail is certified Virus Free. Checked by AVG Anti-Virus (http://www.grisoft.com). Version: 7.0.245 / Virus Database: 262.10.2 - Release Date: 18/05/2004 -- Outgoing mail is certified Virus Free. Checked by AVG Anti-Virus (http://www.grisoft.com). Version: 7.0.245 / Virus Database: 262.10.2 - Release Date: 18/05/2004 ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ ht://Dig general mailing list: <[EMAIL PROTECTED]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general

