From: Jason B. N. <ai...@ma...> - 2003-06-30 06:51:02
|
Hello, I'm trying to compile htdig-3.1.6 on a RedHat 9 box and when I run: ./configure --prefix=/usr/local \ --sysconfdir=/etc \ --localstatedir=/var \ --with-config-dir=/etc \ --with-common-dir=/var/common \ --with-database-dir=/var/db \ --with-default-config-file=/etc/htdig.conf \ --with-cgi-bin-dir=/path/to/cgi-bin \ --with-image-dir=/path/to/images/htdig \ --with-search-dir=/path/to/html \ --with-image-url-prefix=/images/htdig \ --with-search-form=search.html \ It fails with: <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++. Now, I know that I have those include files here: $ locate ostream.h iostream.h fstream.h /usr/include/g++-3/iostream.h /usr/include/g++-3/ostream.h /usr/include/g++-3/stdiostream.h /usr/include/c++/3.2.2/backward/iostream.h /usr/include/c++/3.2.2/backward/ostream.h /usr/include/g++-3/iostream.h /usr/include/g++-3/stdiostream.h /usr/include/c++/3.2.2/backward/iostream.h /usr/include/g++-3/fstream.h /usr/include/g++-3/pfstream.h /usr/include/c++/3.2.2/backward/fstream.h And I have libstdc++ installed... $ rpm -qa | grep libstdc++ libstdc++-3.2.2-5 libstdc++-devel-3.2.2-5 compat-libstdc++-7.3-2.96.118 compat-libstdc++-devel-7.3-2.96.118 I ran ldconfig to make sure that stuff was up to date and still get this error. Ideas are appreciated. Thanks. j |
From: Lachlan A. <lh...@us...> - 2003-06-30 13:10:02
|
Try CPPFLAGS=3D"-Wno-deprecated" configure Cheers, Lachlan On Mon, 30 Jun 2003 16:50, Jason Bradley Nance wrote: > I'm trying to compile htdig-3.1.6 on a RedHat 9 box --=20 lh...@us... ht://Dig developer DownUnder (http://www.htdig.org) |
From: Jason B. N. <ai...@ma...> - 2003-06-30 16:43:36
|
This worked perfectly. Thank you very much. j On Mon, 2003-06-30 at 08:08, Lachlan Andrew wrote: > Try > CPPFLAGS="-Wno-deprecated" configure > > Cheers, > Lachlan > > On Mon, 30 Jun 2003 16:50, Jason Bradley Nance wrote: > > I'm trying to compile htdig-3.1.6 on a RedHat 9 box |