You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Matthew Devine <ma...@gmail.com> on 2007/03/28 22:11:41 UTC
Compiling apr-iconv on Fedora 6
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
make[2]: *** [iconv_ces_euc.lo] Error 1
make[2]: Leaving directory `/usr/local/work/apr-iconv-1.1.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/work/apr-iconv-1.1.1/lib'
make: *** [all] Error 2
Any help or insight would be greatly appreciated. Somewhat of a newbie so
pardon any silly mistakes.
Re: Compiling apr-iconv on Fedora 6
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Better yet - please try checking out apr-iconv and holler if you have
ANY problems at all - because we are about to tag that trunk as a brand
new release...
http://svn.apache.org/repos/asf/apr/apr-iconv/trunk/
(and run ./buildconf --with-apr=/path-to-apr --with-apr-util=/path-to-aprutil
where the paths are the apr source trees not the installed prefix paths.)
Jeff Trawick wrote:
> On 3/28/07, Matthew Devine <ma...@gmail.com> 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)
>
>
Re: Compiling apr-iconv on Fedora 6
Posted by Jeff Trawick <tr...@gmail.com>.
On 3/28/07, Matthew Devine <ma...@gmail.com> 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)