aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 2 [3] 4

Author Topic: Compilation problem  (Read 21399 times)

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Compilation problem
« Reply #30 on: October 16, 2010, 12:43:51 AM »

Actually, I'm not even sure what's going on, because you don't get the LDFLAGS content on your link. I'll try to look into it this weekend.
Logged

markellos

  • Approved Newbie
  • *
  • Karma: -1
  • Offline Offline
  • Posts: 23
Re: Compilation problem
« Reply #31 on: October 16, 2010, 12:04:58 PM »

do a

make clean

, then run that command again.

same errors...
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Compilation problem
« Reply #32 on: October 16, 2010, 10:06:07 PM »

Ok, please try CXXFLAGS instead of LDFLAGS. If that doesn't work either, you can still try passing these flags to make by issuing
Code: [Select]
$ make LDFLAGS=...
Logged
concordia cum veritate

markellos

  • Approved Newbie
  • *
  • Karma: -1
  • Offline Offline
  • Posts: 23
Re: Compilation problem
« Reply #33 on: October 17, 2010, 02:07:16 AM »

CXXFLAGS didn't work (the usual error). The bypass didn't   work either but with these error:
Code: [Select]
-lfontconfig -lfreetype -lpng12 -lz -liconv 
i686-apple-darwin10-gcc-4.2.1: ...: No such file or directory
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

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Compilation problem
« Reply #34 on: October 17, 2010, 12:16:45 PM »

Please post at least the full command causing the error and not just the last wrapped line.  ::)
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

markellos

  • Approved Newbie
  • *
  • Karma: -1
  • Offline Offline
  • Posts: 23
Re: Compilation problem
« Reply #35 on: October 17, 2010, 12:31:26 PM »

Code: [Select]
./configure --with-wxdir=/Users/admin/Desktop/aMuleSVN/Build4/wxWidgets-2.9.1  --enable-optimize --with-crypto-prefix=/opt/local  --with-gdlib-config=/opt/local/bin/gdlib-config  --with-libiconv-prefix=/opt/local/var/macports/software/libiconv/1.13.1_0/opt/local/bin --enable-cas --enable-webserver  --enable-amulecmd --enable-amule-gui --enable-wxcas --enable-alc --enable-alcc --enable-amule-daemon --enable-geoip  --with-geoip-lib=/opt/local/var/macports/software/libgeoip/1.4.6_0/opt/local --with-geoip-headers=/opt/local/var/macports/software/libgeoip/1.4.6_0/opt/local/include --enable-geoip-static --enable-debug

Code: [Select]
make LDFLAGS=...
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Compilation problem
« Reply #36 on: October 19, 2010, 07:43:19 PM »

I meant to replace "..." with the actual path, which I couldn't c&p there (using my mobile phone to access the internet at that time).
So, the actual command should look like
Code: [Select]
$ make LDFLAGS="-L/opt/local/var/macports/software/libiconv/1.13.1_0/opt/local"
Logged
concordia cum veritate

markellos

  • Approved Newbie
  • *
  • Karma: -1
  • Offline Offline
  • Posts: 23
Re: Compilation problem
« Reply #37 on: October 21, 2010, 04:00:12 PM »

same identical error...
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Compilation problem
« Reply #38 on: October 22, 2010, 09:29:59 AM »

Ok, then, please try this last one:
Code: [Select]
$ ./configure LDFLAGS="-L/opt/local/var/macports/software/libiconv/1.13.1_0/opt/local" ...
$ make
Please replace "..." in the configure command line with your other parameters you used to give configure.
Logged
concordia cum veritate

markellos

  • Approved Newbie
  • *
  • Karma: -1
  • Offline Offline
  • Posts: 23
Re: Compilation problem
« Reply #39 on: October 26, 2010, 12:02:58 PM »

No dice. I've given up on it..  :'(  :'(
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Compilation problem
« Reply #40 on: October 26, 2010, 07:01:47 PM »

I suggest you look back here by next monday, chanceas are I just made everything work on XCode and compiling aMule will be just opening the project and clicking "build".
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Compilation problem
« Reply #41 on: October 26, 2010, 10:17:01 PM »

Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

markellos

  • Approved Newbie
  • *
  • Karma: -1
  • Offline Offline
  • Posts: 23
Re: Compilation problem
« Reply #42 on: October 27, 2010, 02:25:16 AM »

wow! I'll be here!
Logged

markellos

  • Approved Newbie
  • *
  • Karma: -1
  • Offline Offline
  • Posts: 23
Re: Compilation problem
« Reply #43 on: November 09, 2010, 02:12:37 PM »

kry, have you had some problems?
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon
Pages: 1 2 [3] 4