On Mon, 2006-07-17 at 09:00 -0400, Jesse Keating wrote: > stardict Hi, I'm trying to build stardict in brew, but it fails with following errors... -------------------------------------------- if 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/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -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/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/include/cairo -I/usr/include/libxml2 -DDATADIR=\""/usr/share"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\" -DSTARDICT_LOCALEDIR=\""/usr//locale"\" -DSTARDICT_DATA_DIR= \""/usr/share/stardict"\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -MT stardict-application-server.o -MD -MP -MF ".deps/stardict-application-server.Tpo" -c -o stardict-application-server.o stardict-application-server.cpp; \ then mv -f ".deps/stardict-application-server.Tpo" ".deps/stardict-application-server.Po"; else rm -f ".deps/stardict-application-server.Tpo"; exit 1; fi /usr/include/libintl.h:40: error: expected unqualified-id before 'const' /usr/include/libintl.h:40: error: expected `)' before 'const' /usr/include/libintl.h:40: error: expected initializer before 'const' /usr/include/libintl.h:45: error: expected unqualified-id before 'const' /usr/include/libintl.h:45: error: expected `)' before 'const' /usr/include/libintl.h:45: error: expected initializer before 'const' /usr/include/libintl.h:52: error: expected unqualified-id before 'const' /usr/include/libintl.h:52: error: expected `)' before 'const' /usr/include/libintl.h:52: error: expected initializer before 'const' /usr/include/libintl.h:83: error: expected unqualified-id before 'const' /usr/include/libintl.h:83: error: expected `)' before 'const' /usr/include/libintl.h:83: error: expected initializer before 'const' /usr/include/libintl.h:87: error: expected unqualified-id before 'const' /usr/include/libintl.h:87: error: expected `)' before 'const' /usr/include/libintl.h:87: error: expected initializer before 'const' /usr/include/libintl.h:92: error: expected unqualified-id before 'const' /usr/include/libintl.h:92: error: expected `)' before 'const' /usr/include/libintl.h:92: error: expected initializer before 'const' make[3]: *** [stardict-application-server.o] Error 1 make[3]: Leaving directory `/builddir/build/BUILD/stardict-2.4.5/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/builddir/build/BUILD/stardict-2.4.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/stardict-2.4.5' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.64670 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.64670 (%build) -------------------------------------------- Can anyone suggest how to correct this? Thanks, Mayank