Hello, [EMAIL PROTECTED]

I'm trying to build GCC 4.2 that is prerequisite for webkit. Yes, I
know that webkit is work in progress, but I just want to link it with
Qt 4.4. Maybe... No, sure :) that I don't understand something obvious:


/usr/ports/lang/gcc/4.2$ SUBPACKAGE=-c++ FLAVOR=c++ make install
===>  g++-4.2.20070307p7 depends on: gcc-4.2.20070307 - found
===>  g++-4.2.20070307p7 depends on: libstdc++-* - not found
===>  Verifying install for libstdc++-* in lang/gcc/4.2
===>  Configuring for gcc-4.2.20070307
loading site script /usr/ports/infrastructure/db/config.site
loading cache ./config.cache
checking host system type... i386-unknown-openbsd4.4
checking target system type... i386-unknown-openbsd4.4
checking build system type... i386-unknown-openbsd4.4
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.
*** Error code 1

Stop in /usr/ports/lang/gcc/4.2 (line 2139 of 
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/lang/gcc/4.2 (line 1422 of 
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/lang/gcc/4.2 (line 1962 of 
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/lang/gcc/4.2 (line 1452 of 
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/lang/gcc/4.2 (line 1599 of 
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/lang/gcc/4.2 (line 1452 of 
/usr/ports/infrastructure/mk/bsd.port.mk).
/usr/ports/lang/gcc/4.2$ /usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/egcc
/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bootstrap/bin/egcc: can't load 
library 'libc.so.42.0'


Somehow (with "FLAVOR=c++") I built gcc, but without FLAVOR or with
both "c++" FLAVOR and subpackage, it fails like it shown above.

Should I recreate bootstrap by myself? Or what? Forward thanks for any
thoughts. :)

-- 
  Best wishes,
    Vadim Zhukov

Reply via email to