Problems with cross compile php5.2.3 for ARM-LINUX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi everybody,

i'm using the buildroot toolchain with linux kernel 2.6.12 to compile php 5.2.3 for a ARM system. But i got the following error:

checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... no
configure: error: Cannot find libz

But i compiled zlib 1.2.3 before. libz.a and libz.so is stored in /usr/lib on my target build directory. In a second try, i put the directory for the libz.a file into the makefile for php(--with-zlib=/usr/lib) but it doesn't work, too.

Here are my /.configured options: 

-cache-file=config.cache \
    --disable-debug \
    --disable-rpath \
    --enable-bcmath \
    --enable-calendar \
    --enable-experimental-zts \
    --enable-embed=shared \
    --enable-force-cgi-redirect \
    --enable-ftp \
    --enable-inline-optimization \
    --enable-magic-quotes \
    --enable-memory-limit \
    --enable-mbstring \
    --enable-mbstr-enc-trans \
    --enable-mbregex \
    --enable-pic \
    --enable-safe-mode \
    --enable-sockets \
    --enable-track-vars \
    --enable-trans-sid \
    --enable-wddx \
    --sysconfdir=/etc/appweb \
    --with-exec-dir=/etc/appweb/exec \
    --with-iconv=/usr/lib \
    --with-db4 \
    --with-mysql \
    --with-regex=system \
    --with-pear \
    --with-xml \
    --with-xmlrpc \
    --with-zlib=/usr/lib

Any idea? Do you need more informations?

Best regards
Fritz Huber
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux