View previous topic :: View next topic |
Author |
Message |
Niek Apprentice
Joined: 14 May 2002 Posts: 236 Location: Houten, The Netherlands
|
Posted: Wed Mar 05, 2003 8:19 pm Post subject: LMule under Gentoo HowTo |
|
|
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 |
|
|
xenon Guru
Joined: 25 Dec 2002 Posts: 432 Location: Europe
|
Posted: Wed Mar 05, 2003 9:31 pm Post subject: |
|
|
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 |
|
|
jaymz Apprentice
Joined: 07 Nov 2002 Posts: 171 Location: /dev/chair
|
Posted: Thu Mar 06, 2003 9:02 am Post subject: |
|
|
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 |
|
|
maor Guru
Joined: 28 Aug 2002 Posts: 323
|
Posted: Thu Mar 06, 2003 9:36 am Post subject: |
|
|
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 |
|
|
jaymz Apprentice
Joined: 07 Nov 2002 Posts: 171 Location: /dev/chair
|
Posted: Thu Mar 06, 2003 11:02 am Post subject: |
|
|
thx dude, that did the trick _________________ Sleep my friend and you will see, dream is my reality..... |
|
Back to top |
|
|
AlterEgo Veteran
Joined: 25 Apr 2002 Posts: 1619
|
Posted: Thu Mar 06, 2003 6:14 pm Post subject: |
|
|
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 |
|
|
jaymz Apprentice
Joined: 07 Nov 2002 Posts: 171 Location: /dev/chair
|
Posted: Thu Mar 06, 2003 8:13 pm Post subject: |
|
|
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 |
|
|
xenon Guru
Joined: 25 Dec 2002 Posts: 432 Location: Europe
|
Posted: Fri Mar 07, 2003 3:25 am Post subject: |
|
|
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 |
|
|
koala Tux's lil' helper
Joined: 15 Aug 2002 Posts: 91 Location: Barcelona, Spain
|
Posted: Fri Mar 07, 2003 7:31 pm Post subject: Offtopic: |
|
|
Cool... gcc in French.... |
|
Back to top |
|
|
ralniv n00b
Joined: 17 Apr 2002 Posts: 37 Location: California, USA
|
|
Back to top |
|
|
marxist n00b
Joined: 08 Mar 2003 Posts: 5 Location: Köln (Cologne)
|
Posted: Sat Mar 08, 2003 1:58 pm Post subject: |
|
|
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! |
|
Back to top |
|
|
xenon Guru
Joined: 25 Dec 2002 Posts: 432 Location: Europe
|
Posted: Sat Mar 08, 2003 3:58 pm Post subject: |
|
|
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? Now, that's an ugly color for software! |
|
Back to top |
|
|
marxist n00b
Joined: 08 Mar 2003 Posts: 5 Location: Köln (Cologne)
|
Posted: Sun Mar 09, 2003 7:10 pm Post subject: |
|
|
no, now it's green
it looks quite good now. but you're right, to each his own. |
|
Back to top |
|
|
modal Apprentice
Joined: 02 Oct 2002 Posts: 277
|
Posted: Tue Mar 11, 2003 8:19 am Post subject: |
|
|
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 |
|
|
Tobi 2.4.20 n00b
Joined: 27 Mar 2003 Posts: 11 Location: Düsseldorf, Germany, Earth
|
Posted: Fri Apr 25, 2003 2:14 pm Post subject: Lmule 1.2.0 |
|
|
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 |
|
|
iamarug Apprentice
Joined: 09 Feb 2003 Posts: 220
|
Posted: Fri Apr 25, 2003 4:31 pm Post subject: |
|
|
take a trip to www.lmule.org. there are ebuilds there |
|
Back to top |
|
|
Tobi 2.4.20 n00b
Joined: 27 Mar 2003 Posts: 11 Location: Düsseldorf, Germany, Earth
|
Posted: Fri Apr 25, 2003 5:00 pm Post subject: |
|
|
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 |
|
|
TecHunter Tux's lil' helper
Joined: 15 Feb 2003 Posts: 124
|
Posted: Fri Apr 25, 2003 5:15 pm Post subject: |
|
|
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 _________________ Gentoo is GREAT!!! |
|
Back to top |
|
|
Yinchie Apprentice
Joined: 05 Mar 2003 Posts: 179 Location: The Netherlands
|
Posted: Fri Apr 25, 2003 8:08 pm Post subject: |
|
|
lmule is in portage. |
|
Back to top |
|
|
TecHunter Tux's lil' helper
Joined: 15 Feb 2003 Posts: 124
|
Posted: Sat Apr 26, 2003 2:32 am Post subject: |
|
|
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 _________________ Gentoo is GREAT!!! |
|
Back to top |
|
|
tuXXer Tux's lil' helper
Joined: 23 Apr 2003 Posts: 83
|
Posted: Tue Apr 29, 2003 8:43 am Post subject: A little bit stange... |
|
|
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 |
|
|
tuXXer Tux's lil' helper
Joined: 23 Apr 2003 Posts: 83
|
Posted: Tue Apr 29, 2003 8:31 pm Post subject: Well |
|
|
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 |
|
|
trakon88 Tux's lil' helper
Joined: 04 Aug 2002 Posts: 84 Location: Hamburg, Germany
|
Posted: Wed Apr 30, 2003 1:46 pm Post subject: |
|
|
I made the same exprience ...
help is welcome
thanx for great free software
aleX |
|
Back to top |
|
|
Tobi 2.4.20 n00b
Joined: 27 Mar 2003 Posts: 11 Location: Düsseldorf, Germany, Earth
|
Posted: Fri May 02, 2003 6:19 am Post subject: Re: Well |
|
|
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 |
|
|
coby2k n00b
Joined: 07 Apr 2003 Posts: 63 Location: Oldenburg, Germany
|
Posted: Sun May 04, 2003 6:10 pm Post subject: emule problem |
|
|
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 |
|
|
|