On Fri, 24 Apr 2009, Pau wrote:

> PS: For completion, this is what I meant:
> 
> 
> ===>  Patching for gcc-4.2.20070307
> cd /usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/gcc-4.2-20070307/libstdc++-v3
> && AUTOCONF_VERSION=2.59 autoconf
> ===>  Configuring for gcc-4.2.20070307
> loading site script /usr/ports/infrastructure/db/config.site
> creating cache ./config.cache
> checking host system type... i386-unknown-openbsd4.5
> checking target system type... i386-unknown-openbsd4.5
> checking build system type... i386-unknown-openbsd4.5
> checking for a BSD compatible install... /usr/bin/install -c -o root -g bin
> checking whether ln works... yes
> checking whether ln -s works... yes
> checking for gcc... /usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/egcc
> checking whether the C compiler
> (/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/egcc -O2 -g ) works...
> no
> configure: error: installation or configuration problem: C compiler
> cannot create executables.

You need /usr/lib/libc.so.42.0
Of course, the doc says that you should use a package...


-- 
Antoine

Reply via email to