Ken Moffat wrote:
>   This build is *not* going well.  I'm now in fluxbox, trying to
> build gudev so that I can build colord for cups.
>
> ken@jtm1 /scratch/ken/systemd-188 $make -f udev-lfs-188/Makefile.lfs
> gudev
> CC src/gudev/gudevclient.c
> In file included from src/gudev/gudevclient.c:29:0:
> src/gudev/gudevclient.h:22:2: error: #error "Only <gudev/gudev.h>
> can be included directly, this file may disappear or change
> contents."
> In file included from src/gudev/gudevclient.h:28:0,
>                   from src/gudev/gudevclient.c:29:
> src/gudev/gudevtypes.h:22:2: error: #error "Only <gudev/gudev.h> can
> be included directly, this file may disappear or change contents."
> In file included from src/gudev/gudevtypes.h:28:0,
>                   from src/gudev/gudevclient.h:28,
>                   from src/gudev/gudevclient.c:29:
> src/gudev/gudevenums.h:22:2: error: #error "Only <gudev/gudev.h> can
> be included directly, this file may disappear or change contents."
> src/gudev/gudevenums.h:28:25: fatal error: glib-object.h: No such
> file or directory
> compilation terminated.
> make: *** [build/gudevclient.o] Error 1
>
>   Now, I can see that the necessary values  to suppress that warning,
> and to find the headers in /usr/include/glib-2.0, are in
> makefile-incl.gudev, so I'm guessing that for some reason it isn't
> being included, or isn't working.  Trying to build the other BLFS
> targets as a user gives me:

Let's just take gudev for now.  It really looks like upstream made an 
error here.  In  src/gudev/gudevclient.c, they have

#include "gudevclient.h"
#include "gudevdevice.h"
#include "gudevmarshal.h"
#include "gudevprivate.h"

but the header generates an error.

In src/gudev/gudevenums.h, they have #include <glib-object.h>

I'm using a slightly older version of glib (2.32.2) and needed to add -I 
/usr/include/glib-2.0, so it looks like it's not picking up Cflags from 
glib-2.0.pc properly in our makefile-incl.gudev.

Now I run into a problem in that it's looking for glibconfig.h and I 
don't have that at all.  Will investigate.

There's some other issues like hot having the build/ directory.  I'll 
investigate some more.

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to