LC_ALL is defined in the include file <locale.h>
The source file where the compile fails is probably failing to include this
header file. (Configure script problem?)

Leendert

On Mon, 15 Sep 2003 20:55:14 -0500
John Ziniti <[EMAIL PROTECTED]> wrote:

> I've recently upgraded to the ~x86 version of gnome-2.4, and
> most things compiled fine.  I had to "--inject" a few packages
> to get through the emerge (gedit, and zenity).  Compiling broke
> with the following message about LC_ALL.  Line 354 is:
> 
>      setlocale(LC_ALL, "");
> 
> I don't have LC_ALL set in the shell I am using but I have
> tried exporting LC_ALL="C", with the same result.
> 
> Any ideas?
> 
> Thanks in advance, error follows,
> 
> John Ziniti
>
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -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 -I/usr/include/libglade-2.0 -I/usr/include/eel-2
> -I/usr/include/gail-1.0 -I/usr/include/gtksourceview-1.0
> -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2
> -DDATADIR=\""/usr/share"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\"
> -DGEDIT_LOCALEDIR=\""/usr/share/locale"\"
> -DGEDIT_UI_DIR=\""/usr/share/gedit-2/ui/"\"
> -DGEDIT_PLUGINDIR=\""/usr/lib/gedit-2/plugins"\"
> -DGEDIT_GLADEDIR=\""/usr/share/gedit-2/glade/"\" -DG_DISABLE_DEPRECATED
> -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
> -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED
> -march=i686 -c `test -f 'gedit-mdi.c' || echo './'`gedit-mdi.c
> gedit2.c: In function `main':
> gedit2.c:354: `LC_ALL' undeclared (first use in this function)
> gedit2.c:354: (Each undeclared identifier is reported only once
> gedit2.c:354: for each function it appears in.)
> make[4]: *** [gedit2.o] Error 1
> make[4]: *** Waiting for unfinished jobs....
> make[4]: Leaving directory
> `/var/tmp/portage/gedit-2.4.0/work/gedit-2.4.0/gedit'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/var/tmp/portage/gedit-2.4.0/work/gedit-2.4.0/gedit'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/var/tmp/portage/gedit-2.4.0/work/gedit-2.4.0/gedit'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/tmp/portage/gedit-2.4.0/work/gedit-2.4.0'
> make: *** [all] Error 2
> 
> !!! ERROR: app-editors/gedit-2.4.0 failed.
> !!! Function gnome2_src_compile, Line 39, Exitcode 2
> !!! compile failure
> 
> 
> 
> 
> --
> [EMAIL PROTECTED] mailing list



--
[EMAIL PROTECTED] mailing list

Reply via email to