Bruce Dubbs wrote:
> Andrew Benton wrote:
>> On Thu, 31 May 2012 14:05:19 +0100
>> Dan Nicholson <dbn.li...@gmail.com> wrote:
>>
>>> Here's an update. I forgot that [] are quotes in autoconf, so you
>>> usually end up using test instead. I still didn't test it works all
>>> the way, but I think configure should run.
>>
>> With this patch automake fails with:
>>
>> Makefile.am:1447: Cannot apply `+=' because `MANPAGES' is not defined in
>> Makefile.am:1447: the following conditions:
>> Makefile.am:1447:   UDEV_ONLY
>> Makefile.am:1447: Either define `MANPAGES' in these conditions, or use
>> Makefile.am:1447: `+=' in the same conditions as the definitions.
>> Makefile.am:1511: Cannot apply `+=' because `bin_PROGRAMS' is not 
>> defined in
>> Makefile.am:1511: the following conditions:
>> Makefile.am:1511:   UDEV_ONLY
>> Makefile.am:1511: Either define `bin_PROGRAMS' in these conditions, or 
>> use
>> Makefile.am:1511: `+=' in the same conditions as the definitions.
>> Makefile.am:2773: Cannot apply `+=' because `rootlibexec_PROGRAMS' is 
>> not defined in
>> Makefile.am:2773: the following conditions:
>> Makefile.am:2773:   ENABLE_LOGIND and UDEV_ONLY
>> Makefile.am:2773: Either define `rootlibexec_PROGRAMS' in these 
>> conditions, or use
>> Makefile.am:2773: `+=' in the same conditions as the definitions.
>>
>> I can fix that by making some changes to Makefile.am (see the attached
>> diff) so that autoreconf now completes without error. However, when I
>> try to run ./configure --enable-udev-only I get:
> 
> Try this diff for configure.ac.

Also in Ch 6 environment:

KMOD_CFLAGS="-I/usr/include" \
KMOD_LIBS="-L/lib -llzma -L/lib -lz" \
BLKID_CFLAGS="-I." \
BLKID_LIBS="-lblkid" \
./configure --enable-udev-only --without-usb-ids-path 
--without-pci-ids-path --disable-gudev --disable-keymap

It gets through configure, but I haven't started to look at make yet.

In any case, I'm not sure how to handle this in Chapter 6 yet. 
autoreconf requires pkg-config and we don't have that in LFS.

At a minimum, we'll need a patch with the new configure.ac and Makefile.in.

   -- Bruce


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

Reply via email to