lilypond-devel
[Top][All Lists]
Advanced

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

Re: [GUB3] How should Guile and Flex be built?


From: John Mandereau
Subject: Re: [GUB3] How should Guile and Flex be built?
Date: Fri, 13 Mar 2009 13:26:28 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Jan Nieuwenhuizen a écrit :
Op donderdag 12-03-2009 om 10:43 uur [tijdzone +0100], schreef John
Mandereau:
I compiled Python 2.6.1 and installed it in my home, setting LD_LIBRARY_PATH to /home/lilydev.

So, does that help?
Not at all: I set PLATFORMS=linux-64 to avoid choking on odcctools compilation, and dependencies fail for both Python versions I have tested (2.5 shipped with Fedora 9, and self-compiled 2.6.1). A clean build (after "rm -rf target" and "find gub -name '*.pyc' |xargs rm -f") with Python 3 is currently running, it's not in good shape:
flex and bison are built in tools, which I find snaky.



I did, and a clean build failed on odcctools.  Log tail attached.

So, what does config.log say, why can't gcc make executables?
I copied the head and the tail of config.log below. Having
/home/lilydev/git/newgub/target/linux-x86/root/usr/cross/i686-linux/bin
and other directories for linux-x86 xcompile look wrong to me.

Best,
John

""" config.log """
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by odcctools configure 622.3od16, which was
generated by GNU Autoconf 2.59.  Invocation command line was

$ /home/lilydev/git/newgub/target/darwin-ppc/src/odcctools-odcctools-278/configure --prefix=/home/lilydev/git/newgub/target/darwin-ppc/install/odcctools-odcctools-278-root/usr --program-prefix=powerpc-apple-darwin7- --prefix=/home/lilydev/git/newgub/target/darwin-ppc/root/usr/cross --target=powerpc-apple-darwin7 --with-sysroot=/home/lilydev/git/newgub/target/darwin-ppc/root --disable-multilib

## --------- ##
## Platform. ##
## --------- ##

hostname = freemousse
uname -m = x86_64
uname -r = 2.6.27.19-78.2.30.fc9.x86_64
uname -s = Linux
uname -v = #1 SMP Tue Feb 24 19:44:45 EST 2009

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/lilydev/git/newgub/target/linux-x86/root/usr/cross/i686-linux/bin
PATH: /home/lilydev/git/newgub/target/linux-x86/root/usr/cross/bin
PATH: /home/lilydev/git/newgub/target/linux-x86/root/usr/cross/i686-linux/bin
PATH: /home/lilydev/git/newgub/target/tools/root/usr/bin
PATH: /home/lilydev/bin
PATH: /home/john/bin
PATH: /home/john/bin
PATH: /usr/lib64/qt-3.3/bin
PATH: /usr/kerberos/bin
PATH: /usr/lib64/ccache
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /home/john/src/vc/svn/abjad/trunk/abjad/scr/
PATH: /home/john/src/vc/svn/abjad/trunk/abjad/scr/

## ----------- ##
## Core tests. ##
## ----------- ##

configure:1373: checking build system type
configure:1391: result: x86_64-unknown-linux-gnu
configure:1399: checking host system type
configure:1413: result: x86_64-unknown-linux-gnu
configure:1421: checking target system type
configure:1435: result: powerpc-apple-darwin7
configure:1509: checking for gcc
configure:1535: result: /home/lilydev/git/newgub/target/linux-x86/root/usr/cross/i686-linux/bin/gcc
configure:1779: checking for C compiler version
configure:1782: /home/lilydev/git/newgub/target/linux-x86/root/usr/cross/i686-linux/bin/gcc --version </dev/null >&5
gcc (GCC) 4.1.2
Copyright (C) 2006 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:1785: $? = 0
configure:1787: /home/lilydev/git/newgub/target/linux-x86/root/usr/cross/i686-linux/bin/gcc -v </dev/null >&5
Using built-in specs.
Target: i686-linux
Configured with: /home/lilydev/git/newgub/target/linux-x86/src/cross/gcc-4.1.2/configure --prefix=/home/lilydev/git/newgub/target/linux-x86/install/cross/gcc-4.1.2-root/usr --program-prefix=i686-linux- --prefix=/home/lilydev/git/newgub/target/linux-x86/root/usr/cross --target=i686-linux --with-sysroot=/home/lilydev/git/newgub/target/linux-x86/root --disable-multilib --with-as=/home/lilydev/git/newgub/target/linux-x86/root/usr/cross/bin/i686-linux-as --with-ld=/home/lilydev/git/newgub/target/linux-x86/root/usr/cross/bin/i686-linux-ld --with-nm=/home/lilydev/git/newgub/target/linux-x86/root/usr/cross/bin/i686-linux-nm --enable-static --enable-shared --enable-languages=c,c++ --enable-libstdcxx-debug --with-local-prefix=/home/lilydev/git/newgub/target/linux-x86/root/usr --disable-multilib --disable-nls --enable-threads=posix --enable-__cxa_atexit --enable-symvers=gnu --enable-c99 --enable-clocale=gnu --enable-long-long
Thread model: posix
gcc version 4.1.2
configure:1790: $? = 0
configure:1792: /home/lilydev/git/newgub/target/linux-x86/root/usr/cross/i686-linux/bin/gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:1795: $? = 1
configure:1818: checking for C compiler default output file name
configure:1821: /home/lilydev/git/newgub/target/linux-x86/root/usr/cross/i686-linux/bin/gcc -DSTDC_HEADERS -Wl,-headerpad_max_install_names conftest.c >&5 /home/lilydev/git/newgub/target/linux-x86/root/usr/cross/libexec/gcc/i686-linux/4.1.2/cc1: tried to open () file /home/lilydev/git/newgub/target/darwin-ppc/build/odcctools-odcctools-278/conftest.c
allowed:
 /home/lilydev/git/newgub/target/linux-x86
 /tmp
 /dev/null
