I had to add libs to configure:
LIBS="-Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglib-2.0" \
./configure --prefix=/usr --sysconfdir=/etc
Does that work for you?
Groet,
Thomas
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of spiky
Sent: zondag 8 april 2012 22:39
To: [email protected]
Subject: [blfs-support] lxde error with glib.h
Hi
Not sure if this is the correct place to post this, I,m trying to install LXDE
on blfs svn.
I have a problem with 1 of the lxde packages lxpanel.
The error is looking for glib.h in /usr/include/glib-2.0/glib but glib.h is in
/usr/include/glib-2.0. I did try copying glib.h to the glib dir but still the
same results.
In file included from netstatus-sysdeps.h:28:0,
from netstatus-sysdeps.c:28:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be
included directly."
In file included from /usr/include/glib-2.0/glibconfig.h:9:0,
from /usr/include/glib-2.0/glib/gtypes.h:34,
from netstatus-sysdeps.h:28,
from netstatus-sysdeps.c:28:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be
included directly."
In file included from /usr/include/glib-2.0/glib/gtypes.h:35:0,
from netstatus-sysdeps.h:28,
from netstatus-sysdeps.c:28:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be
included directly."
In file included from /usr/include/glib-2.0/glib/gtypes.h:36:0,
from netstatus-sysdeps.h:28,
from netstatus-sysdeps.c:28:
/usr/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error "Only <glib.h>
can be included directly."
In file included from netstatus-sysdeps.h:29:0,
from netstatus-sysdeps.c:28:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be
included directly."
make[4]: *** [netstatus-sysdeps.lo] Error 1
make[4]: Leaving directory
`/sources/lxpanel-0.4.1/src/plugins/netstatus'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/sources/lxpanel-0.4.1/src/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/sources/lxpanel-0.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/lxpanel-0.4.1'
make: *** [all] Error 2
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page