aMule Forum

English => Multiplatform => Mac OSX => Topic started by: fabietto on February 11, 2012, 03:35:31 PM

Title: amulegui 2.3.1, can't find or compile
Post by: fabietto on February 11, 2012, 03:35:31 PM
hi to all!
I need amulegui 2.3.1 in order to control my amule-daemon running on home nas, so i tried for several time  to compile amulegui on osx lion with no results... i can't compile wxwidgets...
I decided to googling to search and download an amulegui builded for lion and compatible with 2.3.1 protocol with no result...

Does anyone have amulegui.app (2.3.1) working on lion?
or does anyone have succesfully compiled amule on lion???

Please help me, my eyes are so tired...
Title: Re: amulegui 2.3.1, can't find or compile
Post by: GonoszTopi on February 12, 2012, 06:55:00 PM
Doesn't http://www.amule.org/files/download.php?file=195 contain amulegui?
Title: Re: amulegui 2.3.1, can't find or compile
Post by: fabietto on February 13, 2012, 09:37:15 AM
No, it contains only the main app...
The last amulegui i found is here http://forum.amule.org/index.php?topic=18877.0
It's based on amule 2.3.1_rc1 and it doesn't work due to protocol error...
Title: Re: amulegui 2.3.1, can't find or compile
Post by: esplinter on February 21, 2012, 11:45:16 PM
Hi,

I have the same problem. I couldn´t compile or download the amulegui for mac osx lion 10.7.3. Could anyone post a binary or docs about how to compile?

Would be great if with each release the amulegui would be also published in the main downloads section. I suppose the guy who compiles the release could also easily compile amulegui, isn´t it?

many thanks in advance for any help!
Title: Re: amulegui 2.3.1, can't find or compile
Post by: Stu Redman on February 22, 2012, 10:35:59 PM
There is an automated build system in the aMule sources to build on Mac systems. It's as simple as setting some variables (or not) and just running the scripts, which in turn download all dependencies and go ahead to compile it (as long as you have XCode). It's what was used to build the semi-official releases. Unfortunately, it does NOT create an aMuleGUI binary yet.

There will probably be a wiki update at some point with the info about it.
Title: Re: amulegui 2.3.1, can't find or compile
Post by: esplinter on February 22, 2012, 10:43:40 PM
thanks for your reply Stu redman

could you please post some basic instructions about how to use this build system. I am used to compile software from sources so I thinks I don´t need to detailed instructions.

maybe this build system could be tweaked to also build the amulegui? I thinks only some extra flags for the ./configure are needed....
Title: Re: amulegui 2.3.1, can't find or compile
Post by: esplinter on February 22, 2012, 10:47:01 PM
I forgot to ask in the previous post and can´t edit it....

which is your build system? have you tried to compile in osx Lion 10.7.2 or 10.7.3?
Title: Re: amulegui 2.3.1, can't find or compile
Post by: Stu Redman on February 22, 2012, 11:02:53 PM
I'm afraid I don't have a Mac build system, or a Mac, or any clue about Macs.  So I can't help you with it. :(
Only hope is that the guy who originally did it can find some time to return temporarily to these issues. Or another Mac user applies for the vacant Mac developer slot.
Title: Re: amulegui 2.3.1, can't find or compile
Post by: esplinter on February 22, 2012, 11:08:37 PM
many thanks. I will try again an post any result if I finally can compile it.

Title: Re: amulegui 2.3.1, can't find or compile
Post by: fabietto on February 27, 2012, 08:42:14 PM
i lost hope... i give up....
no amule gui 2.3.1 in any way on mac... i can't believe the gui is missing in the official build....i spent several time to try to compile for nothing, while  the official releaser can compile amulegui adding a simple command...
Title: Re: amulegui 2.3.1, can't find or compile
Post by: Stu Redman on February 27, 2012, 10:19:31 PM
There is no official releaser for Mac binaries. That's the problem. Volunteers are welcome.
Title: Re: amulegui 2.3.1, can't find or compile
Post by: Stu Redman on February 28, 2012, 08:39:20 PM
We got a contribution with some instructions (BUILDING_MACOSX.txt) and an app dir for amulegui (SVN 10768) .  :)

