Re: cong-primary-window.c:382: `gettext' undeclared
"Edgard Pineda Leone." <[email protected]>
| Newsgroups | gmane.editors.conglomerate.general |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 28 Jun 2003, Geert Stappers wrote: > On Fri, Jun 27, 2003 at 07:50:49PM -0400, Edgard Pineda Leone. wrote: > > [ solved > > cong-menus.c: In function `cong_document_properties_dialog_new': > cong-menus.c:331: parse error before `struct' > > problem ] > > > > > ... but it appeared another compile problem: > > Okay, new problem, new thread. > > > ... > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -DORBIT2=1 -pthread > > -I/usr/include/libxml2 -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/linc-1.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/Xft2 -I/usr/X11R6/include -I/usr/include/libglade-2.0 > > -DLOCALEDIR=\""/usr/local/share/locale"\" -DDATADIR=\""/usr/local/share"\" > > -g -O2 -c cong-primary-window.c > > cong-primary-window.c: In function `cong_primary_window_make_gui': > > cong-primary-window.c:382: `gettext' undeclared (first use in this > > function) > > cong-primary-window.c:382: (Each undeclared identifier is reported only > > once > > cong-primary-window.c:382: for each function it appears in.) > > make[2]: *** [cong-primary-window.o] Error 1 > > make[2]: Saliendo directorio `/tmp/conglomerate-0.5.4/src' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Saliendo directorio `/tmp/conglomerate-0.5.4' > > make: *** [all-recursive-am] Error 2 > > > > :( > > > > is missing some .h include? > > or is a problem in configure script? > > I assume a problem in the configure script. ( it doesn't check for gettext ) > > For the time being this workaround. > > First step: > > Install 'gettext' package and `make` again. I install gettext, then ran configure again and finally make. cong-primary-window.c compiled, but just at final link of all .o files: gcc -g -O2 -o conglomerate cong-debug-log-view.o cong-dialog.o cong-dispspec.o cong-dispspec-registry.o cong-document.o cong-dom-view.o cong-dummy-element-editor.o cong-editor-widget.o cong-eel.o cong-element-editor.o cong-error-dialog.o cong-error-file-open.o cong-error-file-save.o cong-error-tests.o cong-file-new.o cong-file-open.o cong-file-save.o cong-file-export.o cong-file-import.o cong-file-print.o cong-font.o cong-graph.o cong-location.o cong-menus.o cong-node-properties-dialog.o cong-parser-error.o cong-plugin.o cong-primary-window.o cong-progress-checklist.o cong-section-head-editor.o cong-source-view.o cong-span-text-editor.o cong-tree-view.o cong-view.o icon_assemble.o icon_connect.o icon_new.o icon_openfile.o icon_submit.o ilogo.o auth_on.o auth_off.o position.o cursor.o select.o popup.o tree.o tchoice.o file.o xmldata.o xmledit.o xmlload.o xmlview.o plugin-convert-case.o plugin-docbook.o plugin-empty.o plugin-lists.o plugin-sgml.o plugin-tests.o plugin-validate.o plugin-website.o plugin-xsl.o main.o -pthread -Wl,--export-dynamic -L/usr/X11R6/lib /usr/lib/libxslt.so -L/usr/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2 -lgnome-2 -lart_lgpl_2 -lpangoft2-1.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -llinc -lgthread-2.0 -lglade-2.0 -lgtk-x11-2.0 /usr/lib/libxml2.so -lpthread -lgdk-x11-2.0 -lXi -lXinerama -lXext -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lXft2 /usr/lib/libfreetype.so -lz -lXrender -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 /usr/bin/ld: cannot find -lXft2 collect2: ld returned 1 exit status make[2]: *** [conglomerate] Error 1 make[2]: Saliendo directorio `/tmp/conglomerate-0.5.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Saliendo directorio `/tmp/conglomerate-0.5.4' make: *** [all-recursive-am] Error 2 another problem in the configure script? right? > > > Second step > > Remove 'gettext' and install 'libglib2.0-dev' and `make` again. > > > Third step: > > Install both 'gettext' and 'libglib2.0-dev' and `make` again. > > > > > > Thanks in advance again. > Report your results. > > > Edgard. > > > > (and what about the warnings?) > At this moment they don't have any priority. > > > > Geert Stappers >