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]

Author Topic: compiling aMule 2.2.6 leopard powerpc  (Read 9705 times)

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5898
Re: compiling aMule 2.2.6 leopard powerpc
« Reply #15 on: April 12, 2011, 12:09:37 AM »

Do me a favor - create a folder in your computer, download this zip file that I'm attaching to the post, put it in that folder, uncompress and execute the script. Depending on your computer speed (slow probably being a ppc) it will take FOREVER but it may compile aMule with its libraries, if all goes well.

Disclaimer: If something doesn't go well, it may kill your dog or raise the dead from their graves, or delete everything on your computer. Again, I'm not personally responsible (neither is the aMule project) for anything it does.
« Last Edit: April 12, 2011, 07:31:02 AM by Kry »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5898
Re: compiling aMule 2.2.6 leopard powerpc
« Reply #16 on: April 12, 2011, 12:10:07 AM »

Oh and BTW - it will compile aMule 2.3.1rc1, not 2.2.6.
Logged

harlock59

  • Jr. Member
  • **
  • Karma: -1
  • Offline Offline
  • Posts: 50
    • Youmé-TECH - PC Mac Linux Troubleshootings & Website / Software Developper
Re: compiling aMule 2.2.6 leopard powerpc
« Reply #17 on: May 24, 2011, 09:09:53 PM »

Hello,

aMule DOES get compiled but not for powerpc.

when i open the aMule.app i get this message (in french)
you cannot open this application because it's not supported in this  architecture.
Logged
iMac g4 leopard powerpc
www.youmetech.fr

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5898
Re: compiling aMule 2.2.6 leopard powerpc
« Reply #18 on: June 19, 2011, 02:15:31 AM »

Well, download current SVN. Once you are in the aMule folder, run the following:

Code: [Select]
mkdir build
cd build
SDKNUMBER=10.5 UNIVERSAL=YES WXVERSION=svn WXPORT=cocoa SLIMWX=NO BUILD_FOLDER=. MULECLEAN=YES ../src/utils/scripts/MacOSX/full_build.sh

I just tried that and I ended up with a ppc/x86 build:

Code: [Select]
$ file aMule.app/Contents/MacOS/amule
aMule.app/Contents/MacOS/amule: Mach-O universal binary with 2 architectures
aMule.app/Contents/MacOS/amule (for architecture i386): Mach-O executable i386
aMule.app/Contents/MacOS/amule (for architecture ppc7400): Mach-O executable ppc

Should be easy enough. Good luck. If that works, you can always adjust the options to your liking, but remember you can't do i.e. SDK 10.6 and ppc (AFAIK).
Logged

harlock59

  • Jr. Member
  • **
  • Karma: -1
  • Offline Offline
  • Posts: 50
    • Youmé-TECH - PC Mac Linux Troubleshootings & Website / Software Developper
Re: compiling aMule 2.2.6 leopard powerpc
« Reply #19 on: June 29, 2011, 06:58:59 PM »

i found this link for the aMule svn from thescript you gave me first but that you removed

http://amule.googlecode.com/svn/trunk/

so the command line should something like

svn co http://amule.googlecode.com/svn/trunk/ amule-dev
Logged
iMac g4 leopard powerpc
www.youmetech.fr

harlock59

  • Jr. Member
  • **
  • Karma: -1
  • Offline Offline
  • Posts: 50
    • Youmé-TECH - PC Mac Linux Troubleshootings & Website / Software Developper
Re: compiling aMule 2.2.6 leopard powerpc
« Reply #20 on: June 29, 2011, 07:06:19 PM »

so.. afterthat it would be

SDKNUMBER=10.5 UNIVERSAL=YES WXVERSION=svn WXPORT=cocoa SLIMWX=NO BUILD_FOLDER=. MULECLEAN=YES ../amule-dev/src/utils/scripts/MacOSX/full_build.sh
Logged
iMac g4 leopard powerpc
www.youmetech.fr

harlock59

  • Jr. Member
  • **
  • Karma: -1
  • Offline Offline
  • Posts: 50
    • Youmé-TECH - PC Mac Linux Troubleshootings & Website / Software Developper
