Re: htdig 3.2b6 compiling problem

Jim Cole <[email protected]> Fri, 5 Jan 2007 19:12:18 -0700
Newsgroups gmane.comp.web.htdig.devel
Message-ID <[email protected]>
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=3D\"/home/httpd/htdig_3.2/conf/htdig.conf\"
> -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db
> -I../db -DCONFIG_DIR=3D\"/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=3Dc,c++,fortran,objc,obj-c++,treelang --prefix=3D/usr
> --enable-shared --with-system-zlib --libexecdir=3D/usr/lib
> --without-included-gettext --enable-threads=3Dposix --enable-nls
> --program-suffix=3D-4.1 --enable-__cxa_atexit --enable-clocale=3Dgnu
> --enable-libstdcxx-debug --enable-mpfr --with-tune=3Di686
> --enable-checking=3Drelease i486-linux-gnu
> Thread model: posix
> gcc version 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)
>
> thanks
>
> -- =

> Dominique Arpin, administrateur r=E9seau
> A+,Linux+,Server+,MCP
> Espace Courbe inc.  http://www.espacecourbe.com/
> 642 de Courcelle, bureau 303, Montr=E9al (Qu=E9bec), Canada H4C 3C5
> t=E9l.: (514) 933-9861 t=E9l=E9c.: (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=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV
> _______________________________________________
> ht://Dig Developer mailing list:
> [email protected]
> 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=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
ht://Dig Developer mailing list:
[email protected]
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-dev