Go Back   Forum Care Forums > Development Reference Area > Php Development

Reply
 
LinkBack Thread Tools Display Modes
PHP5 Cross Compilation
Old
  (#1)
Kiran Malla
Guest
 
Posts: n/a
Default PHP5 Cross Compilation - 05-14-2007, 03:35 AM

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.

Regards,
Kiran

   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: PHP5 Cross Compilation
Old
  (#2)
Kiran Malla
Guest
 
Posts: n/a
Default Re: PHP5 Cross Compilation - 05-14-2007, 03:35 AM

Hello,

What are all the flags and variables to set to cross compile PHP for arm? I
didn't get any info on the query I posted earlier. If anyone has tried php
on arm linux, please let me know the steps.

Thanks so much,

Regards,
Kiran

On 1/18/07, Kiran Malla <EMAIL REMOVED> 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.
>
> Regards,
> Kiran


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: [PHP] Re: PHP5 Cross Compilation
Old
  (#3)
Jochem Maas
Guest
 
Posts: n/a
Default Re: [PHP] Re: PHP5 Cross Compilation - 05-14-2007, 03:35 AM

Kiran Malla wrote:
> Hello,
>
> What are all the flags and variables to set to cross compile PHP for arm? I
> didn't get any info on the query I posted earlier. If anyone has tried php
> on arm linux, please let me know the steps.


if google didn't give any answers then I might suggest the php internals
mailing list as a place to post a question - chances are that there are not
a lot of people here that know jack shit about cross compiling.

>
> Thanks so much,
>
> Regards,
> Kiran
>
> On 1/18/07, Kiran Malla <EMAIL REMOVED> 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.
>>
>> Regards,
>> Kiran

>

   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Contact Us - Forum Care Forums - Archive - Top