apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Alex.Krumm-Hel...@csiro.au>
Subject compiling apr-iconv on fedora core 7 fails
Date Wed, 19 Sep 2007 07:31:31 GMT
Hi everyone,

 

I have just grabbed the latest copy of apr-iconv (1.2.0) from the
website and am having a problem compiling it. I have successfully
compiled apr (1.2.11) and apr-util (1.2.10).

 

I am doing

 

./configure --with-apr=../apr-1.2.11

make

 

I then get the following error:

 

(cd lib;  make CPPFLAGS=" ")

make[1]: Entering directory `/home/kru028/temp/apr-iconv-1.2.0/lib'

make[2]: Entering directory `/home/kru028/temp/apr-iconv-1.2.0/lib'

/bin/sh /home/kru028/temp/apr-1.2.11/libtool --silent --mode=compile gcc
-g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE   -I/home/kru028/temp/apr-iconv-1.2.0/lib
-I/home/kru028/temp/apr-iconv-1.2.0/include
-I/home/kru028/temp/apr-1.2.11/include   -o iconv_module.lo -c
iconv_module.c && touch iconv_module.lo

/bin/sh /home/kru028/temp/apr-1.2.11/libtool --silent --mode=compile gcc
-g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE   -I/home/kru028/temp/apr-iconv-1.2.0/lib
-I/home/kru028/temp/apr-iconv-1.2.0/include
-I/home/kru028/temp/apr-1.2.11/include   -o iconv.lo -c iconv.c && touch
iconv.lo

/bin/sh /home/kru028/temp/apr-1.2.11/libtool --silent --mode=compile gcc
-g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE   -I/home/kru028/temp/apr-iconv-1.2.0/lib
-I/home/kru028/temp/apr-iconv-1.2.0/include
-I/home/kru028/temp/apr-1.2.11/include   -o iconv_int.lo -c iconv_int.c
&& touch iconv_int.lo

/bin/sh /home/kru028/temp/apr-1.2.11/libtool --silent --mode=compile gcc
-g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE   -I/home/kru028/temp/apr-iconv-1.2.0/lib
-I/home/kru028/temp/apr-iconv-1.2.0/include
-I/home/kru028/temp/apr-1.2.11/include   -o iconv_uc.lo -c iconv_uc.c &&
touch iconv_uc.lo

/bin/sh /home/kru028/temp/apr-1.2.11/libtool --silent --mode=compile gcc
-g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE   -I/home/kru028/temp/apr-iconv-1.2.0/lib
-I/home/kru028/temp/apr-iconv-1.2.0/include
-I/home/kru028/temp/apr-1.2.11/include   -o iconv_ces.lo -c iconv_ces.c
&& touch iconv_ces.lo

/bin/sh /home/kru028/temp/apr-1.2.11/libtool --silent --mode=compile gcc
-g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE   -I/home/kru028/temp/apr-iconv-1.2.0/lib
-I/home/kru028/temp/apr-iconv-1.2.0/include
-I/home/kru028/temp/apr-1.2.11/include   -o iconv_ces_euc.lo -c
iconv_ces_euc.c && touch iconv_ces_euc.lo

/bin/sh /home/kru028/temp/apr-1.2.11/libtool --silent --mode=compile gcc
-g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE   -I/home/kru028/temp/apr-iconv-1.2.0/lib
-I/home/kru028/temp/apr-iconv-1.2.0/include
-I/home/kru028/temp/apr-1.2.11/include   -o iconv_ces_iso2022.lo -c
iconv_ces_iso2022.c && touch iconv_ces_iso2022.lo

/bin/sh /home/kru028/temp/apr-1.2.11/libtool --silent --mode=compile gcc
-g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE   -I/home/kru028/temp/apr-iconv-1.2.0/lib
-I/home/kru028/temp/apr-iconv-1.2.0/include
-I/home/kru028/temp/apr-1.2.11/include   -o api_version.lo -c
api_version.c && touch api_version.lo

/bin/sh /home/kru028/temp/apr-1.2.11/libtool --silent --mode=compile gcc
-g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE   -I/home/kru028/temp/apr-iconv-1.2.0/lib
-I/home/kru028/temp/apr-iconv-1.2.0/include
-I/home/kru028/temp/apr-1.2.11/include   -o iconv_ccs.lo -c iconv_ccs.c
&& touch iconv_ccs.lo

iconv_ccs.c: In function 'apr_iconv_ccs_event':

iconv_ccs.c:47: warning: assignment discards qualifiers from pointer
target type

gawk -f /home/kru028/temp/apr-iconv-1.2.0/build/make_exports.awk
/home/kru028/temp/apr-iconv-1.2.0/include/*.h
/home/kru028/temp/apr-iconv-1.2.0/lib/*.h > exports.c

/bin/sh /home/kru028/temp/apr-1.2.11/libtool --silent --mode=compile gcc
-g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE   -I/home/kru028/temp/apr-iconv-1.2.0/lib
-I/home/kru028/temp/apr-iconv-1.2.0/include
-I/home/kru028/temp/apr-1.2.11/include   -o exports.lo -c exports.c &&
touch exports.lo

/bin/sh /home/kru028/temp/apr-1.2.11/libtool --silent --mode=link  gcc
-g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE   -I/home/kru028/temp/apr-iconv-1.2.0/lib
-I/home/kru028/temp/apr-iconv-1.2.0/include
-I/home/kru028/temp/apr-1.2.11/include   -version-info 2:11:2    -o
libapriconv-1.la -rpath /usr/local/apache2/lib iconv_module.lo iconv.lo
iconv_int.lo iconv_uc.lo iconv_ces.lo iconv_ces_euc.lo
iconv_ces_iso2022.lo api_version.lo iconv_ccs.lo exports.lo

make[2]: Leaving directory `/home/kru028/temp/apr-iconv-1.2.0/lib'

make[1]: Leaving directory `/home/kru028/temp/apr-iconv-1.2.0/lib'

(cd ccs;  make)

make[1]: Entering directory `/home/kru028/temp/apr-iconv-1.2.0/ccs'

make[2]: Entering directory `/home/kru028/temp/apr-iconv-1.2.0/ccs'

/bin/sh /home/kru028/temp/apr-1.2.11/libtool --silent --mode=compile gcc
-g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE   -I/home/kru028/temp/apr-iconv-1.2.0/lib
-I/home/kru028/temp/apr-iconv-1.2.0/include
-I/home/kru028/temp/apr-1.2.11/include   -o iso-8859-1.lo -c
iso-8859-1.c && touch iso-8859-1.lo

/bin/sh /home/kru028/temp/apr-1.2.11/libtool --mode=link gcc -g -O2
-pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE   -I/home/kru028/temp/apr-iconv-1.2.0/lib
-I/home/kru028/temp/apr-iconv-1.2.0/include
-I/home/kru028/temp/apr-1.2.11/include   -module -avoid-version -rpath
NONE/lib/iconv     -o iso-8859-1.la iso-8859-1.lo

libtool: link: only absolute run-paths are allowed

make[2]: *** [iso-8859-1.la] Error 1

rm iso-8859-1.lo

make[2]: Leaving directory `/home/kru028/temp/apr-iconv-1.2.0/ccs'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/kru028/temp/apr-iconv-1.2.0/ccs'

make: *** [all] Error 2


Mime
View raw message