On 3/28/07, Matthew Devine <[EMAIL PROTECTED]> wrote:
I'm trying to compile the apr, apr-util and apr-iconv projects on my Fedora
box, latest versions downloaded today. I am able to successfully configure,
make, make install both apr & apr-util. Then I can sucessfully configure
apr-iconv but when I try to make it I get the following error:
Fedora Core 6 - Kernel: 2.6.20
apr-iconv-1.1.1]# make
(cd lib; make)
make[1]: Entering directory `/usr/local/work/apr- iconv-1.1.1/lib'
make[2]: Entering directory `/usr/local/work/apr-iconv-1.1.1/lib'
/bin/sh /usr/local/work/apr-1.2.8/libtool --silent --mode=compile gcc -g -O2
-pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE -I/usr/local/work/apr- iconv-1.1.1/lib
-I/usr/local/work/apr-iconv-1.1.1/include
-I/usr/local/work/apr-1.2.8/include -o iconv_ces_euc.lo -c iconv_ces_euc.c
&& touch iconv_ces_euc.lo
iconv_ces_euc.c: In function 'apr_iconv_euc_open':
iconv_ces_euc.c:65: error: invalid lvalue in assignment
It looks like you need this patch:
http://svn.apache.org/viewvc/apr/apr-iconv/trunk/lib/iconv_ces_euc.c?r1=106495&r2=358652
(not backported to 1.1 branch)