GNOME Bugzilla – Bug 447905
glom fails to build
Last modified: 2007-08-20 08:28:10 UTC
g++ -g -Wall -O2 -Wno-long-long -o .libs/test_sharedptr_layoutitem test_sharedptr_layoutitem.o -pthread -Wl,--export-dynamic --no-undefined ./.libs/libglom.so -lbakery-2.4 -lgconfmm-2.6 /usr/lib/libglademm-2.4.so /usr/lib/libglade-2.0.so -lgnomevfsmm-2.6 /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so /usr/lib/libxslt.so /usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so /usr/lib/libgthread-2.0.so -lrt -lgdamm-3.0 -lgtksourceviewmm-1.0 -lgtksourceview-1.0 /usr/lib/libgtkmm-2.4.so -lgnomeprint-2-2 -lz /usr/lib/libart_lgpl_2.so /usr/lib/libgdkmm-2.4.so /usr/lib/libatkmm-1.6.so /usr/lib/libpangomm-1.4.so /usr/lib/libcairomm-1.0.so /usr/lib/libxml++-2.6.so /usr/lib/libglibmm-2.4.so /usr/lib/libsigc-2.0.so /usr/lib/libgda-report-3.0.so /usr/lib/libgda-3.0.so /usr/lib/libgdasql-3.0.so /usr/lib/libxml2.so /usr/lib/libavahi-glib.so -lgoocanvas /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage /usr/lib/libpango-1.0.so /usr/lib/libcairo.so -lX11 -lXfixes /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lutil ./.libs/libglom.so: undefined reference to `std::numpunct<char>::_M_initialize_numpunct(__locale_struct*)' collect2: ld returned 1 exit status make[5]: *** [test_sharedptr_layoutitem] Fehler 1 make[5]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.2/glom/libglom' make[4]: *** [all-recursive] Fehler 1 make[4]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.2/glom/libglom' make[3]: *** [all-recursive] Fehler 1 make[3]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.2/glom' make[2]: *** [all-recursive] Fehler 1 make[2]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.2' make[1]: *** [all] Fehler 2 make[1]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.2' make: *** [debian/stamp-makefile-build] Fehler 2 debuild: fatal error at line 1239: debian/rules build failed
Can you build glom 1.5.1? This is Ubuntu Gutsy, I assume.
Yes, it's gutsy. 1.5.1 fails too, but differently: g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../ -DPNG_NO_MMX_CODE -DORBIT2=1 -pthread -D_REENTRANT -I/usr/include/bakery-2.4 -I/usr/lib/bakery-2.4/include -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/gconfmm-2.6 -I/usr/lib/gconfmm-2.6/include -I/usr/include/libglademm-2.4 -I/usr/lib/libglademm-2.4/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/gnome-vfsmm-2.6 -I/usr/lib/gnome-vfsmm-2.6/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/pygda-3.0 -I/usr/include/pygtk-2.0 -I/usr/include/libgda-3.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgdamm-3.0 -I/usr/lib/libgdamm-3.0/include -I/usr/include/gtksourceviewmm-1.0 -I/usr/lib/gtksourceviewmm-1.0/include -I/usr/include/gtksourceview-1.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0 -I/usr/include/goocanvas-1.0 -I/usr/include/python2.5 -g -Wall -O2 -Wno-long-long -c py_glom_record.cc -fPIC -DPIC -o .libs/py_glom_record.o /usr/include/gtk-2.0/gtk/gtkbuilder.h:63: error: expected ',' or '...' before 'typename' /usr/include/gtk-2.0/gtk/gtkbuilder.h:106: error: expected ',' or '...' before 'typename' make[6]: *** [py_glom_record.lo] Fehler 1 make[6]: Verlasse Verzeichnis '/home/daniel/update/glom-1.5.1/glom/libglom/python_embed' make[5]: *** [all-recursive] Fehler 1 make[5]: Verlasse Verzeichnis '/home/daniel/update/glom-1.5.1/glom/libglom/python_embed' make[4]: *** [all-recursive] Fehler 1 make[4]: Verlasse Verzeichnis '/home/daniel/update/glom-1.5.1/glom/libglom' make[3]: *** [all-recursive] Fehler 1 make[3]: Verlasse Verzeichnis '/home/daniel/update/glom-1.5.1/glom' make[2]: *** [all-recursive] Fehler 1 make[2]: Verlasse Verzeichnis '/home/daniel/update/glom-1.5.1' make[1]: *** [all] Fehler 2 make[1]: Verlasse Verzeichnis '/home/daniel/update/glom-1.5.1' make: *** [debian/stamp-makefile-build] Fehler 2 debuild: fatal error at line 1239: debian/rules build failed
I suspect that you'll have that gtkbuilder error with any version of Glom now. I guess that GTK+ was updated before your first test.
Hum, gtkmm 2.11.3 fails to build now with the same error as in comment 2.
> /usr/include/gtk-2.0/gtk/gtkbuilder.h:63: error: expected ',' or '...' before > 'typename' I don't have that error when building from svn in jhbuild. For me, line 63 is the second line of this: GType (* get_type_from_name) (GtkBuilder *builder, const char *type_name); What is that line for you? Oddly, I dont see any changes to this file in svn.
Actually, this has been fixed in svn: http://svn.gnome.org/viewcvs/gtk%2B/trunk/gtk/gtkbuilder.h?r1=18141&r2=18157
*** This bug has been marked as a duplicate of 448193 ***
I reopen the bug, as comment 1 is still valid. I'll re-test building glom 1.5.1 and 1.5.2 (and gtkmm 2.11.3) with the fixed gtk.
Please disregard everything from comment 2 on. 1.5.2: g++ -g -Wall -O2 -Wno-long-long -o .libs/test_sharedptr_layoutitem test_sharedptr_layoutitem.o -pthread -Wl,--export-dynamic --no-undefined ./.libs/libglom.so -lbakery-2.4 -lgconfmm-2.6 /usr/lib/libglademm-2.4.so /usr/lib/libglade-2.0.so -lgnomevfsmm-2.6 /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so /usr/lib/libxslt.so /usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so /usr/lib/libgthread-2.0.so -lrt -lgdamm-3.0 -lgtksourceviewmm-1.0 -lgtksourceview-1.0 /usr/lib/libgtkmm-2.4.so -lgnomeprint-2-2 -lz /usr/lib/libart_lgpl_2.so /usr/lib/libgdkmm-2.4.so /usr/lib/libatkmm-1.6.so /usr/lib/libpangomm-1.4.so /usr/lib/libcairomm-1.0.so /usr/lib/libxml++-2.6.so /usr/lib/libglibmm-2.4.so /usr/lib/libsigc-2.0.so /usr/lib/libgda-report-3.0.so /usr/lib/libgda-3.0.so /usr/lib/libgdasql-3.0.so /usr/lib/libxml2.so /usr/lib/libavahi-glib.so -lgoocanvas /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage /usr/lib/libpango-1.0.so /usr/lib/libcairo.so -lX11 -lXfixes /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lutil ./.libs/libglom.so: undefined reference to `std::numpunct<char>::_M_initialize_numpunct(__locale_struct*)' collect2: ld returned 1 exit status make[5]: *** [test_sharedptr_layoutitem] Fehler 1 make[5]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.2/glom/libglom' make[4]: *** [all-recursive] Fehler 1 make[4]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.2/glom/libglom' make[3]: *** [all-recursive] Fehler 1 make[3]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.2/glom' make[2]: *** [all-recursive] Fehler 1 make[2]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.2' make[1]: *** [all] Fehler 2 make[1]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.2' make: *** [debian/stamp-makefile-build] Fehler 2 debuild: fatal error at line 1239: debian/rules build failed 1.5.1: g++ -g -Wall -O2 -Wno-long-long -o .libs/test_sharedptr_layoutitem test_sharedptr_layoutitem.o -pthread -Wl,--export-dynamic --no-undefined ./.libs/libglom.so -lbakery-2.4 -lgconfmm-2.6 /usr/lib/libglademm-2.4.so /usr/lib/libxml++-2.6.so /usr/lib/libglade-2.0.so -lgnomevfsmm-2.6 /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so /usr/lib/libxslt.so /usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so /usr/lib/libgthread-2.0.so -lrt -lgdamm-3.0 -lgtksourceviewmm-1.0 -lgtksourceview-1.0 /usr/lib/libgtkmm-2.4.so -lgnomeprint-2-2 -lz /usr/lib/libart_lgpl_2.so /usr/lib/libgdkmm-2.4.so /usr/lib/libatkmm-1.6.so /usr/lib/libpangomm-1.4.so /usr/lib/libcairomm-1.0.so /usr/lib/libglibmm-2.4.so /usr/lib/libsigc-2.0.so /usr/lib/libgda-report-3.0.so /usr/lib/libgda-3.0.so /usr/lib/libgdasql-3.0.so /usr/lib/libxml2.so /usr/lib/libavahi-glib.so -lgoocanvas /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage /usr/lib/libpango-1.0.so /usr/lib/libcairo.so -lX11 -lXfixes /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lutil ./.libs/libglom.so: undefined reference to `std::numpunct<char>::_M_initialize_numpunct(__locale_struct*)' collect2: ld returned 1 exit status make[5]: *** [test_sharedptr_layoutitem] Fehler 1 make[5]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.1/glom/libglom' make[4]: *** [all-recursive] Fehler 1 make[4]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.1/glom/libglom' make[3]: *** [all-recursive] Fehler 1 make[3]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.1/glom' make[2]: *** [all-recursive] Fehler 1 make[2]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.1' make[1]: *** [all] Fehler 2 make[1]: Verlasse Verzeichnis '/home/daniel/update/test/glom-1.5.1' make: *** [debian/stamp-makefile-build] Fehler 2 debuild: fatal error at line 1239: debian/rules build failed
I just tried building glom 1.5.2 from the tarball in Ubuntu Gutsy in VMWare. I can't reproduce this problem now. I guess it was a temporary problem with g++. Could you try again, please?
I really hope that you have a chance to try this again.
It works for me now too - I have no idea, what happened in between, but it's ok now.