! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Problem compiling xfce4-session 4.2.0
Status:
CLOSED: FIXED
Product:
Xfce4-session
Component:
General

Comments

Description pierre42d 2005-01-22 14:35:59 CET
[...]
Making all in xfce4-session
make[2]: Entering directory `/tmp/xfce4-session-4.2.0/xfce4-session'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..   -DORBIT2=1 -pthread
-I/usr/local/include/gconf/2 -I/usr/local/include/orbit-2.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include
-I/usr/local/include/xfce4 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include
-I/usr/local/include/xfce4 -I/usr/local/include/gtk-2.0
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include
-I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/atk-1.0 -DLIBDIR=\"/usr/local/lib\"
-DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\"
-DXFSM_SHUTDOWN_HELPER=\"/usr/local/libexec/xfsm-shutdown-helper\" -s -O3
-march=i686 -MT xfce4_session-xfsm-compat-gnome.o -MD -MP -MF
".deps/xfce4_session-xfsm-compat-gnome.Tpo" -c -o
xfce4_session-xfsm-compat-gnome.o `test -f 'xfsm-compat-gnome.c' || echo
'./'`xfsm-compat-gnome.c; \
then mv -f ".deps/xfce4_session-xfsm-compat-gnome.Tpo"
".deps/xfce4_session-xfsm-compat-gnome.Po"; else rm -f
".deps/xfce4_session-xfsm-compat-gnome.Tpo"; exit 1; fi
xfsm-compat-gnome.c:56:31: libgnome/libgnome.h: No such file or directory
make[2]: *** [xfce4_session-xfsm-compat-gnome.o] Error 1
make[2]: Leaving directory `/tmp/xfce4-session-4.2.0/xfce4-session'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/xfce4-session-4.2.0'
make: *** [all] Error 2


Reproducible: Always
Steps to Reproduce:
Comment 1 Benedikt Meurer editbugs 2005-01-22 16:39:48 CET
Run configure with --disable-gconf or install libgnome devel files.
Comment 2 pierre42d 2005-01-24 20:28:08 CET
But I have it installed !
It is at /usr/local/include/libgnome-2.0/libgnome/libgnome.h
Comment 3 Benedikt Meurer editbugs 2005-01-24 20:33:22 CET
But, looking at the compiler command, I don't see the required
-I/usr/local/include/libgnome-2.0 flag. I guess I know whats wrong. Please run

 export CFLAGS="$CFLAGS -I/usr/local/include/libgnome-2.0"

prior to ./configure, and tell me if that fixes the problem.
Comment 4 pierre42d 2005-01-25 23:11:05 CET
Yes and no... Now I have :

[...]
Making all in xfce4-session
make[2]: Entering directory `/tmp/xfce4-session-4.2.0/xfce4-session'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..   -DORBIT2=1 -pthread
-I/usr/local/include/gconf/2 -I/usr/local/include/orbit-2.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include
-I/usr/local/include/xfce4 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include
-I/usr/local/include/xfce4 -I/usr/local/include/gtk-2.0
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include
-I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/atk-1.0 -DLIBDIR=\"/usr/local/lib\"
-DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\"
-DXFSM_SHUTDOWN_HELPER=\"/usr/local/libexec/xfsm-shutdown-helper\" -s -O3
-march=i686 -I/usr/local/include/libgnome-2.0 -I/usr/local/include/libgnome-2.0
-MT xfce4_session-xfsm-compat-gnome.o -MD -MP -MF
".deps/xfce4_session-xfsm-compat-gnome.Tpo" -c -o
xfce4_session-xfsm-compat-gnome.o `test -f 'xfsm-compat-gnome.c' || echo
'./'`xfsm-compat-gnome.c; \
then mv -f ".deps/xfce4_session-xfsm-compat-gnome.Tpo"
".deps/xfce4_session-xfsm-compat-gnome.Po"; else rm -f
".deps/xfce4_session-xfsm-compat-gnome.Tpo"; exit 1; fi
In file included from /usr/local/include/libgnome-2.0/libgnome/libgnome.h:30,
                 from xfsm-compat-gnome.c:56:
/usr/local/include/libgnome-2.0/libgnome/gnome-i18n.h:38:32:
bonobo/bonobo-i18n.h: No such file or directory
In file included from /usr/local/include/libgnome-2.0/libgnome/libgnome.h:38,
                 from xfsm-compat-gnome.c:56:
/usr/local/include/libgnome-2.0/libgnome/gnome-macros.h:31:34:
bonobo/bonobo-macros.h: No such file or directory
make[2]: *** [xfce4_session-xfsm-compat-gnome.o] Error 1
make[2]: Leaving directory `/tmp/xfce4-session-4.2.0/xfce4-session'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/xfce4-session-4.2.0'
make: *** [all] Error 2
Comment 5 Benedikt Meurer editbugs 2005-01-27 18:13:04 CET
K, found the problem, the configure check isn't correct. I'll fix it in CVS. As
a quick fix, use --disable-gconf when running configure, so you can build
xfce4-session successfully.

Bug #734

Reported by:
pierre42d
Reported on: 2005-01-22
Last modified on: 2009-07-14

People

Assignee:
Benedikt Meurer
CC List:
0 users

Version

Attachments

Additional information