hello everybody!
i am trying to compile aMule on my intel mac mini (you may ask why i don't just use the available binaries - i think compiling it for myself would be fun and i would hopefully learn something from it)
i followed the instructions in the wiki, except i downloaded wxmac 2.6.3 instead of 2.6.1 and i built it with these configure options: configure --disable-shared --enable-unicode --enable-universal_binary
-which worked beautifully (as far as i can see)
then i downloaded the amule source, followed all the instructions in the wiki (including the amule configure options suggested there), configure succeeds with no error and i 'make', which looks fine for some minutes but then it stops with the following errors:/usr/bin/ld: warning ./libmuleappgui.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccBPyYuN.out (No such file or directory)
make[3]: *** [amule] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
these are only the last few lines, there are a lot of these 'architecture does not match cputype' messages for a lot of different files.
so i am very unexperienced with these things, but it looks like that for some reason 'make' tries to build it for ppc or the linker (ld is the linker isn't it?) does something it shouldn't...
i have osx 10.4.8, the xcode 2.4 dev tools, wxmac is compiled as an universal binary - what exactly is wrong?
i assume this is an easy thing to fix, because i am sure i just set wrong options somewhere or missed some obvious things.
another thing is that 'make --help' saysThis program built for powerpc-apple-darwin8.0
that should be i686-apple-darwin.8.something shouldn't it? but i didn't change anything - i have an almost fresh osx install and a fresh devools install - why do i have 'make' for ppc?
ok probably the programming veterans who read this will laugh but i hope someone helps me and points out what's wrong here! (btw my plan is to be able to compile and use the amule daemon some time in the future)
oh and i almost forgot - i tried this with both 2.1.3 sources and aMule-CVS-20061001
thanks in advance!
-cablez