cong-primary-window.c:382: `gettext' undeclared

[email protected] (Geert Stappers)
Newsgroups gmane.editors.conglomerate.general
Message-ID <[email protected]>
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.


 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.