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 -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 main.o -MD -MP -MF
".deps/main.Tpo" \
-c -o main.o `test -f 'main.c' || echo './'`main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
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.)
main.c: In function `check_for_dns':
main.c:222: error: storage size of `hints' isn't known
main.c:226: error: `AI_CANONNAME' undeclared (first use in this function)
main.c:228: warning: implicit declaration of function `getaddrinfo'
main.c:231: error: dereferencing pointer to incomplete type
main.c:222: warning: unused variable `hints'
make[3]: *** [main.o] 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
jic 10:26:14->
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.
thanks,
josé