This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi Guido, hi Alan, I have attached a bug report concerning AX_ENABLE_BUILDDIR. If you have the chance, could you please help us figuring out what might be causing that problem and, more importantly, how to fix it? Take care, Peter
--- Begin Message ---
- From: Bruno Haible <bruno at clisp dot org>
- To: libffi-discuss at sourceware dot org, autoconf-archive-maintainers at gnu dot org
- Date: Sun, 15 Jan 2012 19:15:29 +0100
- Subject: libffi 3.0.10 build error on OpenBSD, NetBSD, Solaris
Hi, libffi-3.0.10 fails to build on several platforms, when configured with $ ./configure --prefix=/some/dir This violates the GNU Coding Standards. On OpenBSD 4.6/SPARC64: $ ./configure --prefix=$HOME/prefix-openbsd-sparc64 ... config.status: executing depfiles commands config.status: executing libtool commands config.status: executing include commands config.status: executing src commands $ gmake MAKE sparc64-unknown-openbsd4.6 : 0 * all-all *** Error code 1 On NetBSD 5.1/x86: $ ./configure --prefix=$HOME/prefix-netbsd51-x86_64 ... config.status: executing depfiles commands config.status: executing libtool commands config.status: executing include commands config.status: executing src commands $ make MAKE x86_64-unknown-netbsd5.1 : 0 * all-all *** Error code 1 On Solaris 11: $ ./configure --prefix=$HOME/prefix-solaris11-i386 ... config.status: executing depfiles commands config.status: executing libtool commands config.status: executing include commands config.status: executing src commands $ make MAKE i386-pc-solaris2.11 : 0 * all-all *** Error code 1 The following command caused the error: HOST="" \ ; test ".$HOST" = "." && HOST=` sh /home/bruno/multibuild-1591/solaris11x8632/libffi-3.0.10/config.guess ` \ ; BUILD=` grep "^#### $HOST " Makefile | sed -e 's/.*|//' ` \ ; use=` basename "all-all" -all `; n=` echo $BUILD | wc -w ` \ ; echo "MAKE $HOST : $n * all-all"; if test "$n" = "0" ; then : \ ; BUILD=` grep "^####.*|" Makefile |tail -1| sed -e 's/.*|//' ` ; fi \ ; test ".$BUILD" = "." && BUILD="." \ ; test "$use" = "all-all" && BUILD=` echo "$BUILD" | tail -1 ` \ ; for i in $BUILD ; do test ".$i" = "." && continue \ ; (cd "$i" && test ! -f configure && make $use) || exit; done make: Fatal error: Command failed for target `all-all' $ gmake MAKE x86_64-pc-solaris2.11 : 0 * all-all gmake: *** [all-all] Error 1 The workaround is to pass the option --disable-builddir. Apparently this is a bug in the ax_enable_builddir.m4 file that libffi has imported from the autoconf-archive. Find attached the top-level Makefiles that were generated on the various platforms. BrunoAttachment: libffi-bad-generated-makefiles.tar.gz
Description: application/compressed-tar
--- End Message ---
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |