View previous topic :: View next topic |
Author |
Message |
cyberpatrol Apprentice
Joined: 18 Sep 2003 Posts: 161 Location: Germany
|
Posted: Mon May 02, 2005 1:09 am Post subject: HOWTO: Compiling and installing MUTE on Gentoo |
|
|
Because there are several posts in this forum and in bugzilla from people who weren't able to install the P2P filesharing progam MUTE on Gentoo I decided to try it by myself. With the help by Nate on MUTE's mailing list I figured out how to install it and decided to write a short and hopefully easy understandable HOWTO.
Compiling and installing MUTE on Gentoo Linux (and possibly other Linux distributions)
- Get the latest Unix source code from http://mute-net.sourceforge.net.
At the time of writing this HOWTO this is MUTE 0.4.1.
- If you are using GCC 3.4.x get the patch from http://sourceforge.net/tracker/index.php?func=detail&aid=1090953&group_id=83030&atid=568087.
- If you want to see MUTE in a different language than English get the language file from http://mute-net.sourceforge.net/languageFiles.shtml.
- If you don't have wxGTK installed then install it by running
It doesn't matter which USE flags are set. wxpython is not needed.
At the time of writing this HOWTO MUTE works with wxGTK-2.4.2-r3.
Depending on the USE flags which you have set to compile wxGTK and which GTK version you want to use for MUTE do one of the following steps:
- For wxGTK with GTK 2 support:
Code: | # ln -s wxgtk2-2.4-config wx-config |
For wxGTK with GTK 1 support: Code: | # ln -s wxgtk-2.4-config wx-config |
Don't use wxgtk2u-2.4-config because compiling MUTE with the unicode enabled wxGTK will fail!
Copy or move the downloaded files from steps 1 to 3 to a directory of your choice. I will call it <basedir>.
Code: | # tar xfvz MUTE_fileSharing-0.4.1_UnixSource.tar.gz |
Code: | # cd MUTE_fileSharing-0.4.1_UnixSource |
If you are using GCC 3.4.x:
Code: | # mv ../../MUTE-crypto++-GCC-3.4-compilation.patch . |
Code: | # patch -p0 < MUTE-crypto++-GCC-3.4-compilation.patch |
Follow the instructions. When asked "Enter full path to wxWindows wx-config script." type or just press Enter to use the default (should also be /usr/bin/wx-config).
Compiling should work. You should only see a few warnings which you can ignore.
You can also ignore the two cp errors related to win32 at the end because you hopefully didn't choose to compile the Windows version.
Repeat this for every language file you've downloaded: Code: | # cp <basedir>/<language file> MUTE_GUI_fileSharing/languages |
Because MUTE has no multi user support this is the easiest: Code: | # mv MUTE_GUI_fileSharing ~ |
If you alternatively like to have it installed only once for more than one user I would suggest to do the following steps instead:
Code: | # mv MUTE_GUI_fileSharing /opt |
Code: | # chown -R root MUTE_GUI_fileSharing | or which owner you like more
Code: | # chgrp -R users MUTE_GUI_fileSharing | or which group you like more
Code: | # chmod -R g+w MUTE_GUI_fileSharing | to let the users change the settings and write the log file etc.
To start MUTE:
Code: | # cd ~/MUTE_GUI_fileSharing | or Code: | # cd /opt/MUTE_GUI_fileSharing | or to which directory you have moved MUTE
Code: | # ./fileSharingMUTE |
At the first start you are getting several pop up windows. Just follow the instructions.
If you have installed MUTE only once for more than one user in e.g. /opt/MUTE_GUI_fileSharing then I would suggest to repeat the steps 15.b. to 15.e. after the first and possibly the second start to set the file attributes for the config and log files created during the first and possibly second program start.
For questions regarding the configuration of MUTE and setting up the firewall for MUTE I would suggest to read the FAQs on http://www.planetpeer.de/wiki/index.php. There is also a mailing list on https://lists.sourceforge.net/lists/listinfo/mute-net-discuss and a forum on http://board.planetpeer.de which can be helpful.
Have fun with MUTE!
|
|
Back to top |
|
|
Imago Apprentice
Joined: 25 Nov 2004 Posts: 157 Location: Germany
|
Posted: Sat May 07, 2005 9:17 pm Post subject: |
|
|
Wouldnt it be sufficient to leave out step 7 and simply enter the path to the proper version of wx-config when runToBuild asks for it?
Anyway, thx for the howto. I finally got it running
Although im still looking into making an ebuild for it.
CU
Imago |
|
Back to top |
|
|
cyberpatrol Apprentice
Joined: 18 Sep 2003 Posts: 161 Location: Germany
|
Posted: Sun May 08, 2005 9:48 am Post subject: |
|
|
Imago wrote: | Wouldnt it be sufficient to leave out step 7 and simply enter the path to the proper version of wx-config when runToBuild asks for it? |
Principally this would be sufficient but it would be less safe because in step 7 you can't create a link to a file that doesn't exist but in step 13 you can enter the name of a file that doesn't exist and then it doesn't work and you probably don't know why.
Imago wrote: | Although im still looking into making an ebuild for it. |
Look at these bug reports:
https://bugs.gentoo.org/show_bug.cgi?id=37609
https://bugs.gentoo.org/show_bug.cgi?id=60392
It seems that there's a new ebuild. Let us hope that it will be included in portage.
Btw, you can also try NapShare. It's based on the original MUTE client but with a few improvements. It's installed exactly the same way as MUTE and can be downloaded at http://napshare.sourceforge.net.
To compile NapShare with GCC 3.4.x step 2 is not necessary because the patch file is already included in the source archive.
I've found out that at least NapShare, but I guess also MUTE, currently only works with linuxthreads but not with NPTL. |
|
Back to top |
|
|
dongeo n00b
Joined: 27 Oct 2004 Posts: 33
|
Posted: Wed Dec 14, 2005 10:16 pm Post subject: |
|
|
I have created an ebuild to install MUTE here
It is my first ebuild but I don't found problems yet. |
|
Back to top |
|
|
|