[lfs-dev] LFS SVN and Systemd Report

Andrew Benton andy at benton.eu.com
Thu May 31 08:48:00 PDT 2012


On Thu, 31 May 2012 14:05:19 +0100
Dan Nicholson <dbn.lists at 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.

Withthis 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:

checking for library containing clock_gettime... -lrt
checking for library containing dlsym... -ldl
checking for library containing cap_init... no
configure: error: *** POSIX caps library not found

Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump.diff
Type: application/octet-stream
Size: 13811 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20120531/97ab4a0f/attachment.obj>


More information about the lfs-dev mailing list