Opened 15 years ago
Closed 15 years ago
#20984 closed defect (invalid)
glib2 Configure error - build failure
Reported by: | PaulForgey (Paul Forgey) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | glib2 libiconv | Cc: | |
Port: | glib2 |
Description
(the libiconv port is also installed already
$ sudo port -vuc install glib2 ---> Computing dependencies for glib2. ---> Configuring glib2 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i386-apple-darwin10.0.0 checking host system type... i386-apple-darwin10.0.0 checking for the BeOS... no checking for Win32... no checking for Mac OS X Carbon support... checking for style of include used by make... GNU checking for gcc... /usr/bin/gcc-4.2 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc-4.2 accepts -g... yes checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed checking dependency style of /usr/bin/gcc-4.2... gcc3 checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E yes checking whether to enable garbage collector friendliness... no checking whether to disable memory pools... no checking for gcc... (cached) /usr/bin/gcc-4.2 checking whether we are using the GNU C compiler... (cached) yes checking whether /usr/bin/gcc-4.2 accepts -g... (cached) yes checking for /usr/bin/gcc-4.2 option to accept ISO C89... (cached) none needed checking dependency style of /usr/bin/gcc-4.2... (cached) gcc3 checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E checking for c++... /usr/bin/g++-4.2 checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/g++-4.2 accepts -g... yes checking dependency style of /usr/bin/g++-4.2... gcc3 checking for gcc... (cached) /usr/bin/gcc-4.2 checking whether we are using the GNU C compiler... (cached) yes checking whether /usr/bin/gcc-4.2 accepts -g... (cached) yes checking for /usr/bin/gcc-4.2 option to accept ISO C89... (cached) none needed checking dependency style of /usr/bin/gcc-4.2... (cached) gcc3 checking whether /usr/bin/gcc-4.2 and cc understand -c and -o together... yes checking for a BSD-compatible install... /usr/bin/install -c checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for pkg-config... /opt/local/bin/pkg-config checking for gawk... (cached) awk checking for perl5... /opt/local/bin/perl checking for indent... indent checking for /opt/local/bin/perl... /opt/local/bin/perl checking for a Python interpreter with version >= 2.4... python checking for python... /usr/bin/python checking for python version... 2.6 checking for python platform... darwin checking for python script directory... ${prefix}/lib/python2.6/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages checking for iconv_open... no checking for libiconv_open in -liconv... no checking for iconv_open in -liconv... no configure: error: *** No iconv() implementation found in C library or libiconv Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_glib2/work/glib-2.20.4" && ./configure --prefix=/opt/local --enable-static " returned error 1 Command output: checking dependency style of /usr/bin/gcc-4.2... (cached) gcc3 checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E checking for c++... /usr/bin/g++-4.2 checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/g++-4.2 accepts -g... yes checking dependency style of /usr/bin/g++-4.2... gcc3 checking for gcc... (cached) /usr/bin/gcc-4.2 checking whether we are using the GNU C compiler... (cached) yes checking whether /usr/bin/gcc-4.2 accepts -g... (cached) yes checking for /usr/bin/gcc-4.2 option to accept ISO C89... (cached) none needed checking dependency style of /usr/bin/gcc-4.2... (cached) gcc3 checking whether /usr/bin/gcc-4.2 and cc understand -c and -o together... yes checking for a BSD-compatible install... /usr/bin/install -c checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for pkg-config... /opt/local/bin/pkg-config checking for gawk... (cached) awk checking for perl5... /opt/local/bin/perl checking for indent... indent checking for /opt/local/bin/perl... /opt/local/bin/perl checking for a Python interpreter with version >= 2.4... python checking for python... /usr/bin/python checking for python version... 2.6 checking for python platform... darwin checking for python script directory... ${prefix}/lib/python2.6/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages checking for iconv_open... no checking for libiconv_open in -liconv... no checking for iconv_open in -liconv... no configure: error: *** No iconv() implementation found in C library or libiconv Warning: the following items did not execute (for glib2): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
Change History (3)
comment:1 Changed 15 years ago by tobypeterson
comment:2 Changed 15 years ago by PaulForgey (Paul Forgey)
D'oh, that answered my question and this bug is in error. Apologies.
OS 10.6 with gcc-4.2 by default now builds x64, and so that library will not link.
Rebuilding all my installed ports now (which is actually problematic, as -f upgrade won't rebuild dependancies first)
lipo -info /opt/local/lib/libiconv.dylib Non-fat file: /opt/local/lib/libiconv.dylib is architecture: i386
comment:3 Changed 15 years ago by tobypeterson
Resolution: | → invalid |
---|---|
Status: | new → closed |
see Migration
Note: See
TracTickets for help on using
tickets.
What is the output of
lipo -info /opt/local/lib/libiconv.dylib
?