aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: [cross compile] zlib...installed...but not found...  (Read 3902 times)

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
[cross compile] zlib...installed...but not found...
« on: April 03, 2011, 06:30:47 PM »

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?
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: [cross compile] zlib...installed...but not found...
« Reply #1 on: April 03, 2011, 07:08:20 PM »

Solved,may fault with dirs  :P
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------