gnome-session build fails
Greetings! I am trying to build gnome-session-2.10.0 to run with openbox wm and I configured gnome-session with this command: ./configure --prefix=/usr --with-x --with-window-manager=openbox The configure executes well with out any problem, but the make fails with, jic 10:24:28- make make all-recursive make[1]: Entering directory `/home/us319318/apps/gnome-session-2.10.0' Making all in po make[2]: Entering directory `/home/us319318/apps/gnome-session-2.10.0/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/us319318/apps/gnome-session-2.10.0/po' Making all in gnome-session make[2]: Entering directory `/home/us319318/apps/gnome-session-2.10.0/gnome-session' (cd . \ glib-mkenums --fhead #ifndef __GSM_TYPEBUILTINS_H__\n \ --fhead #define __GSM_TYPEBUILTINS_H__ 1\n\n \ --fhead G_BEGIN_DECLS\n\n \ --ftail G_END_DECLS\n\n \ --ftail #endif /* __GSM_TYPEBUILTINS_H__ */\n \ --fprod \n/* --- @filename@ --- */ \ --eprod #define [EMAIL PROTECTED]@ @[EMAIL PROTECTED]()\n \ --eprod GType @[EMAIL PROTECTED] (void);\n \ ../gnome-session/gsm-protocol.h ) xgen-gth \ (cmp -s xgen-gth gsm-typebuiltins.h || cp xgen-gth gsm-typebuiltins.h) \ rm -f xgen-gth \ echo timestamp stamp-gsm-typebuiltins.h /usr/bin/glib-genmarshal ./gsm-marshal.list --body --prefix=gsm_marshal xgen-gmc \ cp xgen-gmc gsm-marshal.c \ rm -f xgen-gmc /usr/bin/glib-genmarshal ./gsm-marshal.list --header --prefix=gsm_marshal xgen-gmh \ (cmp -s xgen-gmh gsm-marshal.h || cp xgen-gmh gsm-marshal.h) \ rm -f xgen-gmh \ echo timestamp stamp-gsm-marshal.h make all-am make[3]: Entering directory `/home/us319318/apps/gnome-session-2.10.0/gnome-session' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DORBIT2=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -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/libxml2 -DPREFIX=\/usr\ -DSYSCONFDIR=\/usr/etc\ -DLIBDIR=\/usr/lib\ -DDATADIR=\/usr/share\ -Wall -Wmissing-prototypes -DGNOMELOCALEDIR=\/usr/share/locale\ -DGCONF_SANITY_CHECK=\/usr/sbin/gconf-sanity-check-2\ -DGNOME_KEYRING_DAEMON=\/usr/bin/gnome-keyring-daemon\ -DGNOME_ICONDIR=\/usr/share/pixmaps\ -DREBOOT_COMMAND=\\ -DHALT_COMMAND=\\ -DRSH_COMMAND=\/usr/bin/rsh\ -DGCONFTOOL_CMD=\/usr/bin/gconftool-2\ -DDEFAULTDIR=\/usr/share/gnome\ -DESD_SERVER=\/usr/bin/esd\-g -O2 -MT manager.o -MD -MP -MF .deps/manager.Tpo \ -c -o manager.o `test -f 'manager.c' || echo './'`manager.c; \ then mv -f .deps/manager.Tpo .deps/manager.Po; \ else rm -f .deps/manager.Tpo; exit 1; \ fi manager.c: In function `maybe_write_session': manager.c:227: warning: dereferencing type-punned pointer will break strict-aliasing rules if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DORBIT2=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -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/libxml2 -DPREFIX=\/usr\ -DSYSCONFDIR=\/usr/etc\ -DLIBDIR=\/usr/lib\ -DDATADIR=\/usr/share\ -Wall -Wmissing-prototypes -DGNOMELOCALEDIR=\/usr/share/locale\ -DGCONF_SANITY_CHECK=\/usr/sbin/gconf-sanity-check-2\ -DGNOME_KEYRING_DAEMON=\/usr/bin/gnome-keyring-daemon\ -DGNOME_ICONDIR=\/usr/share/pixmaps\ -DREBOOT_COMMAND=\\ -DHALT_COMMAND=\\ -DRSH_COMMAND=\/usr/bin/rsh\ -DGCONFTOOL_CMD=\/usr/bin/gconftool-2\ -DDEFAULTDIR=\/usr/share/gnome\ -DESD_SERVER=\/usr/bin/esd\-g -O2 -MT ice.o -MD -MP -MF .deps/ice.Tpo \ -c -o ice.o `test -f 'ice.c' || echo './'`ice.c; \ then mv -f .deps/ice.Tpo .deps/ice.Po; \ else rm -f .deps/ice.Tpo; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DORBIT2=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0
Re: gnome-session build fails
On Mon, 23 May 2005, jose isaias cabrera wrote: main.c: In function `have_ipv6': main.c:199: error: `AF_INET6' undeclared (first use in this function) main.c:199: error: (Each undeclared identifier is reported only once main.c:199: error: for each function it appears in.) Anyone has any suggestion? As I said previously, the configure ran fine and one of the entries was, checking whether to enable ipv6... no but, apparently, it's not working. By the way, I also tried it with --enable-ipv6 and it failed at the same spot. This is a bug in gnome-session then. You might try fixing this by wrapping the the function have_ipv6 with #ifdef HAVE_IPV6 or the like (check config.h for the exact variable) bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: gnome-session build fails
On 16:53 Mon 23 May , Alexander Gottwald wrote: On Mon, 23 May 2005, jose isaias cabrera wrote: main.c: In function `have_ipv6': main.c:199: error: `AF_INET6' undeclared (first use in this function) main.c:199: error: (Each undeclared identifier is reported only once main.c:199: error: for each function it appears in.) Anyone has any suggestion? As I said previously, the configure ran fine and one of the entries was, checking whether to enable ipv6... no but, apparently, it's not working. By the way, I also tried it with --enable-ipv6 and it failed at the same spot. This is a bug in gnome-session then. You might try fixing this by wrapping the the function have_ipv6 with #ifdef HAVE_IPV6 or the like (check config.h for the exact variable) Here is what the config.h had: /* config.h. Generated by configure. */ /* config.h.in. Generated from configure.in by autoheader. */ /* Define if IPV6 is supported */ #define ENABLE_IPV6 1 ... ... ... I commented out the define for IPV6 and it has now passed that state. Now, :-) , there is a new error message: jic 11:30:38- make make all-recursive make[1]: Entering directory `/home/us319318/apps/gnome-session-2.10.0' Making all in po make[2]: Entering directory `/home/us319318/apps/gnome-session-2.10.0/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/us319318/apps/gnome-session-2.10.0/po' Making all in gnome-session make[2]: Entering directory `/home/us319318/apps/gnome-session-2.10.0/gnome-session' make all-am make[3]: Entering directory `/home/us319318/apps/gnome-session-2.10.0/gnome-session' /bin/bash ../libtool --mode=link gcc -g -O2 -o gnome-session.exe manager.o ice.o main.o prop.o save.o command.o remote.o logout.o splash-widget.o gsm-xrandr.o gsm-keyring.o gsm-gsd.o gsm-protocol.o gsm-remote-desktop.o gsm-sound.o gsm-at-startup.o gsm-multiscreen.o gsm-typebuiltins.o gdm-logout-action.o util.o egg-screen-exec.o egg-screen-help.o egg-screen-url.o -lXrandr -lXrender -lSM -lICE -L/usr/X11R6/lib -lX11 -Wl,--export-dynamic -L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lfreetype -lz -lXrender -lXext -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv -lesd -laudiofile -lm -L/usr/lib -lwrap libtool: link: cannot find the library `/usr/X11R6/lib/libXrender.la' make[3]: *** [gnome-session.exe] Error 1 make[3]: Leaving directory `/home/us319318/apps/gnome-session-2.10.0/gnome-session' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/us319318/apps/gnome-session-2.10.0/gnome-session' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/us319318/apps/gnome-session-2.10.0' make: *** [all] Error 2 different error all together. ??? thanks, jic bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: gnome-session build fails
On Mon, 23 May 2005, jose isaias cabrera wrote: `/home/us319318/apps/gnome-session-2.10.0/gnome-session' /bin/bash ../libtool --mode=link gcc -g -O2 -o gnome-session.exe manager.o ice.o main.o prop.o save.o command.o remote.o logout.o splash-widget.o gsm-xrandr.o gsm-keyring.o gsm-gsd.o gsm-protocol.o gsm-remote-desktop.o gsm-sound.o gsm-at-startup.o gsm-multiscreen.o gsm-typebuiltins.o gdm-logout-action.o util.o egg-screen-exec.o egg-screen-help.o egg-screen-url.o -lXrandr -lXrender -lSM -lICE -L/usr/X11R6/lib -lX11 -Wl,--export-dynamic -L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lfreetype -lz -lXrender -lXext -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv -lesd -laudiofile -lm -L/usr/lib -lwrap libtool: link: cannot find the library `/usr/X11R6/lib/libXrender.la' before blaming libtool: do you have the xorg-x11-devel package installed? (surely, otherwise configure would not work) xorg-x11-devel has /usr/X11R6/lib/libXrender.dll.a and libtool should pick that up instead of searching for libXrender.la. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: gnome-session build fails
On 18:05 Mon 23 May , Alexander Gottwald wrote: On Mon, 23 May 2005, jose isaias cabrera wrote: -lgthread-2.0 -lglib-2.0 -lintl -liconv -lesd -laudiofile -lm -L/usr/lib -lwrap libtool: link: cannot find the library `/usr/X11R6/lib/libXrender.la' before blaming libtool: do you have the xorg-x11-devel package installed? (surely, otherwise configure would not work) Yes. Exactly. xorg-x11-devel has /usr/X11R6/lib/libXrender.dll.a and libtool should pick that up instead of searching for libXrender.la. Here is a list of libXr*: jic 12:25:50- ls -al /usr/X11R6/lib/libXr* -rwxrwxrwx 1 us319318 Users 14594 Apr 20 07:43 /usr/X11R6/lib/libXrandr-2.dll.a* lrwxrwxrwx 1 us319318 Users17 May 11 11:11 /usr/X11R6/lib/libXrandr.dll.a - libXrandr-2.dll.a* -rwxrwxrwx 1 us319318 Users 28894 Apr 20 07:43 /usr/X11R6/lib/libXrender-1.dll.a* lrwxrwxrwx 1 us319318 Users18 May 11 11:11 /usr/X11R6/lib/libXrender.dll.a - libXrender-1.dll.a* Ok, I agree, but somehow, libtool is not figuring itself out. However, is that dynamic link ok? jic
Re: gnome-session build fails
On Mon, 23 May 2005, jose isaias cabrera wrote: Ok, I agree, but somehow, libtool is not figuring itself out. However, is that dynamic link ok? yes gcc (or ld) would work fine. I don't know why libtool does not. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: gnome-session build fails
Ago, Ok, I agree, but somehow, libtool is not figuring itself out. However, is that dynamic link ok? yes gcc (or ld) would work fine. I don't know why libtool does not. Any options that I can do to libtool to make it work? jic
Re: gnome-session build fails
jose isaias cabrera wrote: Ago, Ok, I agree, but somehow, libtool is not figuring itself out. However, is that dynamic link ok? yes gcc (or ld) would work fine. I don't know why libtool does not. Any options that I can do to libtool to make it work? Create the file libXrender.la. Just copy another .la file and edit to fit for libXrender. Or take this: # libXrender.la - a libtool library file # Generated by ltmain.sh - GNU libtool 1.5 (1.1220 2003/04/05 19:32:58) # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='../bin/cygXrender-1.dll' # Names of this library. library_names='libXrender.dll.a' # The name of the static archive. old_library='libXrender.a' # Libraries that this one depends upon. dependency_libs=' -L/usr/X11R6/lib -lX11' # Version information for libXrender. current=3 age=2 revision=2 # Is this an already installed library? installed=yes # Should we warn about portability when linking against -modules? shouldnotlink=no # Files to dlopen/dlpreopen dlopen='' dlpreopen='' # Directory that this library needs to be installed in: libdir='/usr/X11R6/lib' Gerrit -- =^..^=
Re: gnome-session build fails
Thanks man. As we say in Spanish, muchas gracias! Added the file and it worked. Thanks! jic On 23:40 Mon 23 May , Gerrit P. Haase wrote: jose isaias cabrera wrote: Ago, Ok, I agree, but somehow, libtool is not figuring itself out. However, is that dynamic link ok? yes gcc (or ld) would work fine. I don't know why libtool does not. Any options that I can do to libtool to make it work? Create the file libXrender.la. Just copy another .la file and edit to fit for libXrender. Or take this: # libXrender.la - a libtool library file # Generated by ltmain.sh - GNU libtool 1.5 (1.1220 2003/04/05 19:32:58) # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='../bin/cygXrender-1.dll' # Names of this library. library_names='libXrender.dll.a' # The name of the static archive. old_library='libXrender.a' # Libraries that this one depends upon. dependency_libs=' -L/usr/X11R6/lib -lX11' # Version information for libXrender. current=3 age=2 revision=2 # Is this an already installed library? installed=yes # Should we warn about portability when linking against -modules? shouldnotlink=no # Files to dlopen/dlpreopen dlopen='' dlpreopen='' # Directory that this library needs to be installed in: libdir='/usr/X11R6/lib' Gerrit -- =^..^=