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 ... 6

Author Topic: *REQ* New Universal/Intel Compile  (Read 47246 times)

GodzFire

  • Approved Newbie
  • *
  • Karma: -4
  • Offline Offline
  • Posts: 30
*REQ* New Universal/Intel Compile
« on: January 31, 2008, 10:36:48 PM »

Been awhile since a new WORKING CVS compile was released, (I am using CVS Tues, Oct 2nd).

All the ones since then I have not been able to open.

Would someone be awesome and do a fresh new compile please?

Thanks in advance!
Logged

GodzFire

  • Approved Newbie
  • *
  • Karma: -4
  • Offline Offline
  • Posts: 30
Re: *REQ* New Universal/Intel Compile
« Reply #1 on: February 10, 2008, 09:56:54 PM »

Anyone? Please?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: *REQ* New Universal/Intel Compile
« Reply #2 on: February 10, 2008, 10:05:14 PM »

I'll try to cross-compile one soon, but this will at least take until the end february, because I won't come home (where my PC with the already set-up 10.4 cross-compiler is, I failed getting a cross-compiler for 10.5 to work) earlier.

Would you mind trying to compile one yourself? We'll try to assist you and guide you through the compilation procedure.
Logged

matthis

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: *REQ* New Universal/Intel Compile
« Reply #3 on: February 12, 2008, 02:48:51 PM »

I built an intel version from CVS. Here is the zip file:
http://badaboum.bidibom.free.fr/aMule.zip

My first impressions are:
- it uses a bit more CPU
- it seems to find more Kad peers.
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Re: *REQ* New Universal/Intel Compile
« Reply #4 on: February 12, 2008, 08:49:52 PM »

- it uses a bit more CPU

it is debug mode enabled?

I make a mirror:

http://www.mediafire.com/?9dedztobzzo
« Last Edit: February 12, 2008, 08:57:06 PM by Festor »
Logged

matthis

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: *REQ* New Universal/Intel Compile
« Reply #5 on: February 13, 2008, 03:02:48 AM »

no its not. Should I build one with debug enabled?
Logged

dembow

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
    • Reggaetón
Re: *REQ* New Universal/Intel Compile
« Reply #6 on: February 13, 2008, 05:21:32 PM »

How about one for PPC? I'm on a PowerBook G4 with 10.5.2 and aMule 2.1.3 and it's sloooooooow! I know nothing about programming or compiling, but am willing to do anything to upgrade to a newer better version.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: *REQ* New Universal/Intel Compile
« Reply #7 on: February 13, 2008, 06:48:28 PM »

Quote
but am willing to do anything to upgrade to a newer better version.
Really? I guess we've found someone who buys Phoenix a Mac after all, so that he can do daily compiles. ;-)

Seriously: Are you afraid of compiling things yourself? I can guide you through a lot of things, but I've never owned a Mac myself, so I don't know everything.
The first step is installing xcode in the most recent version. If you've done that get familiar with macports and install autotools, flex, gettext and libpng.
Well, see the wiki article and try to follow the steps for the rest, if there are any problems, please do not hesitate to ask.

kind regards
Logged

bongo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 37
Re: *REQ* New Universal/Intel Compile
« Reply #8 on: February 13, 2008, 09:17:07 PM »

i just tried to compile on an imac (intel) with 10.5.2
making wxmac works but the configure for amule-cvs give me an error:
Code: [Select]
checking for crypto++ version >= 5.1... configure: error:
Could not find cryptopp header file "cryptlib.h".
Please check if the path "/usr" is valid.

i first also tried a universal build but got
Code: [Select]
configure:2089: $? = 1
configure:2112: checking for C++ compiler default output file name
configure:2115: g++ -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk   -bind_at_load conftest.cc  >&5
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/It/ItA54lBVE4qvwf3ksxyvPU+++TM/-Tmp-//ccMAg3F5.out (No such file or directory)
configure:2118: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "aMule"
| #define PACKAGE_TARNAME "amule"
| #define PACKAGE_VERSION "SVN"
| #define PACKAGE_STRING "aMule SVN"
| #define PACKAGE_BUGREPORT "admin@amule.org"
| #define PACKAGE "amule"
| #define VERSION "SVN"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2157: error: C++ compiler cannot create executables
« Last Edit: February 13, 2008, 09:37:10 PM by bongo »
Logged

scalimani

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 19
Re: *REQ* New Universal/Intel Compile
« Reply #9 on: February 14, 2008, 01:02:45 AM »

I have the same problem with a PPC processor and OS X 10.5.1
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: *REQ* New Universal/Intel Compile
« Reply #10 on: February 14, 2008, 01:04:03 AM »

Sorry, this was a change in recent versions which hasn't been updated in the wiki up to reflect this point.

Please download cryptopp from http://www.cryptopp.com and install it on your computer. (You probably have to bundle it, I have unfortunately no experience with this)
It is necessary to execute make -f GNUmakefile instead of just make.

Edit: I don't know about the Universal Binary, maybe someone else does or I'll try to have a look at it once I get near a cross-compiler. (Or someone gives Phoenix a Mac ;) )
« Last Edit: February 14, 2008, 01:05:34 AM by wuischke »
Logged

scalimani

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 19
Re: *REQ* New Universal/Intel Compile
« Reply #11 on: February 14, 2008, 10:17:35 PM »

I downloaded cryptopp and finally I managed to compile aMule!
If someone needs it this is the link http://rapidshare.com/files/91868382/aMule_CVS_20080214.zip.html
but it's compiled for OSX 10.5 and PPC

I tried to compile a universal binary with the code in the wiki but the result is
Code: [Select]
$ ./configure --disable-systray --disable-gtk --enable-embedded_crypto
>  --with-wx-config=../wxMac-2.8.7/build/wx-config --enable-cas --enable-webserver
>  --enable-amulecmd --enable-debug --disable-optimize --disable-dependency-tracking
>  CFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"
>  CXXFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"
checking build system type... powerpc-apple-darwin9.2.0
checking host system type... powerpc-apple-darwin9.2.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: *REQ* New Universal/Intel Compile
« Reply #12 on: February 15, 2008, 02:05:46 AM »

Thanks for you package! Could you please attach the file config.log to give us more information about the source of the problem?
Logged

bongo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 37
Re: *REQ* New Universal/Intel Compile
« Reply #13 on: February 15, 2008, 09:33:57 AM »

i can't get the cryptopp to work. i executed  make -f GNUmakefile but always get the "can't find cryptlib.h" error. do i have to copy the cryptopp to a special place?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: *REQ* New Universal/Intel Compile
« Reply #14 on: February 15, 2008, 10:41:43 AM »

Oh, sorry, you need to do a bit more, I failed to mention that.

You have to do either a "make install" (you need root privileges, maybe you have to type "sudo make install" instead) to install it on your computer globably or a "make DESTDIR=/some/path/on/your/mac/ install" to install it to some directory on your Mac and then use --with-crypto-prefix=/some/path/on/your/mac/ as an argument to the configure command when compiling aMule.
Logged
Pages: [1] 2 3 ... 6