-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
trying to compile stardict-2.2.1, I run into this, being such a sucker when it
comes to C++ I can't see whether the error lies in /usr/include/libintl.h or
not, anyways, current stardict in cooker is broken, and someone should fix
this (if I'm not able to) and upgrade to latest
source='lib.cpp' object='lib.o' libtool=no \
depfile='.deps/lib.Po' tmpdepfile='.deps/lib.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -DORBIT2=1 -pthread
- -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0
- -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0
- -I/usr/include/libart-2.0 -I/usr/include/gconf/2
- -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0
- -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
- -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0
- -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
- -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include
- -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2
- -DDATADIR=\""/usr/share"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\"
- -DSTARDICT_LOCALEDIR=\""/usr/share/locale"\"
- -DSTARDICT_DATA_DIR=\""/usr/share/stardict"\" -DG_DISABLE_DEPRECATED
- -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
- -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED
- -I/usr/X11R6/include -O2 -fomit-frame-pointer -pipe -march=i586
- -mcpu=pentiumpro -c -o lib.o `test -f 'lib.cpp' || echo './'`lib.cpp
In file included from
/usr/include/c++/3.3.1/i586-mandrake-linux-gnu/bits/c++locale.h:44,
from /usr/include/c++/3.3.1/iosfwd:46,
from /usr/include/c++/3.3.1/bits/stl_algobase.h:70,
from /usr/include/c++/3.3.1/memory:54,
from /usr/include/c++/3.3.1/string:48,
from floatwin.h:5,
from stardict.h:16,
from lib.cpp:2:
/usr/include/libintl.h:40: error: syntax error before `__const'
/usr/include/libintl.h:44: error: syntax error before `__const'
/usr/include/libintl.h:52: error: syntax error before `__const'
/usr/include/libintl.h:81: error: syntax error before `__const'
/usr/include/libintl.h:86: error: syntax error before `__const'
/usr/include/libintl.h:91: error: syntax error before `__const'
make[3]: *** [lib.o] Error 1
make[3]: Leaving directory `/home/peroyvind/rpm/BUILD/stardict-2.2.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/peroyvind/rpm/BUILD/stardict-2.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/peroyvind/rpm/BUILD/stardict-2.2.1'
make: *** [all] Error 2
- --
Regards,
Per Øyvind Karlsen
Sintrax Solutions
http://www.sintrax.net - +47 41681061
- --------------------------------------------
GPG Key: http://sintrax.net/~hawkeye/key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/LZawv8F7V9JOSuURApccAJ0SDc9fC3JfUZjhXE7Ls1OwVRRlpACdEaew
cAHetP+qMBd0UwlHqx1Nifw=
=fzU4
-----END PGP SIGNATURE-----