Re: error when updating ports
On 2009-12-08, Ismail OZATAY wrote: > After that in /usr/ports directory > i used "make update" to update ports tree This doesn't do what you think it does.
Re: error when updating ports
On Tue, Dec 08, 2009 at 07:43:00AM +0200, Ismail OZATAY wrote: > checking for gcc... /usr/ports/obj/gcc-4.2.4/bin/egcc > checking whether the C compiler (/usr/ports/obj/gcc-4.2.4/bin/egcc > -O2 -g ) works... no > configure: error: installation or configuration problem: C compiler > cannot create executables. You break it, you fix it.
error when updating ports
Hello , I have just installed a new OpenBSD 4.6 release then get the new ports tree from the mirror and extract it. After that in /usr/ports directory i used "make update" to update ports tree but i get some compile errors like this ; ===> Building package for mpfr-2.3.2 Create /usr/ports/packages/i386/all/mpfr-2.3.2.tgz Switching to /usr/ports/devel/mpfr/pkg/PFRAG.shared Link to /usr/ports/packages/i386/ftp/mpfr-2.3.2.tgz Link to /usr/ports/packages/i386/cdrom/mpfr-2.3.2.tgz ===> Verifying specs: gmp ===> found gmp.8.0 ===> Installing mpfr-2.3.2 from /usr/ports/packages/i386/all/ mpfr-2.3.2: complete ===> Returning to build of g++-4.2.4p5 ===> g++-4.2.4p5 depends on: mpfr-* - found ===> Verifying specs: gmp mpfr c c c c m c c c m pthread z c ===> found gmp.8.0 mpfr.0.2 c.51.0 m.5.0 pthread.11.1 z.4.1 ===> Extracting for gcc-4.2.4 echo "#! /bin/sh" >/usr/ports/obj/gcc-4.2.4/bin/egcc echo 'GNAT_ROOT=/usr/ports/obj/gcc-4.2.4/bootstrap GCC_ROOT=/usr/ports/obj/gcc-4.2.4/bootstrap exec /usr/ports/obj/gcc-4.2.4/bootstrap/bin/egcc "$@"' >>/usr/ports/obj/gcc-4.2.4/bin/egcc chmod a+x /usr/ports/obj/gcc-4.2.4/bin/egcc echo "#! /bin/sh" >/usr/ports/obj/gcc-4.2.4/bin/gnatbind echo 'GNAT_ROOT=/usr/ports/obj/gcc-4.2.4/bootstrap GCC_ROOT=/usr/ports/obj/gcc-4.2.4/bootstrap exec /usr/ports/obj/gcc-4.2.4/bootstrap/bin/gnatbind "$@"' >>/usr/ports/obj/gcc-4.2.4/bin/gnatbind chmod a+x /usr/ports/obj/gcc-4.2.4/bin/gnatbind echo "#! /bin/sh" >/usr/ports/obj/gcc-4.2.4/bin/gnatmake echo 'GNAT_ROOT=/usr/ports/obj/gcc-4.2.4/bootstrap GCC_ROOT=/usr/ports/obj/gcc-4.2.4/bootstrap exec /usr/ports/obj/gcc-4.2.4/bootstrap/bin/gnatmake "$@"' >>/usr/ports/obj/gcc-4.2.4/bin/gnatmake chmod a+x /usr/ports/obj/gcc-4.2.4/bin/gnatmake echo "#! /bin/sh" >/usr/ports/obj/gcc-4.2.4/bin/gnatlink echo 'GNAT_ROOT=/usr/ports/obj/gcc-4.2.4/bootstrap GCC_ROOT=/usr/ports/obj/gcc-4.2.4/bootstrap exec /usr/ports/obj/gcc-4.2.4/bootstrap/bin/gnatlink "$@"' >>/usr/ports/obj/gcc-4.2.4/bin/gnatlink chmod a+x /usr/ports/obj/gcc-4.2.4/bin/gnatlink ln -s /usr/bin/nm /usr/ports/obj/gcc-4.2.4/bin/enm echo "# This file automatically generated" >> /usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions echo "LIBestdc++_LTVERSION = -version-info 11:0" >> /usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions echo "LIBgfortran_LTVERSION = -version-info 2:0" >> /usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions echo "LIB-org-w3c-dom_LTVERSION = -version-info 1:0" >> /usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions echo "LIB-org-xml-sax_LTVERSION = -version-info 1:0" >> /usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions echo "LIBgcj_LTVERSION = -version-info 0:0" >> /usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions echo "LIBffi_LTVERSION = -version-info 0:0" >> /usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions echo "LIBgcj-tools_LTVERSION = -version-info 0:0" >> /usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions echo "LIBgij_LTVERSION = -version-info 0:0" >> /usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions echo "LIBobjc_LTVERSION = -version-info 2:0" >> /usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions echo "LIBobjc_gc_LTVERSION = -version-info 2:0" >> /usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions echo "LIBssp_LTVERSION = -version-info 0:0" >> /usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions echo "LIBgomp_LTVERSION = -version-info 1:0" >> /usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions ===> Patching for gcc-4.2.4 cd /usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libstdc++-v3 && AUTOCONF_VERSION=2.59 autoconf ===> Configuring for gcc-4.2.4 loading site script /usr/ports/infrastructure/db/config.site creating cache ./config.cache checking host system type... i386-unknown-openbsd4.6 checking target system type... i386-unknown-openbsd4.6 checking build system type... i386-unknown-openbsd4.6 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/obj/gcc-4.2.4/bin/egcc checking whether the C compiler (/usr/ports/obj/gcc-4.2.4/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 2164 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/lang/gcc/4.2 (line 1444 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/lang/gcc/4.2 (line 1984 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/lang/gcc/4.2 (line 1474 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/www/webkit (line 1621 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/www/webkit (line 2018 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/www/webkit (line 1444 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/www/webkit (line 1984 of /usr/ports/in