lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUB build problems


From: Graham Percival
Subject: Re: GUB build problems
Date: Sun, 26 Feb 2012 11:57:50 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, Feb 25, 2012 at 10:01:21PM +0000, Carl Sorensen wrote:
> Looking at the failed command, it appears to me that gcc_tooldir is wrong.
> 
> There is no directory /usr/powerpc-apple-darwin7

I just tried a build from scratch on ubuntu 11.10 64-bit, and I
have a possibly-related build failure:


building package: darwin-x86::cross/gcc
 *** Stage: download (cross/gcc, darwin-x86)
 *** Stage: untar (cross/gcc, darwin-x86)
 *** Stage: patch (cross/gcc, darwin-x86)
 *** Stage: autoupdate (cross/gcc, darwin-x86)
 *** Stage: configure (cross/gcc, darwin-x86)
 *** Stage: compile (cross/gcc, darwin-x86)
^[[ACommand barfed: cd
/main/src/gub/target/darwin-x86/build/cross/gcc-4.3.2 && make -j8
tooldir='/main/src/gub/target/darwin-x86/root/usr/cross/i686-apple-darwin8'
gcc_tooldir='/usr/i686-apple-darwin8'  

Tail of target/darwin-x86/log/cross/gcc.log >>>>>>>>
    make[1]: *** [configure-target-libgcc] Error 1
    make[1]: Leaving directory
`/main/src/gub/target/darwin-x86/build/cross/gcc-4.3.2'
    make: *** [all] Error 2
    Command barfed: cd
/main/src/gub/target/darwin-x86/build/cross/gcc-4.3.2 && make -j8
tooldir='/main/src/gub/target/darwin-x86/root/usr/cross/i686-apple-darwin8'
gcc_tooldir='/usr/i686-apple-darwin8'
<<<<<<<< Tail of target/darwin-x86/log/cross/gcc.log

*** Failed target: darwin-x86::cross/gcc
make: *** [cross-compilers] Error 1



The relevant config.log contains: 

configure:2588:
/main/src/gub/target/darwin-x86/build/cross/gcc-4.3.2/./gcc/xgcc
-B/main/src/gub/target/darwin-x86/build/cross/gcc-4.3.2/./gcc/
-B/main/src/gub/target/darwin-x86/root/usr/cross/i686-apple-darwin8/bin/
-B/main/src/gub/target/darwin-x86/root/usr/cross/i686-apple-darwin8/lib/
-isystem
/main/src/gub/target/darwin-x86/root/usr/cross/i686-apple-darwin8/include
-isystem
/main/src/gub/target/darwin-x86/root/usr/cross/i686-apple-darwin8/sys-include
-c -O2 -g -g -O2    conftest.c >&5
/main/src/gub/target/darwin-x86/build/cross/gcc-4.3.2/./gcc/cc1:
error while loading shared libraries: libmpfr.so.1: cannot open
shared object file: No such file or directory
configure:2591: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }


I _do_ have libmpfr installed:

$ -l /usr/lib/libmpfr.*
-rw-r--r-- 1 root root 888130 2011-07-27 13:06 /usr/lib/libmpfr.a
lrwxrwxrwx 1 root root     16 2011-07-27 13:06 /usr/lib/libmpfr.so
-> libmpfr.so.4.0.1
lrwxrwxrwx 1 root root     16 2011-11-20 23:43
/usr/lib/libmpfr.so.4 -> libmpfr.so.4.0.1
-rw-r--r-- 1 root root 348472 2011-07-27 13:06
/usr/lib/libmpfr.so.4.0.1


$ ls -l /usr/include/mpf*
-rw-r--r-- 1 root root  6288 2011-07-27 13:04
/usr/include/mpf2mpfr.h
-rw-r--r-- 1 root root 47984 2011-07-27 13:04 /usr/include/mpfr.h


- Graham



reply via email to

[Prev in Thread] Current Thread [Next in Thread]