Re: Trouble compiling Control-Center 2.8.1 on Solaris



Hi,

On Wed, 2005-04-27 at 09:37 -0700, Dan Nicholson wrote:
> Hi,
> 
> I've been trying to compile the GNOME libraries on Solaris 9 and have
> run into a snag with Control-Center.  The build fails when building
> libkbdraw, but there doesn't appear to be a relevant error.  There are
> a couple ignoring #pragma ident warnings, but these happen all the
> time with the Solaris X software.  Anyway, here's the error:
> 
> make[2]: Entering directory
> `/s0/dbnichol/opt/src/gnome/control-center-2.8.2/libkbdraw'
> gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/s0/dbnichol/opt/gtk2/include
> -I/s0/dbnichol/include -DXTHREADS
> -I/s0/dbnichol/opt/gtk2/include/gtk-2.0
> -I/s0/dbnichol/opt/gtk2/lib/gtk-2.0/include
> -I/s0/dbnichol/Xorg/include -I/usr/openwin/include
> -I/s0/dbnichol/opt/gtk2/include/atk-1.0
> -I/s0/dbnichol/opt/gtk2/include/pango-1.0
> -I/s0/dbnichol/opt/gtk2/include
> -I/s0/dbnichol/opt/gtk2/include/freetype2
> -I/s0/dbnichol/opt/gtk2/include/glib-2.0
> -I/s0/dbnichol/opt/gtk2/lib/glib-2.0/include
> -Wall -Werror -mcpu=v9 -O2 -Wall -c keyboard-marshal.c
> gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/s0/dbnichol/opt/gtk2/include
> -I/s0/dbnichol/include -DXTHREADS
> -I/s0/dbnichol/opt/gtk2/include/gtk-2.0
> -I/s0/dbnichol/opt/gtk2/lib/gtk-2.0/include
> -I/s0/dbnichol/Xorg/include -I/usr/openwin/include
> -I/s0/dbnichol/opt/gtk2/include/atk-1.0
> -I/s0/dbnichol/opt/gtk2/include/pango-1.0
> -I/s0/dbnichol/opt/gtk2/include
> -I/s0/dbnichol/opt/gtk2/include/freetype2
> -I/s0/dbnichol/opt/gtk2/include/glib-2.0
> -I/s0/dbnichol/opt/gtk2/lib/glib-2.0/include
> -Wall -Werror -mcpu=v9 -O2 -Wall -c keyboard-drawing.c
> In file included from /s0/dbnichol/opt/gtk2/include/gtk-2.0/gdk/gdkx.h:33,
>                  from keyboard-drawing.c:25:
> /usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident 
> In file included from /s0/dbnichol/opt/gtk2/include/gtk-2.0/gdk/gdkx.h:34,
>                  from keyboard-drawing.c:25:
> /usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident 
> make[2]: *** [keyboard-drawing.o] Error 1
> make[2]: Leaving directory
> `/s0/dbnichol/opt/src/gnome/control-center-2.8.2/libkbdraw'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/s0/dbnichol/opt/src/gnome/control-center-2.8.2'
> make: *** [all-recursive-am] Error 2
> 
> I was wondering if anyone had seen this error before and how to work
> around it.  Strangely, I got this same behavior when compliling
> libxklavier-1.14, but was able to get libxklavier-1.04 to build.  I
> know there are some issues with the openwin software on Solaris not
> having XKB implementation (at least not on my release).  Anyone have
> any ideas?

The problem (I think) is the -Werror, which turns all warnings into
errors.  You need to disable this option somehow (passing
--disable-werror to the configure script is probably the best way)

Cheers
Don

> 
> Thanks,
> Dan Nicholson
> _______________________________________________
> gnome-list mailing list
> gnome-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-list
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]