Andrew Benton wrote:
> On Wed, 5 Oct 2011 2:03:35 -0600
> Matthew Burgess <[email protected]> wrote:
> 
>> My preferred way of handling the glib/pkg-config requirement in LFS Chapter 6
>> at the moment is to "fix" e2fsprogs so that it doesn't require pkg-config at
>> all (see 
>> http://www.linuxfromscratch.org/pipermail/lfs-dev/2011-September/065203.html).
>>
>> I've not had time to look at that yet, so don't know whether it's even a 
>> viable
>> approach.  If it's not, or we simply don't get around to looking at it, then
>> your method looks good for getting Glib-2.30.x integrated.
>>
> 
> I've just had a go at it. I didn't need to edit configure at all, I got
> it to compile without pkg-config like this:
> 
> PKG_CONFIG=/tools/bin/true LDFLAGS=-lblkid ../e2fsprogs-1.41.14/configure \
>   --prefix=/usr --with-root-prefix="" --enable-elf-shlibs \
>   --disable-libblkid --disable-libuuid     --disable-uuidd --disable-fsck 

That sounds like a nice simple approach.  Does it still place its .pc 
files in /usr/lib/pkgconfig?

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to