Hi there!
I was trying to recreate the "ambient" for my amule cross compiled...
I've successfully cross compiled zlib,libpng and wx into a folder called /home/michele/aMule/tmp/lib
so i've tryed with the old-good-boy:
export TARGET=arm-linux-gnueabi
export BUILDDIR=/home/michele/aMule
./configure --host=$TARGET --with-zlib=$BUILDDIR/tmp --with-wx-prefix=$BUILDDIR/tmp --with-wx-config=$BUILDDIR/tmp/bin/wx-config --with-crypto-prefix=$BUILDDIR/tmp --prefix=$BUILDDIR/tmp --enable-amulecmd --enable-amule-daemon --enable-webserver --disable-alcc --disable-monolithic --enable-optimize --enable-mmap --disable-ed2k --enable-static --disable-amule-gui --disable-upnp --disable-nls --disable-debug --disable-alc --disable-cas --disable-wxcas --with-libpng-prefix=/home/michele/Scrivania/aMule/tmp/
but the ./configure cannot find zlib...
checking for arm-linux-gnueabi-ld... arm-linux-gnueabi-ld
checking for zlib >= 1.1.4... no
configure: error: zlib >= 1.1.4 is required for aMule
michele@michele-desktop:~/Scrivania/aMule/amule$
inside the /tmp there is the lib folder containing libz.a so I cannot understand why it canno find it!
Any idea?