glib20 and iconv

James Pace jepace at PaceHouse.com
Fri Jun 4 01:11:49 GMT 2004


Hi.

I'm trying to upgrade to gnome 2, but the gnome_upgrade.sh script is
failing when trying to build devel/glib20 during its configure ...

checking for libiconv_open in -liconv... no
configure: error: *** No iconv() implementation found in C library or
libiconv
===>  Script "configure" failed unexpectedly.

I've deinstsalled/reinstalled libiconv.

Attached is the config log.

Thanks for any help.

-James
-- 
James E. Pace <jepace at PaceHouse.com>
-------------- next part --------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by glib configure 2.4.1, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --enable-static --with-libiconv=gnu --disable-gtk-doc --with-html-dir=/usr/local/share/doc --disable-man --without-xml-catalog --prefix=/usr/local --build=i386-portbld-freebsd5.2

## --------- ##
## Platform. ##
## --------- ##

hostname = tigger.PaceHouse.com
uname -m = i386
uname -r = 5.2-CURRENT
uname -s = FreeBSD
uname -v = FreeBSD 5.2-CURRENT #2: Sun Mar 28 09:40:44 PST 2004     root at tigger.PaceHouse.com:/usr/src/sys/i386/compile/TIGGER 

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/libexec/libtool13
PATH: /home/jepace/usr/bin
PATH: /home/jepace/usr/bin/FreeBSD
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /home/jepace/bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1579: checking for a BSD-compatible install
configure:1634: result: /usr/bin/install -c -o root -g wheel
configure:1645: checking whether build environment is sane
configure:1688: result: yes
configure:1721: checking for gawk
configure:1750: result: no
configure:1721: checking for mawk
configure:1750: result: no
configure:1721: checking for nawk
configure:1737: found /usr/bin/nawk
configure:1747: result: nawk
configure:1757: checking whether gmake sets $(MAKE)
configure:1777: result: yes
configure:1990: checking whether to enable maintainer-specific portions of Makefiles
configure:1999: result: no
configure:2021: checking build system type
configure:2039: result: i386-portbld-freebsd5.2
configure:2047: checking host system type
configure:2061: result: i386-portbld-freebsd5.2
configure:2070: checking for the BeOS
configure:2080: result: no
configure:2084: checking for Win32
configure:2114: result: no
configure:2239: checking whether to enable garbage collector friendliness
configure:2251: result: no
configure:2255: checking whether to disable memory pools
configure:2258: result: no
configure:2330: checking for gcc
configure:2356: result: cc
configure:2600: checking for C compiler version
configure:2603: cc --version </dev/null >&5
cc (GCC) 3.3.3 [FreeBSD] 20031106
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2606: $? = 0
configure:2608: cc -v </dev/null >&5
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.3.3 [FreeBSD] 20031106
configure:2611: $? = 0
configure:2613: cc -V </dev/null >&5
cc: `-V' option must have argument
configure:2616: $? = 1
configure:2639: checking for C compiler default output file name
configure:2642: cc -O -pipe  -I/usr/local/include  -rpath=/usr/lib:/usr/local/lib conftest.c  >&5
configure:2645: $? = 0
configure:2691: result: a.out
configure:2696: checking whether the C compiler works
configure:2702: ./a.out
configure:2705: $? = 0
configure:2722: result: yes
configure:2729: checking whether we are cross compiling
configure:2731: result: no
configure:2734: checking for suffix of executables
configure:2736: cc -o conftest -O -pipe  -I/usr/local/include  -rpath=/usr/lib:/usr/local/lib conftest.c  >&5
configure:2739: $? = 0
configure:2764: result: 
configure:2770: checking for suffix of object files
configure:2791: cc -c -O -pipe  -I/usr/local/include conftest.c >&5
configure:2794: $? = 0
configure:2816: result: o
configure:2820: checking whether we are using the GNU C compiler
configure:2844: cc -c -O -pipe  -I/usr/local/include conftest.c >&5
configure:2850: $? = 0
configure:2854: test -z 
			 || test ! -s conftest.err
configure:2857: $? = 0
configure:2860: test -s conftest.o
configure:2863: $? = 0
configure:2876: result: yes
configure:2882: checking whether cc accepts -g
configure:2903: cc -c -g -I/usr/local/include conftest.c >&5
configure:2909: $? = 0
configure:2913: test -z 
			 || test ! -s conftest.err
configure:2916: $? = 0
configure:2919: test -s conftest.o
configure:2922: $? = 0
configure:2933: result: yes
configure:2950: checking for cc option to accept ANSI C
configure:3020: cc  -c -O -pipe  -I/usr/local/include conftest.c >&5
configure:3026: $? = 0
configure:3030: test -z 
			 || test ! -s conftest.err
configure:3033: $? = 0
configure:3036: test -s conftest.o
configure:3039: $? = 0
configure:3057: result: none needed
configure:3075: cc -c -O -pipe  -I/usr/local/include conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:3081: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:3225: checking for style of include used by gmake
configure:3253: result: GNU
configure:3281: checking dependency style of cc
configure:3364: result: gcc3
configure:3386: checking for c++
configure:3412: result: c++
configure:3525: checking for C++ compiler version
configure:3528: c++ --version </dev/null >&5
c++ (GCC) 3.3.3 [FreeBSD] 20031106
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3531: $? = 0
configure:3533: c++ -v </dev/null >&5
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.3.3 [FreeBSD] 20031106
configure:3536: $? = 0
configure:3538: c++ -V </dev/null >&5
c++: `-V' option must have argument
configure:3541: $? = 1
configure:3544: checking whether we are using the GNU C++ compiler
configure:3568: c++ -c -O -pipe -I/usr/local/include conftest.cc >&5
configure:3574: $? = 0
configure:3578: test -z 
			 || test ! -s conftest.err
