On Sun, 08 Apr 2012 21:40:22 +0100 spiky <[email protected]> wrote:
> 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 lxpanel-0.5.8 has no problems with current glib. Is there a reason you're using an old version? Andy -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