Re: compiling aMule 2.2.6 leopard powerpc
« Reply #21 on: June 29, 2011, 10:11:58 PM »

in ~/Downloads/aMule 2.3.1 RC1/build,
running:
SDKNUMBER=10.5 UNIVERSAL=YES WXVERSION=svn WXPORT=cocoa SLIMWX=NO BUILD_FOLDER=. MULECLEAN=YES ../amule-dev2/src/utils/scripts/MacOSX/full_build.sh

gave me that:
-- Begin global def section --
   SVN repository has not been specified, using detected local sources at "/Users/harlock59/Downloads/aMule 2.3.1 RC1/amule-dev2"
   Setting build folder to .
../amule-dev2/src/utils/scripts/MacOSX/defs-global.sh: line 38: [: too many arguments
   Build root absolute path is /Users/harlock59/Downloads/aMule 2.3.1 RC1/build
   Using 10.5 SDK
   Using universal build (i386, pcc)
   Errors will be redirected to /Users/harlock59/Downloads/aMule 2.3.1 RC1/build/error_output, normal build output to /Users/harlock59/Downloads/aMule 2.3.1 RC1/build/build_output
-- End global def section --
-- Begin wxWidgets def section --
   Using wxWidgets svn
   Using wxWidgets cocoa port.
   Using full wxWidgets compilation.
-- End wxWidgets def section --
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 33: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 34: $ERROR_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 37: [: too many arguments
Save configuration commandline to /Users/harlock59/Downloads/aMule 2.3.1 RC1/build/repeat.sh - execute that script to repeat this compilation with the same options.
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 41: $REPEATSCRIPT: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 42: $REPEATSCRIPT: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 43: $REPEATSCRIPT: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 44: $REPEATSCRIPT: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 45: $REPEATSCRIPT: ambiguous redirect
chmod: 2.3.1: No such file or directory
chmod: RC1/build/repeat.sh: No such file or directory
Starting build...
   Getting aMule sources...
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 53: [: too many arguments
   First checkout.
   Using provided SVN repository at .
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 71: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 72: [: too many arguments
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 78: $STDOUT_FILE: ambiguous redirect
   Done
   Getting wxWidgets sources...
   First checkout.
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 90: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 91: $STDOUT_FILE: ambiguous redirect
   Applying patches.
      Appying "/Users/harlock59/Downloads/aMule"
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 95: $STDOUT_FILE: ambiguous redirect
      Appying "2.3.1"
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 95: 2.3.1: No such file or directory
      Appying "RC1/amule-dev2/src/utils/patches/wxWidgets/*.patch"
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 95: RC1/amule-dev2/src/utils/patches/wxWidgets/*.patch: No such file or directory
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 97: $STDOUT_FILE: ambiguous redirect
   Done
   Configuring wxWidgets...
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 103: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 115: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 116: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 120: $STDOUT_FILE: ambiguous redirect
      Configured.
      Done
   Compiling wxWidgets...
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 128: $STDOUT_FILE: ambiguous redirect
   Done
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 132: $STDOUT_FILE: ambiguous redirect
   Getting cryptopp sources...
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 145: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 146: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 147: $STDOUT_FILE: ambiguous redirect
      Appying "/Users/harlock59/Downloads/aMule"
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 151: $STDOUT_FILE: ambiguous redirect
      Appying "2.3.1"
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 151: 2.3.1: No such file or directory
      Appying "RC1/amule-dev2/src/utils/patches/cryptopp/*.patch"
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 151: RC1/amule-dev2/src/utils/patches/cryptopp/*.patch: No such file or directory
      Compiling cryptopp...
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 155: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 157: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 158: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 159: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 160: $STDOUT_FILE: ambiguous redirect
   Done
   Getting gettext sources...
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 178: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 179: $STDOUT_FILE: ambiguous redirect
      Compiling gettext...
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 181: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 182: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 185: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 186: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 187: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 188: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 189: $STDOUT_FILE: ambiguous redirect
   Done.
   Getting libupnp sources...
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 205: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 206: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 207: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 208: $STDOUT_FILE: ambiguous redirect
      Compiling libupnp...
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 210: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 211: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 214: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 215: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 216: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 217: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 218: $STDOUT_FILE: ambiguous redirect
   Done.
   Getting GeoIP sources...
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 234: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 235: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 236: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 237: $STDOUT_FILE: ambiguous redirect
      Compiling GeoIP...
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 239: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 240: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 243: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 244: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 245: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 246: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 247: $STDOUT_FILE: ambiguous redirect
   Done.
   Getting pkg-config sources...
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 264: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 265: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 266: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 267: $STDOUT_FILE: ambiguous redirect
      Compiling pkg-config...
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 269: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 270: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 273: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 274: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 275: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 276: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 277: $STDOUT_FILE: ambiguous redirect
   Done.
   FINALLY compiling aMule...
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 286: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 291: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 297: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 298: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 299: intl/Makefile: No such file or directory
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 300: intl/Makefile: No such file or directory
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 301: intl/Makefile: No such file or directory
      Running configure
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 311: $STDOUT_FILE: ambiguous redirect
      Cleaning compilation
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 324: $STDOUT_FILE: ambiguous redirect
      Compiling aMule
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 329: $STDOUT_FILE: ambiguous redirect
   Done.
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 333: $STDOUT_FILE: ambiguous redirect
Getting application bundle and packaging
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 337: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 339: $STDOUT_FILE: ambiguous redirect
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 341: $STDOUT_FILE: ambiguous redirect
find: aMule.app: No such file or directory
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 343: $STDOUT_FILE: ambiguous redirect
ERROR: aMule.zip was not created. Please review the output files
../amule-dev2/src/utils/scripts/MacOSX/full_build.sh: line 352: $STDOUT_FILE: ambiguous redirect
Logged
iMac g4 leopard powerpc
www.youmetech.fr

harlock59

  • Jr. Member
  • **
  • Karma: -1
  • Offline Offline
  • Posts: 50
    • Youmé-TECH - PC Mac Linux Troubleshootings & Website / Software Developper
Re: compiling aMule 2.2.6 leopard powerpc
« Reply #22 on: June 29, 2011, 10:20:03 PM »

can't i just modify the mac_fullbuild.sh script to get aMule svn get compiled for leopard powerpc ?

and  which lines should i modify ?
« Last Edit: June 30, 2011, 06:06:16 AM by Kry »
Logged
iMac g4 leopard powerpc
www.youmetech.fr

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5898
Re: compiling aMule 2.2.6 leopard powerpc
« Reply #23 on: June 30, 2011, 06:06:35 AM »

You found a nice bug! Congratulations.

Quote
"/Users/harlock59/Downloads/aMule 2.3.1 RC1/amule-dev2"

Please rename the folder to one without spaces. There should be no spaces in any of the folders in the path for this to work - I will fix the script later to allow for spaces. Right now I'm on medical leave.

Once you have the sources in a path with no spaces, it should work as I mentioned.
Logged

harlock59

  • Jr. Member
  • **
  • Karma: -1
  • Offline Offline
  • Posts: 50
    • Youmé-TECH - PC Mac Linux Troubleshootings & Website / Software Developper
Re: compiling aMule 2.2.6 leopard powerpc
« Reply #24 on: July 03, 2011, 12:24:47 AM »

You found a nice bug! Congratulations.


it was not done on purpose, i assume.


Quote

Right now I'm on medical leave.

Pull yourself well. have a good recuperation.

Quote
Once you have the sources in a path with no spaces, it should work as I mentioned.

Ok, thank you so much for helping me so well.

at first i was going to get an old aMule version, now if i do it well i'll get a SVN version !
Logged
iMac g4 leopard powerpc
www.youmetech.fr

harlock59

  • Jr. Member
  • **
  • Karma: -1
  • Offline Offline
  • Posts: 50
    • Youmé-TECH - PC Mac Linux Troubleshootings & Website / Software Developper
Re: compiling aMule 2.3.1 rc2 leopard powerpc
« Reply #25 on: September 21, 2011, 12:59:53 AM »

i've finally downloaded a binary version of aMule 2.3.1 rc2 from sourceforge.

but i can't localize it to french.

i think i'll have to post it to another thread
Logged
iMac g4 leopard powerpc
www.youmetech.fr
Pages: 1 [2]