Re: [greenstone-devel] Trouble with compillation

From Michael Dewsnip
DateTue, 11 Jul 2006 15:48:08 +1200
Subject Re: [greenstone-devel] Trouble with compillation
In-Reply-To (44B12845-4070304-wojteks-net)
Hi Wojciech,

What version of gcc (run g++ -v) are you using? We don't get this error
here.

Probably the easiest way to fix this is to edit the
"/usr/src/gsdl-2.70w-src/gsdl/packages/pdftohtml/pdftohtml_gs/src/HtmlLinks.h"
file and remove the "HtmlLink::" from line 22, ie. change it to

GBool isEqualDest(const HtmlLink& x) const;

Regards,

Michael

Wojciech Ściesiński wrote:

>I try compille Greenstone v2.70w on SuSE Linux 10.1 but I have error
>
>make[3]: Leaving directory
>`/usr/src/gsdl-2.70w-src/gsdl/packages/pdftohtml/pdftohtml_gs/xpdf'
>make -C src
>make[3]: Entering directory
>`/usr/src/gsdl-2.70w-src/gsdl/packages/pdftohtml/pdftohtml_gs/src'
>g++ -g -O2 -DHAVE_DIRENT_H=1 -I.. -DHAVE_REWINDDIR=1 -DHAVE_POPEN=1
>-I../goo -I. -I../xpdf -c HtmlOutputDev.cc
>HtmlLinks.h:22: error: extra qualification 'HtmlLink::' on member
>'isEqualDest'
>make[3]: *** [HtmlOutputDev.o] Error 1
>make[3]: Leaving directory
>`/usr/src/gsdl-2.70w-src/gsdl/packages/pdftohtml/pdftohtml_gs/src'
>make[2]: *** [all] Error 2
>make[2]: Leaving directory
>`/usr/src/gsdl-2.70w-src/gsdl/packages/pdftohtml/pdftohtml_gs'
>make[1]: *** [all] Error 1
>make[1]: Leaving directory `/usr/src/gsdl-2.70w-src/gsdl/packages'
>make: *** [all] Error 1
>notebook:/usr/src/gsdl-2.70w-src/gsdl #
>
>I don't know how I can resolve this :-(
>
>Best regards from Poland
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>greenstone-devel mailing list
>greenstone-devel@list.scms.waikato.ac.nz
>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel
>
>