On Fri, Feb 13, 2009 at 11:06:28PM +0100, Jan Nieuwenhuizen wrote: > On wo, 2009-02-11 at 20:48 -0800, Patrick McCarty wrote: > > > Okay, now it halts at mingw::guile. Everything is fine up until then. > > Here is the tail end of build.log. > > so the question is: why is your libintl (and other libs) not found > by libtool. Do you have > > target/mingw/root/usr/lib/libintl.la > target/mingw/root/usr/bin/libintl-8.dll > > and does the libintl.la make sense? It is annoying that libtool mentions > checking /usr/lib/libgmp.so; it should not be looking there.
Those files exist, and libintl.la looks correct. It is not executable (755) like all of the other .la files I see, but this does not seem to make a difference; compilation still fails. > You could look if you can make any sense of running the libtool link > command with -x > > /bin/sh -x ../libtool .... I cannot figure out how to do this. Is there an easy way to do this with GUB? > IWBN if GUB were to disallow libtool to read from /usr. > [..] > I finally cooked-up a patch for that, it took a bit more work than > I imagined. With latest GUB3 you can do > > LIBRESTRICT=open:stat bin/gub mingw::guile # or mingw::lilypond Starting fresh, this halts at tools::tar. Attached are relevant sections of build.log and config.log. Thanks, Patrick
*** Stage: configure (tar, tools) invoking mkdir -p /home/pnorcks/git/gub/target/tools/build/tar-1.20 || true invoking cd /home/pnorcks/git/gub/target/tools/build/tar-1.20 && chmod +x /home/pnorcks/git/gub/target/tools/src/tar-1.20/configure && /home/pnorcks/git/gub/target/tools/src/tar-1.20/configure --prefix=/home/pnorcks/git/gub/target/tools/install/tar-1.20-root/usr --prefix=/home/pnorcks/git/gub/target/tools/root/usr --enable-shared --enable-static CFLAGS=-I/home/pnorcks/git/gub/target/tools/root/usr/include LDFLAGS=-L/home/pnorcks/git/gub/target/tools/root/usr/lib checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. Command barfed: cd /home/pnorcks/git/gub/target/tools/build/tar-1.20 && chmod +x /home/pnorcks/git/gub/target/tools/src/tar-1.20/configure && /home/pnorcks/git/gub/target/tools/src/tar-1.20/configure --prefix=/home/pnorcks/git/gub/target/tools/install/tar-1.20-root/usr --prefix=/home/pnorcks/git/gub/target/tools/root/usr --enable-shared --enable-static CFLAGS=-I/home/pnorcks/git/gub/target/tools/root/usr/include LDFLAGS=-L/home/pnorcks/git/gub/target/tools/root/usr/lib
configure:2200: checking for a BSD-compatible install configure:2256: result: /bin/install -c configure:2267: checking whether build environment is sane configure:2310: result: yes configure:2338: checking for a thread-safe mkdir -p configure:2377: result: /bin/mkdir -p configure:2390: checking for gawk configure:2406: found /bin/gawk configure:2417: result: gawk configure:2428: checking whether make sets $(MAKE) configure:2449: result: yes configure:2632: checking how to create a ustar tar archive configure:2645: tar --version tar (GNU tar) 1.21 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. configure:2648: $? = 0 configure:2688: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar configure:2691: $? = 0 configure:2695: tar -xf - <conftest.tar configure:2698: $? = 0 configure:2711: result: gnutar configure:2767: checking for gcc configure:2783: found /usr/bin/gcc configure:2794: result: gcc configure:3032: checking for C compiler version configure:3039: gcc --version >&5 gcc (GCC) 4.3.3 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3042: $? = 0 configure:3049: gcc -v >&5 Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,fortran,objc,obj-c++,treelang --enable-threads=posix --mandir=/usr/share/man --infodir=/usr/share/info --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch --with-tune=generic Thread model: posix gcc version 4.3.3 (GCC) configure:3052: $? = 0 configure:3059: gcc -V >&5 gcc: '-V' option must have argument configure:3062: $? = 1 configure:3085: checking for C compiler default output file name configure:3112: gcc -I/home/pnorcks/git/gub/target/tools/root/usr/include -L/home/pnorcks/git/gub/target/tools/root/usr/lib conftest.c >&5 cc1: error: /usr/local/include: not a directory cc1: error: /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include: not a directory cc1: error: /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include-fixed: not a directory cc1: error: /usr/include: not a directory configure:3115: $? = 1 configure:3153: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GNU tar" | #define PACKAGE_TARNAME "tar" | #define PACKAGE_VERSION "1.20" | #define PACKAGE_STRING "GNU tar 1.20" | #define PACKAGE_BUGREPORT "bug-...@gnu.org" | #define PACKAGE "tar" | #define VERSION "1.20" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3160: error: C compiler cannot create executables
_______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel