Hi all,
I'm attempting to build TenFourFox on Leopard. Following the guide here which works on Tiger, this is the result when running
Any help debugging this would be appreciated. Thanks.
I'm attempting to build TenFourFox on Leopard. Following the guide here which works on Tiger, this is the result when running
Code:
gmake -f client.mk build
Code:
powermac-g4:dev chris$ cd tenfourfox-master
powermac-g4:tenfourfox-master chris$ cp G4-7450.mozcfg .mozconfig
powermac-g4:tenfourfox-master chris$ autoconf213
powermac-g4:tenfourfox-master chris$ gmake -f client.mk build
mkdir -p '/Users/chris/dev/tenfourfox-master/obj-ff-dbg/'
python2.7 /Users/chris/dev/tenfourfox-master/config/pythonpath.py -I /Users/chris/dev/tenfourfox-master/testing/mozbase/mozfile \
/Users/chris/dev/tenfourfox-master/python/mozbuild/mozbuild/controller/clobber.py /Users/chris/dev/tenfourfox-master /Users/chris/dev/tenfourfox-master/obj-ff-dbg
Clobber not needed.
> /Users/chris/dev/tenfourfox-master/obj-ff-dbg/.mozconfig.mk
gmake -f /Users/chris/dev/tenfourfox-master/client.mk realbuild CREATE_MOZCONFIG_JSON=
gmake[1]: Entering directory '/Users/chris/dev/tenfourfox-master'
Adding client.mk options from /Users/chris/dev/tenfourfox-master/.mozconfig:
AUTOCONF=autoconf213
MOZ_MAKE_FLAGS=-s -j2
MOZ_OBJDIR=/Users/chris/dev/tenfourfox-master/obj-ff-dbg
OBJDIR=/Users/chris/dev/tenfourfox-master/obj-ff-dbg
FOUND_MOZCONFIG=/Users/chris/dev/tenfourfox-master/.mozconfig
Generating /Users/chris/dev/tenfourfox-master/js/src/configure using autoconf
cd /Users/chris/dev/tenfourfox-master/js/src; autoconf213
gmake[2]: Entering directory '/Users/chris/dev/tenfourfox-master'
cp /Users/chris/dev/tenfourfox-master/.mozconfig /Users/chris/dev/tenfourfox-master/obj-ff-dbg/.mozconfig
cd /Users/chris/dev/tenfourfox-master/obj-ff-dbg
/Users/chris/dev/tenfourfox-master/configure
Adding configure options from /Users/chris/dev/tenfourfox-master/.mozconfig
--enable-application=browser
--disable-tests
--disable-static
--enable-optimize
--disable-cpp-exceptions
--disable-debug
--disable-crashreporter
--enable-printing
--enable-prebinding
--enable-macos-target=10.4
--enable-chrome-format=jar
--with-macos-sdk=/Developer/SDKs/MacOSX10.4u.sdk
--enable-tenfourfox-vmx
--enable-strip
--enable-install-strip
--with-system-jpeg
--with-distribution-id=com.floodgap
--enable-webrtc
creating cache ./config.cache
checking host system type... powerpc-apple-darwin9.8.0
checking target system type... powerpc-apple-darwin9.8.0
checking build system type... powerpc-apple-darwin9.8.0
checking for mawk... no
checking for gawk... gawk
checking for python2.7... /opt/macports-tff/bin/python2.7
Creating Python environment
New python executable in /Users/chris/dev/tenfourfox-master/obj-ff-dbg/_virtualenv/bin/python
Installing setuptools, pip...done.
running build_ext
building 'psutil._psutil_osx' extension
creating build
creating build/temp.macosx-10.5-ppc-2.7
creating build/temp.macosx-10.5-ppc-2.7/psutil
creating build/temp.macosx-10.5-ppc-2.7/psutil/arch
creating build/temp.macosx-10.5-ppc-2.7/psutil/arch/osx
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -pipe -Os -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DPSUTIL_VERSION=311 -I/opt/macports-tff/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c psutil/_psutil_osx.c -o build/temp.macosx-10.5-ppc-2.7/psutil/_psutil_osx.o
psutil/_psutil_osx.c: In function 'psutil_proc_memory_maps':
psutil/_psutil_osx.c:322: warning: format '%016lx' expects type 'long unsigned int', but argument 3 has type 'vm_address_t'
psutil/_psutil_osx.c:322: warning: format '%016lx' expects type 'long unsigned int', but argument 4 has type 'vm_address_t'
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -pipe -Os -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DPSUTIL_VERSION=311 -I/opt/macports-tff/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c psutil/_psutil_common.c -o build/temp.macosx-10.5-ppc-2.7/psutil/_psutil_common.o
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -pipe -Os -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DPSUTIL_VERSION=311 -I/opt/macports-tff/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c psutil/arch/osx/process_info.c -o build/temp.macosx-10.5-ppc-2.7/psutil/arch/osx/process_info.o
creating build/lib.macosx-10.5-ppc-2.7
creating build/lib.macosx-10.5-ppc-2.7/psutil
/usr/bin/gcc-4.2 -bundle -undefined dynamic_lookup -L/opt/macports-tff/lib -Wl,-headerpad_max_install_names -L/opt/macports-tff/lib/db48 build/temp.macosx-10.5-ppc-2.7/psutil/_psutil_osx.o build/temp.macosx-10.5-ppc-2.7/psutil/_psutil_common.o build/temp.macosx-10.5-ppc-2.7/psutil/arch/osx/process_info.o -o build/lib.macosx-10.5-ppc-2.7/psutil/_psutil_osx.so -framework CoreFoundation -framework IOKit
building 'psutil._psutil_posix' extension
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -pipe -Os -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/macports-tff/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c psutil/_psutil_posix.c -o build/temp.macosx-10.5-ppc-2.7/psutil/_psutil_posix.o
psutil/_psutil_posix.c: In function 'psutil_net_if_stats':
psutil/_psutil_posix.c:403: warning: implicit declaration of function 'ioctl'
/usr/bin/gcc-4.2 -bundle -undefined dynamic_lookup -L/opt/macports-tff/lib -Wl,-headerpad_max_install_names -L/opt/macports-tff/lib/db48 build/temp.macosx-10.5-ppc-2.7/psutil/_psutil_posix.o -o build/lib.macosx-10.5-ppc-2.7/psutil/_psutil_posix.so
copying build/lib.macosx-10.5-ppc-2.7/psutil/_psutil_osx.so -> psutil
copying build/lib.macosx-10.5-ppc-2.7/psutil/_psutil_posix.so -> psutil
checking Python environment is Mozilla virtualenv... yes
checking for perl5... /opt/macports-tff/bin/perl5
checking for gcc... /opt/local/bin/gcc-mp-4.8 -flax-vector-conversions -O3 -mcpu=7450 -mtune=7450 -falign-loops=16 -falign-functions=16 -falign-labels=16 -falign-jumps=16 -read_only_relocs suppress -mdynamic-no-pic
checking whether the C compiler (/opt/local/bin/gcc-mp-4.8 -flax-vector-conversions -O3 -mcpu=7450 -mtune=7450 -falign-loops=16 -falign-functions=16 -falign-labels=16 -falign-jumps=16 -read_only_relocs suppress -mdynamic-no-pic ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
------ config.log ------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:1218: checking host system type
configure:1239: checking target system type
configure:1257: checking build system type
configure:1338: checking for mawk
configure:1338: checking for gawk
configure:1423: checking for python2.7
configure:1533: checking Python environment is Mozilla virtualenv
configure:1768: checking for perl5
configure:3454: checking for gcc
configure:3567: checking whether the C compiler (/opt/local/bin/gcc-mp-4.8 -flax-vector-conversions -O3 -mcpu=7450 -mtune=7450 -falign-loops=16 -falign-functions=16 -falign-labels=16 -falign-jumps=16 -read_only_relocs suppress -mdynamic-no-pic ) works
configure:3583: /opt/local/bin/gcc-mp-4.8 -flax-vector-conversions -O3 -mcpu=7450 -mtune=7450 -falign-loops=16 -falign-functions=16 -falign-labels=16 -falign-jumps=16 -read_only_relocs suppress -mdynamic-no-pic -o conftest conftest.c 1>&5
/Users/chris/dev/tenfourfox-master/configure: line 3582: /opt/local/bin/gcc-mp-4.8: No such file or directory
configure: failed program was:
#line 3578 "configure"
#include "confdefs.h"
main(){return(0);}
configure: error: installation or configuration problem: C compiler cannot create executables.
*** Fix above errors and then restart with\
"gmake -f client.mk build"
gmake[2]: *** [/Users/chris/dev/tenfourfox-master/client.mk:361: configure] Error 1
gmake[2]: Leaving directory '/Users/chris/dev/tenfourfox-master'
gmake[1]: *** [/Users/chris/dev/tenfourfox-master/client.mk:373: /Users/chris/dev/tenfourfox-master/obj-ff-dbg/Makefile] Error 2
gmake[1]: Leaving directory '/Users/chris/dev/tenfourfox-master'
gmake: *** [client.mk:171: build] Error 2
Any help debugging this would be appreciated. Thanks.