Page 1 of 1

configure fails on ppc64

Posted: Mon Nov 20, 2006 3:06 pm
by litch
[[email protected] part]# ./configure --prefix=/usr
checking build system type... powerpc-unknown-linux-gnu
checking host system type... powerpc-unknown-linux-gnu
checking target system type... powerpc-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
./configure: line 1822: dist-bzip2: command not found
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
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.


....

configure:2370: checking for C compiler default output file name
configure:2373: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2376: $? = 1

....

[[email protected] part]# locate crt1
/usr/lib64/crt1.o

what should i do?
install the 32version lib?

Posted: Wed Apr 18, 2007 8:06 am
by snowybee
Hello

I had same problem and installed the correct library to solve it :-

rpm -Uvh /data/RPMS/FC5/glibc-devel-2.4-4.ppc.rpm

Hope this helps.

Bye