Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LMule under Gentoo HowTo
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Niek
Apprentice
Apprentice


Joined: 14 May 2002
Posts: 236
Location: Houten, The Netherlands

PostPosted: Wed Mar 05, 2003 8:19 pm    Post subject: LMule under Gentoo HowTo Reply with quote

Hi,

This is a small HowTo about getting LMule running under Gentoo Linux. LMule (http://lmule.sourceforge.net/) is a Linux port (using wxWindows) of the famous P2P sharing program eMule.

First, you need to patch wxGTK:
Code:

cd /usr/portage/x11-libs/wxGTK/files
wget http://www.maasonline.nl/zooi/wx-patch
nano -w ../wxGTK-2.4.0.ebuild

Go to line 35, and add the following line just above "local myconf":
Code:

patch -p1 < ${FILESDIR}/wx-patch

After that, do a "emerge wxGTK".

OK, wxGTK is now patched properly, let's resume with the real work :)

Go to your home-dir, a download dir or /tmp and type:
Code:

wget http://belnet.dl.sourceforge.net/sourceforge/lmule/lmule-1.1.5.tar.gz
tar xvfz lmule-1.1.5.tar.gz && cd lmule-1.1.5
./configure --prefix=/usr --with-wx-config=/usr/bin/wx-config
make
(type su if you are not root)
make install

That's it :) To start LMule, type "lmule" in your console.
Some tips: a good servers.met file to start with is http://www.esel-paradies.de/server/server.met . If you have a dualboot with Windows, you can link your ~/.lmule/Incoming and ~/.lmule/Temp to the path in your Windowa partition.
Have fun :)

Niek.
_________________
Bezoek ook eens de Nederlandstalige Gentoo IRC channel op irc.freenode.net - #gentoo-nl
Back to top
View user's profile Send private message
xenon
Guru
Guru


Joined: 25 Dec 2002
Posts: 432
Location: Europe

PostPosted: Wed Mar 05, 2003 9:31 pm    Post subject: Reply with quote

Great, thanks! I was tired of fighting against Wine and eMule... :) and I really appreciated this howto - everything's working fine.
Just one thing: is there a way to make lmule take ed2k:// links like eMule does under Windoze? I didn't even try it with Wine and eMule, but since the function is apparently implemented in lmule, I guess it's possible.

EDIT: I just checked the lmule forums, and a post by the author dated 03/03 says links are not implemented yet.
Back to top
View user's profile Send private message
jaymz
Apprentice
Apprentice


Joined: 07 Nov 2002
Posts: 171
Location: /dev/chair

PostPosted: Thu Mar 06, 2003 9:02 am    Post subject: Reply with quote

well, I just try your hint, but unfortunately, I still can't compile lmule...
here is what I got :
Code:

          à partir de DownloadListCtrl.h:22,
          à partir de TransferWnd.h:23,
          à partir de emuleDlg.h:29,
          à partir de emule.h:26,
          à partir de Friend.cpp:21:
ED2KLink.h: Dans member function « const char* CED2KFileLink::GetName() const
   »:
ED2KLink.h:74: ne peut convertir « const wxString » vers « const char* » dans
   return
ED2KLink.h: Dans member function « long int CED2KFileLink::GetSize() const »:
ED2KLink.h:75: ne peut convertir « const wxString » à « const char* » pour
   l'argument « 1 » vers « long int atol(const char*) »
ED2KLink.h: Dans member function « const char*
   CED2KServerListLink::GetAddress() const »:
ED2KLink.h:98: ne peut convertir « const wxString » vers « const char* » dans
   return
Dans le fichier inclus à partir de PreferencesDlg.h:10,
          à partir de emuleDlg.h:31,
          à partir de emule.h:26,
          à partir de Friend.cpp:21:
PPgNotify.h: At global scope:
PPgNotify.h:43: type invalide « const char[1] » pour l'argument par défaut «
   wxString »
Dans le fichier inclus à partir de StatisticsDlg.h:23,
          à partir de emuleDlg.h:37,
          à partir de emule.h:26,
          à partir de Friend.cpp:21:
