I encoutered the following issues
Running :
Slackware 7
P233
128 Mb
gcc : Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
Last good compiling and working HTDIG version ht://Dig 3.2.0b4-123001
Latest version : htdig-3.2.0b4-20020217
Making all in htlib
make[1]: Entering directory `/sec/downloads/htdig-3.2.0b4-20020217/htlib'
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../include
-DDEFAULT_CONFIG_FILE=\"/var/lib/apache/conf/htdig.conf\" -I../include -I../htlib
-I../htnet -I../htcommon -I../htword -I../db -I../db
-I/usr/local/include -g -O2 -Wall -fno-rtti -fno-exceptions -c Configuration.cc
rm -f .libs/Configuration.lo
c++ -DHAVE_CONFIG_H -I. -I. -I../include
-DDEFAULT_CONFIG_FILE=\"/var/lib/apache/conf/htdig.conf\" -I../include -I../htlib -I../htnet
-I../htcommon -I../htword -I../db -I../db -I/usr/local/include -g -O2 -Wall -fno-rtti -fno-exceptions
-c Configuration.cc -fPIC -DPIC -o .libs/Configuration.lo
In file included from htString.h:22,
from Dictionary.h:22,
from Configuration.h:107,
from Configuration.cc:24:
/usr/include/g++-2/iostream.h:35: syntax error before `&'
/usr/include/g++-2/iostream.h:45: parse error before `{'
/usr/include/g++-2/iostream.h:50: parse error before `*'
/usr/include/g++-2/iostream.h: In function `int opfx()':
/usr/include/g++-2/iostream.h:52: warning: implicit declaration of function `int good(...)'
/usr/include/g++-2/iostream.h:53: `_tie' undeclared (first use this function)
/usr/include/g++-2/iostream.h:53: (Each undeclared identifier is reported only once
/usr/include/g++-2/iostream.h:53: for each function it appears in.)
/usr/include/g++-2/iostream.h:53: confused by earlier errors, bailing out
make[1]: *** [Configuration.lo] Error 1
make[1]: Leaving directory `/sec/downloads/htdig-3.2.0b4-20020217/htlib'
make: *** [all-recursive] Error 1
[root@www:/downloads/htdig-3.2.0b4-20020217 (1.040 Mb)]$
What can this be ?
Regards J.P..
Logged In: YES
user_id=21420
I can't imagine this is a bug in ht://Dig itself--the errors are in your libstdc++ headers, not in the ht://Dig code itself. Furthermore, there's been absolutely nothing that's changed in the Configuration, htString or Dictionary code between these snapshots.
Have you changed anything about your system between when you've tried compiling these snapshots? Have you tried a more recent compiler like gcc-2.95.x or gcc-3.0.x?
If you are still having recurring problems compiling the snapshots, please bring these up on the htdig-dev mailing list or open a new bug report.
-Geoff