aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compilation problem on Mac OS X 10.11 El capitan  (Read 1216 times)

nicopulse

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
Compilation problem on Mac OS X 10.11 El capitan
« on: April 06, 2016, 01:21:08 AM »

Hi,

I just want to test last dev release of aMule on my mac.
I follow instructions on wiki but, seems it's an old wiki.

I make some install and adaptations to get a good CONFIGURE command.
But after my MAKE dont works, I dont know why, some idea ?
ld: library not found for -lgd
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[5]: *** [cas] Error 1



Thanks :)


Code: [Select]
./configure --with-wx-config=/usr/local/Cellar/wxmac/3.0.2_2/bin/wx-config  --enable-optimize --with-crypto-prefix=/usr/local/Cellar/cryptopp/5.6.3_1 --with-gdlib-config=/usr/local/Cellar/gd/2.1.1/bin/gdlib-config  --with-libiconv-prefix=/usr/lib --enable-cas --enable-webserver --enable-amulecmd --enable-amule-gui --enable-wxcas --enable-alc --enable-alcc --enable-amule-daemon --enable-geoip --with-geoip-lib=/usr/local/Cellar/geoip/1.6.9/lib --with-geoip-headers=/opt/local/include --enable-geoip-static --enable-debug (this works)

Code: [Select]
nico@pulse 01:02:07 ~/Downloads/amule-4053dd2# make
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in docs
Making all in man
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in src
Making all in libs
Making all in common
make[4]: Nothing to be done for `all'.
Making all in ec
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in cpp
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
make[7]: Nothing to be done for `all-am'.
make[6]: Nothing to be done for `all-am'.
make[4]: Nothing to be done for `all-am'.
Making all in utils
Making all in cas
Making all in docs
make[5]: Nothing to be done for `all'.
gcc -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -O2 -I/usr/local/Cellar/gd/2.1.1/include  -bind_at_load -lpthread -L/usr/local/opt/jpeg/lib -framework CoreServices  -o cas cas-cas.o cas-configfile.o cas-functions.o cas-graphics.o cas-html.o cas-lines.o  -lgd -lgd -ljpeg -lz -L/usr/local/Cellar/libpng/1.6.18/lib -lpng16 -L/usr/local/Cellar/freetype/2.6_1/lib -lfreetype -L/usr/local/opt/fontconfig/lib -lfontconfig -lfontconfig -L/usr/local/opt/libtiff/lib -ltiff -liconv
ld: warning: directory not found for option '-L/usr/local/Cellar/libpng/1.6.18/lib'
ld: library not found for -lgd
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[5]: *** [cas] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 164
  • Offline Offline
  • Posts: 2703
Re: Compilation problem on Mac OS X 10.11 El capitan
« Reply #1 on: April 07, 2016, 05:39:00 PM »

What is the output of
Code: [Select]
/usr/local/Cellar/gd/2.1.1/bin/gdlib-config --ldflags?
Logged
concordia cum veritate

bubez811

  • Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 29
Re: Compilation problem on Mac OS X 10.11 El capitan
« Reply #2 on: May 27, 2016, 10:50:34 AM »

Hi, i have similar problems with the compilation of amule svn and El Capitan, did you find a solution?
Logged