Re: PHP5 Cross Compilation

From: Date: Thu, 18 Jan 2007 15:50:39 +0000
Subject: Re: PHP5 Cross Compilation
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-247345@lists.php.net to get a copy of this message
Kiran Malla wrote: > Hello, > > I am trying to cross compile PHP-5.2.0 for arm linux. > > # export CC=/usr/local/arm/3.3.2/bin/arm-linux-gcc > # export AR=/usr/local/arm/3.3.2/bin/arm-linux-ar > # export LD=/usr/local/arm/3.3.2/bin/arm-linux-ld > # export NM=/usr/local/arm/3.3.2/bin/arm-linux-nm > # export RANLIB=/usr/local/arm/3.3.2/bin/arm-linux-ranlib > # export STRIP=/usr/local/arm/3.3.2/bin/arm-linux-strip > > # ./configure --host=arm-linux --sysconfdir=/etc/appWeb > --with-exec-dir=/etc/appWeb/exec > > Result of this configure is, > > Checking for iconv support... yes > checking for iconv... no > checking for libiconv... no > checking for libiconv in -liconv... no > checking for iconv in -liconv... no > configure: error: Please reinstall the iconv library. > > I have installed libiconv-1.11 on my system. The command 'which iconv' > shows > '/usr/local/bin/iconv'. I have no clue why configure is failing due to > missing iconv. > > Somebody please throw some light on this issue. maybe some*thing* will do: ./configure --help I'm guessing it'll tell you how to instruct configure on where iconv is living. > > Regards, > Kiran >

« previous php.general (#247345) next »