aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Kompilieren von Version 1.2.6 unter Mac OS X  (Read 2513 times)

hoschy07

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Kompilieren von Version 1.2.6 unter Mac OS X
« on: February 17, 2004, 11:50:19 AM »

Hallo,

ich versuche aMule für den Mac zu kompilieren. Nach erscheinen der Version 1.2.6 hatte ich natürlich Hoffnung, als ich verbesserte Mac-Kompatibilität im Changelog gelesen habe.
 Am Wochenende hatte ich mir mit Fink wxgtk installiert. Das kompilieren der wxGTK 2.4.2 wie im Howto beschrieben hat nicht geklappt. make brach mit folgenden Fehler ab:
make: ./distrib/mac/shared-ld-sh: Command not found
make: *** [lib/libwx_gtk-2.4.0.1.1.dylib] Error 127

Ok, also habe ich versucht mit der wxGTK Version von Fink aMule zu kompilieren.
get-info.sh bringt übrigens folgendes zurück:

I.   Development Environment

     A. Compiler Info
        Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)

     B. wxWindows Info
        Version: 2.4.1
        -L/sw/lib -L/sw/lib -lwx_gtkd-2.4

     C. GTK Info
        GTK 1: 1.2.10
./get-info.sh: line 1: pkg-config: command not found
        GTK 2:

II.  System Environment

     A. CPU Info
cat: /proc/cpuinfo: No such file or directory
        Type:
cat: /proc/cpuinfo: No such file or directory
        Model:
cat: /proc/cpuinfo: No such file or directory
        Speed:
cat: /proc/cpuinfo: No such file or directory
        BMips:
cat: /proc/cpuinfo: No such file or directory
        Flags:

     B. Memory Info
cat: /proc/meminfo: No such file or directory
        Total:
cat: /proc/meminfo: No such file or directory
        Unused:

     C. Kernel Info
cat: /proc/sys/kernel/osrelease: No such file or directory
        Version:

     D. Library Info
./get-info.sh: line 33: ldconfig: command not found
        wxWindows library:


./configure hat einwandfrei geklappt
Schon mal nicht schlecht. Danach habe ich dann make ausgeführt und das bracht mit folgenden Fehler dann ab:

g++  -I/usr/include  -g     -o amulecmd  amulecmd-TextClient.o amulecmd-MD5Sum.o -L/sw/lib -L/sw/lib -lwx_gtkd-2.4 -L/usr/lib -lcurl -arch i386 -arch ppc -lz -lssl -lcrypto -lz  
ld: for architecture i386                                                                                                                                                        
ld: warning /usr/lib/crt1.o cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)                                            
ld: warning /usr/lib/gcc/darwin/3.3/crt2.o cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)                            
ld: warning amulecmd-TextClient.o cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)                                      
ld: warning amulecmd-MD5Sum.o cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)                                          
ld: warning /sw/lib/libwx_gtkd-2.4.dylib cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)                              
ld: warning /usr/lib/libcurl.dylib cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)                                    
ld: warning /usr/lib/libz.dylib cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)                                        
ld: warning /usr/lib/libssl.dylib cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)                                      
ld: warning /usr/lib/libcrypto.dylib cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)                                  
ld: warning /usr/lib/libz.dylib cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)                                        
ld: warning /usr/lib/libstdc++.a archive's cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (can't load from it)                          
ld: warning /usr/lib/libgcc.a archive's cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (can't load from it)                            
ld: warning /usr/lib/libSystem.dylib cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)                                  
ld: for architecture ppc                                                                                                                                                          
ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used                                                                    
symbol _locale_charset used from dynamic library /sw/lib/libiconv.2.dylib(localcharset.o) not from earlier dynamic library /sw/lib/libintl.1.dylib(localcharset.lo)              
ld: Undefined symbols:                                                                                                                                                            
wxAddProcessCallbackForPid(wxEndProcessData*, int)                                                                                                                                
make[2]: *** [amulecmd] Error 1                                                                                                                                                  
make[1]: *** [all-recursive] Error 1                                                                                                                                              
make: *** [all] Error 2                                                                                                                                                          
                                                                                                                                                                                 


So meine Frage. Ich habe im Forum schon einen Screenshot von aMule auf dem Mac gesehen. Es scheint ja irgendwie zu funktionieren. Aber wie?
Welche Voraussetzungen sind gegeben für eine Kompilierung auf dem Mac?
Ist es die selbe Vorgehensweise wie im Howto. Also wxGTK 2.4.2 und wxBase?
Wäre schön wenn mir jemand weiterhelfen könnte. Stelle mich auch gerne als Tester zur Verfügung.
Wenn noch mehr Infos benötigt werden, poste ich den Rest gerne.


hoschy07
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Kompilieren von Version 1.2.6 unter Mac OS X
« Reply #1 on: February 17, 2004, 02:07:36 PM »

hi hoschy07,

es ist so: wir haben eine pure-gtk freie aMule version die unter mac und win32 laufen wird.. die lässt sich kompilieren aber es gibt mir der noch keine verbindung zum server etc.. wir haben jetzt 3 leute die dran arbeiten und mit glück wirds die mit amule 1.2.7 geben ..

noch bisschen geduld bitte  :baby:

gruss