cc1: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
configure:1824: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "odcctools"
| #define PACKAGE_TARNAME "odcctools"
| #define PACKAGE_VERSION "622.3od16"
| #define PACKAGE_STRING "odcctools 622.3od16"
| #define PACKAGE_BUGREPORT "address@hidden"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:1863: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_build_alias=x86_64-unknown-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/home/lilydev/git/newgub/target/linux-x86/root/usr/cross/i686-linux/bin/gcc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-DSTDC_HEADERS
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=/home/lilydev/git/newgub/target/linux-x86/root/usr/cross/i686-linux/bin/g++
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-headerpad_max_install_names '
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=powerpc-apple-darwin7
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_host_alias=x86_64-unknown-linux-gnu
ac_cv_prog_ac_ct_CC=/home/lilydev/git/newgub/target/linux-x86/root/usr/cross/i686-linux/bin/gcc
ac_cv_target=powerpc-apple-darwin7
ac_cv_target_alias=powerpc-apple-darwin7

## ----------------- ##
## Output variables. ##
## ----------------- ##

ASLIBEXECDIR=''
ASTARGETS=''
CC='/home/lilydev/git/newgub/target/linux-x86/root/usr/cross/i686-linux/bin/gcc'
CFLAGS=''
COMPONENTS=''
CPP=''
CPPFLAGS='-DSTDC_HEADERS'
CXX='/home/lilydev/git/newgub/target/linux-x86/root/usr/cross/i686-linux/bin/g++'
CXXFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EMULATED_OBJ=''
ENDIAN_FLAG=''
EXEEXT=''
HAVE_FOREIGN_HEADERS=''
HAVE_PRIVEXT=''
HOST_AR=''
HOST_RANLIB=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS='-Wl,-headerpad_max_install_names '
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBOBJS=''
LIBS=''
LN_S=''
LTLIBOBJS=''
MDYNAMICNOPIC=''
OBJC=''
OBJEXT=''
PACKAGE_BUGREPORT='address@hidden'
PACKAGE_NAME='odcctools'
PACKAGE_STRING='odcctools 622.3od16'
PACKAGE_TARNAME='odcctools'
PACKAGE_VERSION='622.3od16'
PATH_SEPARATOR=':'
SHELL='/bin/sh'
WARNINGS=''
YACC=''
ac_ct_CC='/home/lilydev/git/newgub/target/linux-x86/root/usr/cross/i686-linux/bin/gcc'
ac_ct_CXX=''
ac_ct_HOST_AR=''
ac_ct_HOST_RANLIB=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${prefix}/share'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/home/lilydev/git/newgub/target/darwin-ppc/root/usr/cross'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='powerpc-apple-darwin7'
target_alias='powerpc-apple-darwin7'
target_cpu='powerpc'
target_os='darwin7'
target_vendor='apple'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT "address@hidden"
#define PACKAGE_NAME "odcctools"
#define PACKAGE_STRING "odcctools 622.3od16"
#define PACKAGE_TARNAME "odcctools"
#define PACKAGE_VERSION "622.3od16"

configure: exit 77
"""





reply via email to

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