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.

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

Attachment: dump.diff
Description: Binary data

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

Reply via email to