OScopeCtrl.h:32: type invalide « const char[1] » pour l'argument par défaut «
   CString »
OScopeCtrl.h:32: type invalide « const char[1] » pour l'argument par défaut «
   CString »
OScopeCtrl.h:31: type invalide « const char[1] » pour l'argument par défaut «
   CString »
OScopeCtrl.h:31: type invalide « const char[1] » pour l'argument par défaut «
   CString »
Friend.cpp: Dans constructor « CFriend::CFriend() »:
Friend.cpp:29: ambiguous overload pour l'opérateur «
erreur interne de compilateur: erreur pour rapporter une routine ré-entée
SVP soumettre un rapport complet d'anomalies,
avec le source pré-traité si cela est approprié.
Consulter <URL:http://www.gnu.org/software/gcc/bugs.html> pour les instructions.
make[2]: *** [Friend.o] Erreur 1
make[2]: Leaving directory `/home/bservais/download/lmule-1.1.5/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/bservais/download/lmule-1.1.5'
make: *** [all] Erreur 2

do you have any idea what could cause gcc to segfault?
_________________
Sleep my friend and you will see, dream is my reality.....
Back to top
View user's profile Send private message
maor
Guru
Guru


Joined: 28 Aug 2002
Posts: 323

PostPosted: Thu Mar 06, 2003 9:36 am    Post subject: Reply with quote

in the new version of lnule doesn't required patch wxGTk.
and also if u use gtk2 try to do that USE="gtk -gtk2" emerge wxGTK.
Back to top
View user's profile Send private message
jaymz
Apprentice
Apprentice


Joined: 07 Nov 2002
Posts: 171
Location: /dev/chair

PostPosted: Thu Mar 06, 2003 11:02 am    Post subject: Reply with quote

thx dude, that did the trick
_________________
Sleep my friend and you will see, dream is my reality.....
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Thu Mar 06, 2003 6:14 pm    Post subject: Reply with quote

I feel a bit st00pid asking this:
how can I tell Lmule where my shared directories are?
I cannot do it from the gui (there's just no button....)
I cannot do it from .imule/shareddir.dat (is gets re-set)
I can put symlinks in /.imule/incoming/ but directories are ignored, unless you point a individiual files (which is what I did right now, but it's a shitty solution)
Back to top
View user's profile Send private message
jaymz
Apprentice
Apprentice


Joined: 07 Nov 2002
Posts: 171
Location: /dev/chair

PostPosted: Thu Mar 06, 2003 8:13 pm    Post subject: Reply with quote

well, there is an option....
You jave an "preference" dialog box that have the "directories options....
just take a closer look to the gui
_________________
Sleep my friend and you will see, dream is my reality.....
Back to top
View user's profile Send private message
xenon
Guru
Guru


Joined: 25 Dec 2002
Posts: 432
Location: Europe

PostPosted: Fri Mar 07, 2003 3:25 am    Post subject: Reply with quote

jaymz wrote:
well, there is an option....
You jave an "preference" dialog box that have the "directories options....
just take a closer look to the gui


Sure, but it looks like there's no way (yet) to set additional shared directories...
Back to top
View user's profile Send private message
koala
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2002
Posts: 91
Location: Barcelona, Spain

PostPosted: Fri Mar 07, 2003 7:31 pm    Post subject: Offtopic: Reply with quote

Cool... gcc in French....
Back to top
View user's profile Send private message
ralniv
n00b
n00b


Joined: 17 Apr 2002
Posts: 37
Location: California, USA

PostPosted: Sat Mar 08, 2003 11:33 am    Post subject: Reply with quote

There is a beta ebuild for lmule at:
http://sourceforge.net/forum/forum.php?thread_id=827050&forum_id=247387

I renamed the ebuild to version 1.1.7 to reflect the current release and it seems to work great so far.
Back to top
View user's profile Send private message
marxist
n00b
n00b


Joined: 08 Mar 2003
Posts: 5
Location: Köln (Cologne)

PostPosted: Sat Mar 08, 2003 1:58 pm    Post subject: Reply with quote

hi,

i've finally succeded in compiling lmule, but it's very unstable and didn't download anything.
i'm back at using mldonkey. the current cvs version is absolutly awesome! great download rates and it is easier to compile, too. plus, it got a telnet and web client besides the normal gtk client!

bye,
Tobias

ps. i'm not related to the mldonkey project! :D
Back to top
View user's profile Send private message
xenon
Guru
Guru


Joined: 25 Dec 2002
Posts: 432
Location: Europe

PostPosted: Sat Mar 08, 2003 3:58 pm    Post subject: Reply with quote

To each his own, I guess. I can't stand mldonkey, and lmule works fine here, so... BTW, is mldonkey's standard web interface still brown? :roll: Now, that's an ugly color for software!
Back to top
View user's profile Send private message
marxist
n00b
n00b


Joined: 08 Mar 2003
Posts: 5
Location: Köln (Cologne)

PostPosted: Sun Mar 09, 2003 7:10 pm    Post subject: Reply with quote

no, now it's green :)
it looks quite good now. but you're right, to each his own. :)
Back to top
View user's profile Send private message
modal
Apprentice
Apprentice


Joined: 02 Oct 2002
Posts: 277

PostPosted: Tue Mar 11, 2003 8:19 am    Post subject: Reply with quote

Quote:
There is a beta ebuild for lmule at:
http://sourceforge.net/forum/forum.php?thread_id=827050&forum_id=247387

I renamed the ebuild to version 1.1.7 to reflect the current release and it seems to work great so far.


this worked great...and emule works like a charm at version 1.1.7
i'd highly recommend anyone to go do this ebuild at sourceforge.net
Back to top
View user's profile Send private message
Tobi 2.4.20
n00b
n00b


Joined: 27 Mar 2003
Posts: 11
Location: Düsseldorf, Germany, Earth

PostPosted: Fri Apr 25, 2003 2:14 pm    Post subject: Lmule 1.2.0 Reply with quote

Hi!

Lmule 1.2.0 released! Is anybody working on an ebuild?

Greetz, Tobi
_________________
Scientists tell us that the fastest animal on earth, with a top speed of 120 feet/second, is a cow that has been dropped out of a helicopter.
-Dave Barry
Back to top
View user's profile Send private message
iamarug
Apprentice
Apprentice


Joined: 09 Feb 2003
Posts: 220

PostPosted: Fri Apr 25, 2003 4:31 pm    Post subject: Reply with quote

take a trip to www.lmule.org. there are ebuilds there :)
Back to top
View user's profile Send private message
Tobi 2.4.20
n00b
n00b


Joined: 27 Mar 2003
Posts: 11
Location: Düsseldorf, Germany, Earth

PostPosted: Fri Apr 25, 2003 5:00 pm    Post subject: Reply with quote

Wow! Not bad man, not bad!
_________________
Scientists tell us that the fastest animal on earth, with a top speed of 120 feet/second, is a cow that has been dropped out of a helicopter.
-Dave Barry
Back to top
View user's profile Send private message
TecHunter
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2003
Posts: 124

PostPosted: Fri Apr 25, 2003 5:15 pm    Post subject: Reply with quote

iamarug wrote:
take a trip to www.lmule.org. there are ebuilds there :)
i use wxGTK and lmule ebuild from this site,but still failed :cry:
_________________
Gentoo is GREAT!!!
Back to top
View user's profile Send private message
Yinchie
Apprentice
Apprentice


Joined: 05 Mar 2003
Posts: 179
Location: The Netherlands

PostPosted: Fri Apr 25, 2003 8:08 pm    Post subject: Reply with quote

lmule is in portage.
Back to top
View user's profile Send private message
TecHunter
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2003
Posts: 124

PostPosted: Sat Apr 26, 2003 2:32 am    Post subject: Reply with quote

i installed lmule-1.2.0.1 just now.
when emerge wxGTK,i use the USE="-gtk2" flags.or you can edit the wxGTK-2.4.0.ebuild to change --enable-unicode to --disable-unicode.
good luck :wink:
_________________
Gentoo is GREAT!!!
Back to top
View user's profile Send private message
tuXXer
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2003
Posts: 83

PostPosted: Tue Apr 29, 2003 8:43 am    Post subject: A little bit stange... Reply with quote

I've had tried to use lmule. The problem is that when I install version 1.2.0 (from berlinos, www.gentoo.de) all went right. But when I update to version 1.2.0.1 I get a segmentation error everytime I start lmule. Furthermore I've unmerged lmule and tried to install it new (version 1.2.0.1) , but now I get compiling errors...
Back to top
View user's profile Send private message
tuXXer
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2003
Posts: 83

PostPosted: Tue Apr 29, 2003 8:31 pm    Post subject: Well Reply with quote

I've tried lmule-1.2.1.ebuild (www.lmule.org)
but it only works as root. Compiling without errors. Using lmule as user => segmentation faults. Does anybody know why?
Back to top
View user's profile Send private message
trakon88
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2002
Posts: 84
Location: Hamburg, Germany

PostPosted: Wed Apr 30, 2003 1:46 pm    Post subject: Reply with quote

I made the same exprience ...

help is welcome

thanx for great free software

aleX
Back to top
View user's profile Send private message
Tobi 2.4.20
n00b
n00b


Joined: 27 Mar 2003
Posts: 11
Location: Düsseldorf, Germany, Earth

PostPosted: Fri May 02, 2003 6:19 am    Post subject: Re: Well Reply with quote

tuXXer wrote:
Using lmule as user => segmentation faults. Does anybody know why?

Hi!

IMHO it's because of fucked up preferences. Try to rename or delete the .lmule directory and the .eMule file and then start lmule:
Code:

mv ~/.lmule ~/.lmule.bak
mv ~/.eMule ~/.eMule.bak
lmule

You will get errors regarding the *.met files. Exit lmule and just copy them over from the backup-dirs and start lmule:
Code:

cp ~/.lmule.bak/server.met ~/.lmule
lmule

That's all folks.

See ya, Tobi
_________________
Scientists tell us that the fastest animal on earth, with a top speed of 120 feet/second, is a cow that has been dropped out of a helicopter.
-Dave Barry
Back to top
View user's profile Send private message
coby2k
n00b
n00b


Joined: 07 Apr 2003
Posts: 63
Location: Oldenburg, Germany

PostPosted: Sun May 04, 2003 6:10 pm    Post subject: emule problem Reply with quote

if i do

Code:
ACCEPT_KEYWORDS=~x86 emerge lmule


my compiling stops there...

Code:

.o filemem.o Friend.o FriendList.o FriendListCtrl.o gtk2-funcs.o gtkplugxembed.o HTTPDownloadDlg.o ini2.o IPFilter.o KnownFile.o KnownFileList.o listctrl.o ListenSocket.o mmMultiButton.o MuleListCtrl.o MuleNotebook.o muuli_wdr.o OScopeCtrl.o otherfunctions.o packets.o PartFile.o PPgConnection.o PPgDirectories.o PPgFiles.o PPgGeneral.o PPgIrc.o PPgNotify.o PPgServer.o PPgStats.o PPgTweaks.o Preferences.o PreferencesDlg.o Preview.o QueueListCtrl.o resource.o SafeFile.o SearchDlg.o SearchList.o SearchListCtrl.o server.o ServerList.o ServerListCtrl.o ServerSocket.o ServerWnd.o SharedFileList.o SharedFilesCtrl.o SharedFilesWnd.o sockets.o SplitterControl.o StatisticsDlg.o SysTray.o TransferWnd.o treebasc.o treectlc.o UDPSocket.o UploadClient.o UploadListCtrl.o UploadQueue.o Wizard.o  -Lwx/xrc -lxrc -lexpat -lpthread  -pthread -lwx_gtk-2.4 -lz -lexpat
make[3]: Leaving directory `/var/tmp/portage/lmule-1.2.0.1/work/lmule-1.2.0.1/src'
make[2]: Leaving directory `/var/tmp/portage/lmule-1.2.0.1/work/lmule-1.2.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/lmule-1.2.0.1/work/lmule-1.2.0.1'
make: *** [all] Error 2

!!! ERROR: net-p2p/lmule-1.2.0.1 failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! (no error message)


anyone got a clue whats wrong?


thomas
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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