According to Theo Bender:
> Thanks for your answer, but it still does not work. The command line 
> from faq3.8 changed only the c++-entrys, but not the libstdc++-entry:
> 
> I get this message while compiling:
> loading cache ./config.cache
> checking for a BSD compatible install... ./install-sh -c
...
> checking for fstream.h... no
> configure: error: To compile ht://Dig, you will need a C++ library. Try 
> installing libstdc++.
> 
> 
> Any ideas? Thanks in advance.

The way I read the configure script, it seems the error about libstdc++
is a direct result of it not finding fstream.h, so you need to make
sure configure finds all your C++ headers.  First of all, make sure
they're installed, and if they are there, but not in a "standard" location
(e.g. /usr/include/g++-3) then you need to tell configure where to look
for them.  This is done by setting the CPPFLAGS environment variable to
something like "-I/usr/local/include/g++" or whatever is the right path.

> >i have a question to htdig-faq 3.6: Problems during compilation with 
> >libstdc++. The library is on the machine (/usr/local/lib), but configure 
> >does not find (PATH is set).
> >
> >Can you give me an example for the right syntax of using LD_RUN_PATH?

Csh or Tcsh:
setenv LD_RUN_PATH /lib:/usr/lib:/usr/local/lib

Sh, Bash, Ksh, Ash:
LD_RUN_PATH=/lib:/usr/lib:/usr/local/lib
export LD_RUN_PATH

> >Or is it a problem of different versions? I used the 
> >libgcc-3.2-sol9-sparc-local.gz 
> ><ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/libgcc-3.2-sol9-sparc-local.
> >gz> 
> >from sunfreeware.com, which includes libstdc++ .

As long as the library version agrees with the version for the
corresponding C++ header files, and you have all these installed
correctly, the actual version shouldn't matter that much.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to