Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Compiling and installing MUTE on Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
cyberpatrol
Apprentice
Apprentice


Joined: 18 Sep 2003
Posts: 161
Location: Germany

PostPosted: Mon May 02, 2005 1:09 am    Post subject: HOWTO: Compiling and installing MUTE on Gentoo Reply with quote

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)


  1. 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.

  2. 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.

  3. If you want to see MUTE in a different language than English get the language file from http://mute-net.sourceforge.net/languageFiles.shtml.

  4. If you don't have wxGTK installed then install it by running
    Code:
    # emerge wxGTK

    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.

  5. Code:
    # cd /usr/bin


  6. Code:
    # rm wx-config


  7. 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:

    1. For wxGTK with GTK 2 support:
      Code:
      # ln -s wxgtk2-2.4-config wx-config

    2. 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!

  8. Copy or move the downloaded files from steps 1 to 3 to a directory of your choice. I will call it <basedir>.

  9. Code:
    # cd <basedir>


  10. Code:
    # tar xfvz MUTE_fileSharing-0.4.1_UnixSource.tar.gz


  11. Code:
    # cd MUTE_fileSharing-0.4.1_UnixSource


  12. If you are using GCC 3.4.x:

    1. Code:
      # cd MUTE

    2. Code:
      # mv ../../MUTE-crypto++-GCC-3.4-compilation.patch .

    3. Code:
      # patch -p0 < MUTE-crypto++-GCC-3.4-compilation.patch

    4. Code:
      # cd ..



  13. Code:
    # ./runToBuild

    Follow the instructions. When asked "Enter full path to wxWindows wx-config script." type
    Code:
    /usr/bin/wx-config
    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. ;-)

  14. Repeat this for every language file you've downloaded:
    Code:
    # cp <basedir>/<language file> MUTE_GUI_fileSharing/languages


  15. 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:

    1. Code:
      # mv MUTE_GUI_fileSharing /opt

    2. Code:
      # cd /opt

    3. Code:
      # chown -R root MUTE_GUI_fileSharing
      or which owner you like more
    4. Code:
      # chgrp -R users MUTE_GUI_fileSharing
      or which group you like more
    5. Code:
      # chmod -R g+w MUTE_GUI_fileSharing
      to let the users change the settings and write the log file etc.


  16. To start MUTE:

    1. Code:
      # cd ~/MUTE_GUI_fileSharing
      or
      Code:
      # cd /opt/MUTE_GUI_fileSharing
      or to which directory you have moved MUTE
    2. Code:
      # ./fileSharingMUTE


    At the first start you are getting several pop up windows. Just follow the instructions.

  17. 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.

  18. 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.

  19. Have fun with MUTE! :-)
Back to top
View user's profile Send private message
Imago
Apprentice
Apprentice


Joined: 25 Nov 2004
Posts: 157
Location: Germany

PostPosted: Sat May 07, 2005 9:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
cyberpatrol
Apprentice
Apprentice


Joined: 18 Sep 2003
Posts: 161
Location: Germany

PostPosted: Sun May 08, 2005 9:48 am    Post subject: Reply with quote

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
View user's profile Send private message
dongeo
n00b
n00b


Joined: 27 Oct 2004
Posts: 33

PostPosted: Wed Dec 14, 2005 10:16 pm    Post subject: Reply with quote

I have created an ebuild to install MUTE here
It is my first ebuild but I don't found problems yet.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum