Andrew Scherpbier (Andrew@contigo.com)
Sat, 19 Sep 1998 13:05:39 -0700
> On HPUX 10.20 I got make 3.77, binutils 2.9.1, gcc 2.8.1, libstdc++ 2.8.1,
> and libg++ 126.96.36.199a. /usr/local/lib is:
> -rw-r--r-- 1 lws user 2503532 Sep 18 17:08 libg++.a
> -rw-r--r-- 1 lws user 242750 Sep 18 17:07 libiberty.a
> -rw-r--r-- 1 lws user 2239926 Sep 18 17:08 libstdc++.a
> c++, g++, gcc are in /opt/gcc/bin (in my path) and configure still gives me:
> loading cache ./config.cache
> configuring HTDig version 3.1.0b
> 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 how to run the C++ preprocessor... c++ -E
> checking for fstream.h... no
> To compile ht://Dig you will need to have a C++ library installed.
> If you are using gcc, you need to get and install libg++.
> Anyone know what I'm doing wrong?
> Larry Sturtz
Actually, I had the same problem when I wanted to compile 3.1.0b1 on a
Debian box. I could not figure out why it wasn't finding fstream.h even
though it was on the system. (locate was able to find it.) The problem
ended up being some sort of conflict between the different versions of
g++, libg++, libstdc++, and egcs.
I solved it by removing all packages that had '++' in their title and
reinstalling g++ and libg++2.91-dev. After I did that, I was able to
configure ht://Dig without problems.
The only information I gleamed from this excercise was that the
fstream.h file moved from /usr/include/g++/fstream.h to
Since I am running the 'slink' version of Debian, I wasn't too concerned
about all of this. Your message caught my eye because we had the exact
-- Andrew Scherpbier <firstname.lastname@example.org> Contigo Software <http://www.contigo.com/> ---------------------------------------------------------------------- To unsubscribe from the htdig mailing list, send a message to email@example.com containing the single word "unsubscribe" in the body of the message.
This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:27:49 PST