Can one of you try it out?
Title: Re: amulegui 2.3.1, can't find or compile
Post by: fabietto on February 29, 2012, 07:17:33 PM
this was my first coiche, compile amule by myself.... unfortunately i tried several times and i could not even compile the wxwidgets... errors upon errors...
Title: Re: amulegui 2.3.1, can't find or compile
Post by: esplinter on March 06, 2012, 11:09:25 PM
I finally could compile wxwidgets and cryptopp as described in the docs and open the amule project with xcode but seems the project was created on osx 10.6 (I have 10.7.3) and xcode asked to do many modifications in the project. After that, when trying to compile it complains about many missing header files and other errors which I don´t know how to solve because of my low experience programing in osx and using xcode.

If I can I will try to compile in an osx 10.6 but I don´t know when I will have access a 10.6 system and I am near to give up... :(
Title: Re: amulegui 2.3.1, can't find or compile
Post by: Stu Redman on March 07, 2012, 09:46:48 PM
Did you try to run the build script as described in BUILDING_MACOSX.txt ?
Code: [Select]
mkdir Build
cd Build/
WXVERSION=svn WXPORT=cocoa MULECLEAN=YES ../src/utils/scripts/MacOSX/full_build.sh
Title: Re: amulegui 2.3.1, can't find or compile
Post by: esplinter on March 08, 2012, 06:41:00 PM
many thanks for pointing me to that script, I hadn´t seen it.

after doing some tweaks in the build script I managed to compile amulegui 2.3.1 in osx 10.7.3. It is a really dirty hack because in this first test I only managed to compile for x86_64 so I think it will only work in osx Lion 10.7.

In the other hand, I don´t know how to create a mac app (my first time compiling in osx sorry) and what I did was to replace the amule binary file inside aMule.app with my compiled amulegui binary. This way when I double click in the app it doesn´t open but it opens from command line if in the shell I run shomething like this:

$> cd aMule.app/Contents/MacOS/
$> ./amulegui

I haven´t tried yet if it connects and works ok with my amule daemon in my linux machine. I hope to try this night and will post my findings. If I get it to work I will try to create a bundled app the "osx way" just for amulegui and also will try to compile for other archs.

I attach the file I have generated in case anyone wants to try it
http://www.mediafire.com/?b87uk7rzv48b169
Title: Re: amulegui 2.3.1, can't find or compile
Post by: esplinter on March 08, 2012, 10:00:16 PM
hehehe finally I could connect to my amule-daemon from mac :)
Title: Re: amulegui 2.3.1, can't find or compile
Post by: esplinter on March 08, 2012, 11:33:37 PM
Hi again,

I have found that I only need to modify the file "Info.plist" inside the app to point to the right binary file. I attach the amuleGUI 2.3.1 which works for me in osx lion 10.7.3 like any other mac application. Just uncompress it, copy to your apps folder and double click it.

http://www.mediafire.com/?ta8p1czqf2y9hq6

Hope it be useful for anyone. I think it will just work in lion and won´t work in 10.6 or lower (compiled for x86_64). If anyones test it please tell me how it works for you.


Title: Re: amulegui 2.3.1, can't find or compile
Post by: fabietto on March 11, 2012, 10:53:43 AM
Come ON!
I'm trying your build just now on osx 10.7.3 and it's all OK!
Works well with no issue.
Maybe some leopard user can tell us if it works on that OS.
Many many thx esplinter & Stu Redman!
Title: Re: amulegui 2.3.1, can't find or compile
Post by: mcstanga on May 03, 2012, 08:19:27 PM
Hi again,

I have found that I only need to modify the file "Info.plist" inside the app to point to the right binary file. I attach the amuleGUI 2.3.1 which works for me in osx lion 10.7.3 like any other mac application. Just uncompress it, copy to your apps folder and double click it.

http://www.mediafire.com/?ta8p1czqf2y9hq6

Hope it be useful for anyone. I think it will just work in lion and won´t work in 10.6 or lower (compiled for x86_64). If anyones test it please tell me how it works for you.

can you upload the binary somewhere else, please?
mediafire says that the file is invalid or has been deleted :(
Title: Re: amulegui 2.3.1, can't find or compile
Post by: esplinter on May 03, 2012, 09:06:53 PM
here you have: http://dl.dropbox.com/u/13919897/amuleGUI-2.3.1-osx-lion.zip
Title: Re: amulegui 2.3.1, can't find or compile
Post by: mcstanga on May 03, 2012, 10:03:10 PM
what a fast reply! thanks a lot!
it works great!!!
it is nice to know that i don't have to compile it on my own, all those dependency :P
Title: Re: amulegui 2.3.1, can't find or compile
Post by: Stu Redman on May 03, 2012, 10:03:40 PM
Thank you!
esplinter, could you maybe provide a Mac build of aMule 2.3.1 with enabled uPnP ?