configure:3581: $? = 0
configure:3584: test -s conftest.o
configure:3587: $? = 0
configure:3600: result: yes
configure:3606: checking whether c++ accepts -g
configure:3627: c++ -c -g -I/usr/local/include conftest.cc >&5
configure:3633: $? = 0
configure:3637: test -z 
			 || test ! -s conftest.err
configure:3640: $? = 0
configure:3643: test -s conftest.o
configure:3646: $? = 0
configure:3657: result: yes
configure:3699: c++ -c -O -pipe -I/usr/local/include conftest.cc >&5
configure:3705: $? = 0
configure:3709: test -z 
			 || test ! -s conftest.err
configure:3712: $? = 0
configure:3715: test -s conftest.o
configure:3718: $? = 0
configure:3744: c++ -c -O -pipe -I/usr/local/include conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:19: error: `exit' undeclared (first use this function)
conftest.cc:19: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)
configure:3750: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "glib"
| #define PACKAGE_TARNAME "glib"
| #define PACKAGE_VERSION "2.4.1"
| #define PACKAGE_STRING "glib 2.4.1"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=glib"
| #define GLIB_MAJOR_VERSION 2
| #define GLIB_MINOR_VERSION 4
| #define GLIB_MICRO_VERSION 1
| #define GLIB_INTERFACE_AGE 1
| #define GLIB_BINARY_AGE 401
| #define G_COMPILED_WITH_DEBUGGING "minimum"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:3699: c++ -c -O -pipe -I/usr/local/include conftest.cc >&5
configure:3705: $? = 0
configure:3709: test -z 
			 || test ! -s conftest.err
configure:3712: $? = 0
configure:3715: test -s conftest.o
configure:3718: $? = 0
configure:3744: c++ -c -O -pipe -I/usr/local/include conftest.cc >&5
configure:3750: $? = 0
configure:3754: test -z 
			 || test ! -s conftest.err
configure:3757: $? = 0
configure:3760: test -s conftest.o
configure:3763: $? = 0
configure:3788: checking dependency style of c++
configure:3871: result: gcc3
configure:3905: c++ -c -O -pipe -I/usr/local/include conftest.cc >&5
configure:3911: $? = 0
configure:3915: test -z 
			 || test ! -s conftest.err
configure:3918: $? = 0
configure:3921: test -s conftest.o
configure:3924: $? = 0
configure:3955: checking for cc option to accept ANSI C
configure:4018: cc  -c -O -pipe  -I/usr/local/include conftest.c >&5
configure:4024: $? = 0
configure:4028: test -z 
			 || test ! -s conftest.err
configure:4031: $? = 0
configure:4034: test -s conftest.o
configure:4037: $? = 0
configure:4052: result: none needed
configure:4076: checking for a BSD-compatible install
configure:4131: result: /usr/bin/install -c -o root -g wheel
configure:4150: checking for special C compiler options needed for large files
configure:4249: result: no
configure:4255: checking for _FILE_OFFSET_BITS value needed for large files
configure:4286: cc -c -O -pipe  -I/usr/local/include conftest.c >&5
configure:4292: $? = 0
configure:4296: test -z 
			 || test ! -s conftest.err
configure:4299: $? = 0
configure:4302: test -s conftest.o
configure:4305: $? = 0
configure:4370: result: no
configure:4380: checking for _LARGE_FILES value needed for large files
configure:4411: cc -c -O -pipe  -I/usr/local/include conftest.c >&5
configure:4417: $? = 0
configure:4421: test -z 
			 || test ! -s conftest.err
configure:4424: $? = 0
configure:4427: test -s conftest.o
configure:4430: $? = 0
configure:4495: result: no
configure:4513: checking for pkg-config
configure:4531: found /usr/local/bin/pkg-config
configure:4544: result: /usr/local/bin/pkg-config
configure:4629: checking for gawk
configure:4655: result: nawk
configure:4669: checking for perl5
configure:4685: found /usr/local/bin/perl5
configure:4695: result: perl5
configure:4708: checking for indent
configure:4724: found /usr/bin/indent
configure:4734: result: indent
configure:4755: checking for perl5
configure:4773: found /usr/local/bin/perl5
configure:4785: result: /usr/local/bin/perl5
configure:5145: checking for libiconv_open in -liconv
configure:5175: cc -o conftest -O -pipe  -I/usr/local/include  -rpath=/usr/lib:/usr/local/lib conftest.c -liconv   >&5
/usr/bin/ld: cannot find -liconv
configure:5181: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "glib"
| #define PACKAGE_TARNAME "glib"
| #define PACKAGE_VERSION "2.4.1"
| #define PACKAGE_STRING "glib 2.4.1"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=glib"
| #define GLIB_MAJOR_VERSION 2
| #define GLIB_MINOR_VERSION 4
| #define GLIB_MICRO_VERSION 1
| #define GLIB_INTERFACE_AGE 1
| #define GLIB_BINARY_AGE 401
| #define G_COMPILED_WITH_DEBUGGING "minimum"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char libiconv_open ();
| int
| main ()
| {
| libiconv_open ();
|   ;
|   return 0;
| }
configure:5207: result: no
configure:5287: error: *** No iconv() implementation found in C library or libiconv

## ---------------- ##
## Cache variables. ##
## ---------------- ##

am_cv_CC_dependencies_compiler_type=gcc3
ac_cv_env_CXXFLAGS_value='-O -pipe'
ac_cv_env_F77_value=
ac_cv_prog_cc_g=yes
ac_cv_env_CXXCPP_set=
ac_cv_env_LDFLAGS_set=set
ac_cv_path_PKG_CONFIG=/usr/local/bin/pkg-config
ac_cv_sys_large_files=no
ac_cv_c_compiler_gnu=yes
ac_cv_exeext=
ac_cv_env_CFLAGS_set=set
ac_cv_prog_CXX=c++
ac_cv_prog_make_gmake_set=yes
ac_cv_env_FFLAGS_set=
lt_cv_sys_max_cmd_len=65536
ac_cv_env_CPP_value=
ac_cv_env_CPPFLAGS_set=set
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CXX_set=set
ac_cv_env_host_alias_set=
ac_cv_env_build_alias_set=set
ac_cv_lib_iconv_libiconv_open=no
ac_cv_env_CXXCPP_value=
ac_cv_env_LDFLAGS_value=' -rpath=/usr/lib:/usr/local/lib'
ac_cv_env_target_alias_set=
ac_cv_prog_INDENT=indent
ac_cv_prog_cc_stdc=
ac_cv_host_alias=i386-portbld-freebsd5.2
ac_cv_env_CFLAGS_value='-O -pipe '
ac_cv_env_CC_set=set
ac_cv_env_FFLAGS_value=
ac_cv_build_alias=i386-portbld-freebsd5.2
ac_cv_env_CPPFLAGS_value=-I/usr/local/include
ac_cv_sys_largefile_CC=no
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXX_value=c++
ac_cv_host=i386-portbld-freebsd5.2
ac_cv_env_F77_set=
ac_cv_env_host_alias_value=
ac_cv_path_PERL_PATH=/usr/local/bin/perl5
ac_cv_prog_cxx_g=yes
am_cv_prog_cc_stdc=
am_cv_CXX_dependencies_compiler_type=gcc3
ac_cv_build=i386-portbld-freebsd5.2
ac_cv_prog_AWK=nawk
ac_cv_env_build_alias_value=i386-portbld-freebsd5.2
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_PERL=perl5
ac_cv_env_target_alias_value=
ac_cv_env_CC_value=cc
ac_cv_env_CPP_set=
ac_cv_sys_file_offset_bits=no
ac_cv_objext=o

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /usr/ports/devel/glib20/work/glib-2.4.1/missing --run aclocal-1.7'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/ports/devel/glib20/work/glib-2.4.1/missing --run tar'
AR=''
AUTOCONF='${SHELL} /usr/ports/devel/glib20/work/glib-2.4.1/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/ports/devel/glib20/work/glib-2.4.1/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/ports/devel/glib20/work/glib-2.4.1/missing --run automake-1.7'
AWK='nawk'
CATALOGS=''
CATOBJEXT=''
CC='cc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-O -pipe '
CPP=''
CPPFLAGS='-I/usr/local/include'
CROSS_COMPILING_FALSE=''
CROSS_COMPILING_TRUE=''
CXX='c++'
CXXCPP=''
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-O -pipe'
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR='.deps'
DISABLE_MEM_POOLS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_GC_FRIENDLY=''
ENABLE_GTK_DOC_FALSE=''
ENABLE_GTK_DOC_TRUE=''
ENABLE_MAN_FALSE=''
ENABLE_MAN_TRUE=''
ENABLE_TIMELOOP_FALSE=''
ENABLE_TIMELOOP_TRUE=''
EXEEXT=''
F77=''
FFLAGS=''
GETTEXT_PACKAGE=''
GIO=''
GLIBC21=''
GLIB_BINARY_AGE='401'
GLIB_DEBUG_FLAGS='-DG_DISABLE_CAST_CHECKS'
GLIB_DEF=''
GLIB_GENMARSHAL=''
GLIB_INTERFACE_AGE='1'
GLIB_MAJOR_VERSION='2'
GLIB_MICRO_VERSION='1'
GLIB_MINOR_VERSION='4'
GLIB_VERSION='2.4.1'
GMODULE_DEF=''
GMOFILES=''
GMSGFMT=''
GOBJECT_DEF=''
GSPAWN=''
GTHREAD_COMPILE_IMPL_DEFINES=''
GTHREAD_DEF=''
GTK_DOC_USE_LIBTOOL_FALSE=''
GTK_DOC_USE_LIBTOOL_TRUE=''
G_LIBS_EXTRA=''
G_LIB_WIN32_RESOURCE=''
G_MODULE_BROKEN_RTLD_GLOBAL=''
G_MODULE_HAVE_DLERROR=''
G_MODULE_IMPL=''
G_MODULE_LDFLAGS=''
G_MODULE_LIBS=''
G_MODULE_LIBS_EXTRA=''
G_MODULE_NEED_USCORE=''
G_MODULE_PLUGIN_LIBS=''
G_MODULE_SUPPORTED=''
G_MODULE_WIN32_RESOURCE=''
G_OBJECT_WIN32_RESOURCE=''
G_THREAD_CFLAGS=''
G_THREAD_LIBS=''
G_THREAD_LIBS_EXTRA=''
G_THREAD_LIBS_FOR_GTHREAD=''
G_THREAD_WIN32_RESOURCE=''
HAVE_CXX_FALSE='#'
HAVE_CXX_TRUE=''
HAVE_GOOD_PRINTF_FALSE=''
HAVE_GOOD_PRINTF_TRUE=''
HTML_DIR=''
ICONV_LIBS=''
INDENT='indent'
INSTALL_DATA='install  -o root -g wheel -m 444'
INSTALL_PROGRAM='install  -s -o root -g wheel -m 555'
INSTALL_SCRIPT='install  -o root -g wheel -m 555'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
LDFLAGS=' -rpath=/usr/lib:/usr/local/lib'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
LT_AGE='400'
LT_CURRENT='400'
LT_CURRENT_MINUS_AGE='0'
LT_RELEASE='2.4'
LT_REVISION='1'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /usr/ports/devel/glib20/work/glib-2.4.1/missing --run makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
MS_LIB_AVAILABLE_FALSE=''
MS_LIB_AVAILABLE_TRUE='#'
OBJEXT='o'
OS_WIN32_FALSE=''
OS_WIN32_TRUE='#'
PACKAGE='glib'
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=glib'
PACKAGE_NAME='glib'
PACKAGE_STRING='glib 2.4.1'
PACKAGE_TARNAME='glib'
PACKAGE_VERSION='2.4.1'
PATH_SEPARATOR=':'
PERL='perl5'
PERL_PATH='/usr/local/bin/perl5'
PKG_CONFIG='/usr/local/bin/pkg-config'
PLATFORMDEP=''
PLATFORM_WIN32_FALSE=''
PLATFORM_WIN32_TRUE=''
POFILES=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
RANLIB=''
REBUILD=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
TESTGMODULE_EXP=''
USE_NLS=''
VERSION='2.4.1'
XGETTEXT=''
XMLCATALOG=''
XML_CATALOG_FILE=''
XSLTPROC=''
ac_ct_AR=''
ac_ct_CC='cc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build='i386-portbld-freebsd5.2'
build_alias='i386-portbld-freebsd5.2'
build_cpu='i386'
build_os='freebsd5.2'
build_vendor='portbld'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i386-portbld-freebsd5.2'
host_alias=''
host_cpu='i386'
host_os='freebsd5.2'
host_vendor='portbld'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/usr/ports/devel/glib20/work/glib-2.4.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
ms_librarian=''
oldincludedir='/usr/include'
prefix='/usr/local'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define GLIB_BINARY_AGE 401
#define GLIB_INTERFACE_AGE 1
#define GLIB_MAJOR_VERSION 2
#define GLIB_MICRO_VERSION 1
#define GLIB_MINOR_VERSION 4
#define G_COMPILED_WITH_DEBUGGING "minimum"
#define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=glib"
#define PACKAGE_NAME "glib"
#define PACKAGE_STRING "glib 2.4.1"
#define PACKAGE_TARNAME "glib"
#define PACKAGE_VERSION "2.4.1"
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 1


More information about the freebsd-gnome mailing list