[sword-devel] gnomesword compile error

Andy Piper andy.piper at freeuk.com
Sun Jun 6 01:29:30 MST 2004


Benedykt P. Barszcz said:
> perhaps anybody could help:

Terry is away at the moment and I guess he would be the best
person... hopefully somebody else here can come up with an
answer.

> 1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> -I/usr/X11R6/include
> -I/usr/include/gnome-1.0 -I/usr/include/freetype2
> -I/usr/lib/gnome-libs/include -I/usr/include/gnome-xml
> -I/usr/include/gal-1.0 -I/usr/include/libglade-1.0
> -I/usr/include/gconf/1 -I/usr/include/orbit-1.0
> -I/usr/include/gnome-1.0/  -I/usr/include/gtk-1.2
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> -I/usr/X11R6/include
> -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
> -I/usr/lib/glib/include
> -I/usr/X11R6/include '-I/usr/include/sword' -g -MT sw_sword.o
> -MD -MP
> -MF ".deps/sw_sword.Tpo" -c -o sw_sword.o sw_sword.cpp; \
> then mv -f ".deps/sw_sword.Tpo" ".deps/sw_sword.Po"; else rm -f
> ".deps/sw_sword.Tpo"; exit 1; fi
> /usr/include/sword/localemgr.h: In function `void
> initSWORD(SETTINGS*)':
> /usr/include/sword/localemgr.h:57: error: `
>     sword::LocaleMgr*sword::LocaleMgr::systemLocaleMgr' is
> protected
> sw_sword.cpp:282: error: within this context
> make[2]: *** [sw_sword.o] B?a;d 1
> make[2]: Leaving directory `/home/kb2qzv/gnomesword/src'
> make[1]: *** [all-recursive] B?a;d 1
> make[1]: Leaving directory `/home/kb2qzv/gnomesword'
> make: *** [all] B?a;d 2
>
> This is a CVS copy of both gnomesword and sword.

My first concern is that you appear to be trying to compile a
GNOME 1.x version of GnomeSword. We have long since moved to
GNOME 2 and I am simply not sure whether you will be able to
compile and run a GNOME 1.x version any more. I'm fairly sure
it won't work.

However, this looks like an issue with SWORD itself.

What distribution or platform are you running on?
Could this be a gcc issue?


-- 
Andy Piper - Farnborough, Hampshire (UK)
http://jumpgate.homelinux.net/


More information about the sword-devel mailing list