tech-pkg archive

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

bootstrap fails on MacOS X 10.4



On MacOS 10.4.11 (PPC) bootstrap (with the latest CVS version of pkgsrc) fails like this:

===> Configuring for bmake-20081111
=> Configuring and building libnbcompat
configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used.
checking build system type... powerpc-apple-darwin8.11.0
checking host system type... powerpc-apple-darwin8
checking whether make sets $(MAKE)... yes
checking for powerpc-apple-darwin8-gcc... gcc -isystem /usr/include
checking for C compiler default output file name...
configure: error: in `/Users/schwarz/pkgsrc/bootstrap/work/wrk/devel/ bmake/work/libnbcompat':
configure: error: C compiler cannot create executables
See `config.log' for more details.


the respective config.log has

configure:1865: checking build system type
configure:1883: result: powerpc-apple-darwin8.11.0
configure:1905: checking host system type
configure:1920: result: powerpc-apple-darwin8
configure:1947: checking whether make sets $(MAKE)
configure:1969: result: yes
configure:1986: checking for powerpc-apple-darwin8-gcc
configure:2013: result: gcc -isystem /usr/include
configure:2285: checking for C compiler version
configure:2293: gcc -isystem /usr/include --version >&5
gcc: installation problem, cannot exec '/Users/schwarz/pkgsrc/ bootstrap/work/wrk/devel/bmake/work/.gcc/bin/powerpc-apple-darwin8- gcc-4.0.1': No such file or directory

etc.


My interpretation is the following:

/usr/bin/gcc is softlinked to gcc-4.0 which in turn seems to be a wrapper calling (on that system) powerpc-apple-darwin8-gcc-4.0.1 in the same directory. However, powerpc-apple-darwin8-gcc-4.0.1 is not known to buildlink, so it is not found.

We can reproduce this easily:

imac:~ schwarz$ cd /tmp
imac:/tmp schwarz$ ln -s /usr/bin/gcc gcc
imac:/tmp schwarz$ ./gcc
gcc: installation problem, cannot exec './powerpc-apple-darwin8- gcc-4.0.1': No such file or directory

or

imac:/tmp schwarz$ /tmp/gcc
gcc: installation problem, cannot exec '/tmp/powerpc-apple-darwin8- gcc-4.0.1': No such file or directory


Any ideas how to solve that issue?

--
Georg Schwarz    http://home.pages.de/~schwarz/
georg.schwarz%freenet.de@localhost  +49 151 11559652




Home | Main Index | Thread Index | Old Index