Hi - To work around this problem I think you will need to remove  
'Collection::' from lines 39 and 41 of htsearch/Collection.h. It  
would appear that the compiler you are using is introducing this  
problem. To the best of my knowledge this ht://Dig compile error has  
never been reported before. This problem hasn't affected the many  
builds I have performed with 3.x and 4.0.x GCC compilers.

I believe the existing code is at best redundant and should be  
cleaned up, but I am not sure that it should result in a compiler  
error. My current understanding of the spec, which may well be wrong,  
indicates that the code is syntactically correct.

Jim


On Jan 4, 2007, at 9:18 AM, Dominique Arpin wrote:

> Hi,
>
> I have this error:
>
> make[1]: Leaving directory `/usr/local/src/htdig-3.2.0b6/htdig'
> Making all in htsearch
> make[1]: Entering directory `/usr/local/src/htdig-3.2.0b6/htsearch'
> g++ -DHAVE_CONFIG_H -I. -I. -I../include
> -DDEFAULT_CONFIG_FILE=\"/home/httpd/htdig_3.2/conf/htdig.conf\"
> -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db
> -I../db -DCONFIG_DIR=\"/home/httpd/htdig_3.2/conf\" -I../ 
> htfuzzy     -g
> -O2 -Wall -fno-rtti -fno-exceptions -c -o Display.o `test -f  
> 'Display.cc'
> || echo './'`Display.cc
> Collection.h:39: error: extra qualification 'Collection::' on  
> member 'Open'
> Collection.h:41: error: extra qualification 'Collection::' on  
> member 'Close'
> make[1]: *** [Display.o] Error 1
> make[1]: Leaving directory `/usr/local/src/htdig-3.2.0b6/htsearch'
> make: *** [all-recursive] Error 1
>
>
> System: Debian Etch (4.0)
> System: i386 (pentium D)
>
> gcc -v
> Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v
> --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
> --enable-shared --with-system-zlib --libexecdir=/usr/lib
> --without-included-gettext --enable-threads=posix --enable-nls
> --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
> --enable-libstdcxx-debug --enable-mpfr --with-tune=i686
> --enable-checking=release i486-linux-gnu
> Thread model: posix
> gcc version 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)
>
> thanks
>
> -- 
> Dominique Arpin, administrateur réseau
> A+,Linux+,Server+,MCP
> Espace Courbe inc.  http://www.espacecourbe.com/
> 642 de Courcelle, bureau 303, Montréal (Québec), Canada H4C 3C5
> tél.: (514) 933-9861 téléc.: (514) 933-9546
>
>
> ---------------------------------------------------------------------- 
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php? 
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> ht://Dig Developer mailing list:
> htdig-dev@lists.sourceforge.net
> List information (subscribe/unsubscribe, etc.)
> https://lists.sourceforge.net/lists/listinfo/htdig-dev


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
ht://Dig Developer mailing list:
htdig-dev@lists.sourceforge.net
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to