Hi, My installation of pkg_comp is failing to configure gettext-tools. This is the output: => Checksum SHA1 OK for gettext-0.14.6.tar.gz => Checksum RMD160 OK for gettext-0.14.6.tar.gz ===> Installing dependencies for gettext-tools-0.14.6 => Required installed package digest>=20010302: digest-20060826 found => Required installed package libtool-base>=1.5.18nb5: libtool-base-1.5.22nb4 fo und => Required installed package gettext-lib>=0.14.5: gettext-lib-0.14.6 found ===> Overriding tools for gettext-tools-0.14.6 ===> Extracting for gettext-tools-0.14.6 ===> Patching for gettext-tools-0.14.6 => Applying pkgsrc patches for gettext-tools-0.14.6 ===> Creating toolchain wrappers for gettext-tools-0.14.6 ===> Configuring for gettext-tools-0.14.6 => Checking for portability problems in extracted files => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Fixing locale directory references. ... checking for strip... strip checking build system type... i386-unknown-netbsdelf4.99.16 checking host system type... i386--netbsdelf configure: creating ./config.status config.status: creating Makefile configure: configuring in autoconf-lib-link configure: running /bin/sh './configure' --prefix=/usr/pkg '--without-included-gettext' '--with-libiconv-prefix=/usr/pkg' '--with-libintl-prefix=/usr/pkg' '--prefix=/usr/pkg' '--host=i386--netbsdelf' '--infodir=/usr/pkg/info' '--mandir=/usr/pkg/man' 'CC=cc' 'CFLAGS=-O2 -I/usr/pkg/include' 'CPPFLAGS=-I/usr/pkg/include' 'CXXCPP=cpp' 'CXXFLAGS=-O2 -I/usr/pkg/include' 'CXX=c++' 'F77=f77' 'FFLAGS=-O' 'GCJ=' 'LDFLAGS=-L/usr/pkg/lib -Wl,-R/usr/pkg/lib' 'host_alias=i386--netbsdelf' --cache-file=/dev/null --srcdir=. 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 for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... /usr/bin/awk checking whether make sets $(MAKE)... yes checking for i386--netbsdelf-strip... no checking for strip... strip checking for i386--netbsdelf-gcc... cc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. configure: error: /bin/sh './configure' failed for autoconf-lib-link *** Error code 1 And the relevant config.log message: Target: i386--netbsdelf Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure --enable-long- long --disable-multilib --enable-threads --disable-symvers --build=x86_64-unknow n-netbsd4.99.12 --host=i386--netbsdelf --target=i386--netbsdelf Thread model: posix gcc version 4.1.2 20070110 prerelease (NetBSD nb1 20070110) configure:2264: $? = 0 configure:2266: cc -V </dev/null >&5 gcc: couldn't run '/usr/bin/i386--netbsdelf-gcc--I/pkg_comp/obj/pkgsrc/devel/get text-tools/default/.buildlink/include': No such file or directory [wrapper.sh] note: The real command line, after the pkgsrc wrapper, was: /pkg_comp/obj/pkgsrc/devel/gettext-tools/default/.gcc/bin/gcc -V -I/pkg_comp/obj /pkgsrc/devel/gettext-tools/default/.buildlink/include -L/pkg_comp/obj/pkgsrc/de vel/gettext-tools/default/.buildlink/lib configure:2269: $? = 1 configure:2292: checking for C compiler default output file name configure:2295: cc -O2 -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -Wl, -R/usr/pkg/lib conftest.c -lintl -liconv >&5 /pkg_comp/obj/pkgsrc/devel/gettext-tools/default/.buildlink/lib/libintl.so: unde fined reference to `locale_charset' [wrapper.sh] note: The real command line, after the pkgsrc wrapper, was: /pkg_comp/obj/pkgsrc/devel/gettext-tools/default/.gcc/bin/gcc -O2 -I/pkg_comp/ob j/pkgsrc/devel/gettext-tools/default/.buildlink/include -L/pkg_comp/obj/pkgsrc/d evel/gettext-tools/default/.buildlink/lib -Wl,-R/usr/pkg/lib conftest.c -lintl -liconv configure:2298: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "autoconf-lib-link" | #define VERSION "0.14.6" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2336: error: C compiler cannot create executables The package was configured with rebuilt versions of gettext-lib and libiconv from pkgsrc; and it configures fine outside pkg_comp. Regards -- César Catrián Carreño
Attachment:
pgpaXnqIMpIUr.pgp
Description: PGP signature