Hi,
I cross comiled zlib 1,2,11 using:
./configure --prefix=/import/stargate/users/<name>/work/sessCtrl/trunk/third_party/zlib-1.2.11/install
make; make install
this creates in install folders include/ lib and share/.</name>
Then i try to conigure png 1.6.31:
./configure --host=arm-linux-gnueabihf --build==i386-unknown-linux --with-zlib-prefix=/import/stargate/users/<name>/work/sessCtrl/trunk/third_party/zlib-1.2.11/install --prefix=/import/stargate/users/<name>/work/sessCtrl/trunk/third_party/libpng-1.6.31/install</name></name>
which fails to find zlib:
....
hecking for memset... yes
checking for pow... (cached) no
checking for pow in -lm... (cached) yes
checking for clock_gettime... yes
checking for zlibVersion in -lz... no
checking for /import/stargate/users/<name>/work/sessCtrl/trunk/third_party/zlib-1.2.11/install/zlibVersion in -lz... no
configure: error: zlib not installed</name>
I think I am following all instructions, any clue what am I doing wrong?
Thanks,
Nenad