![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 | |
|
A Carafe of Ubuntu
![]() Join Date: Mar 2005
Beans: 121
|
HOWTO: Install DC++ for linux
Hey Y'all! I just successfully installed DC++ for linux, that means, no confusing dcgui or dcgui-qt. It looks and behaves just like DC++ for Windows, but it looks better, even. No longer do I have to go through wine, and that makes me happy. Here's a helpful howto to get you running DC++ natively in linux.
![]() Here goes: First, you must download the sources from the linuxdcpp website via cvs. They do not have any binaries available. so: Code:
$ sudo cvs -d:pserver:anonymous@cvs.linuxdcpp.berlios.de:/cvsroot/linuxdcpp login (leave password blank and hit enter) $ cvs -z3 -d:pserver:anonymous@cvs.linuxdcpp.berlios.de:/cvsroot/linuxdcpp co linuxdcpp Ok, so you have the sources now, but you need to compile them and ubuntu does not come packaged with all the requirements. you need: libgtk2.0-dev libgtkmm-2.4-dev libglademm-2.4-dev zlib1g-dev libbz2-dev g++-3.4 libgtk2.0-bin libgtk2.0-0 libgtk2.0-common libgtkmm-2.4-1 libglademm-2.4-1 To make sure this is all installed apt-get the following. The packages you have installed already will be ignored, or upgraded (I think) Code:
sudo apt-get install libgtk2.0-dev libgtkmm-2.4-dev libglademm-2.4-dev zlib1g-dev libbz2-dev g++-3.4 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common g++ libgtkmm-2.4-1 libglademm-2.4-1 scons This next part is apparently unnecessary. (Thanks to Chousuke for pointing that out) But I don't really feel like removing it because it took me a while.... So ignore the immediately following quote insert, unless you get a missing libglade error when running scons later on. Quote:
Code:
$ cd ~/linuxdcpp (mine was my home folder) (then run scons, which compiles the program for you) $ sudo scons Code:
$ sudo dpkg -i menueditor* Code:
/directory/in/which/the/executable/subsides/dcpp Well, good luck with this. I do not know how many people use DC++, but hopefully this howto works for those who want to use it. This is my first howto, and I'm sure it needs work. Please, give me your feedback and I will edit the howto as needed. (Edited 5/20/05 @ 1:30 pm to clean stuff up, added Chousuke's info in here, so thanks to him for that.)
__________________
Ubuntu User since Warty +1 Registered Linux User #388905 Last edited by wbeck85; May 11th, 2005 at 12:37 PM.. Reason: Missing g++ in package list |
|
|
|
|
|
|
#2 |
|
Spilled the Beans
![]() Join Date: Mar 2005
Location: Geneva, Switzerland
Beans: 11
Ubuntu Breezy 5.10
|
Heya!
Thanks for this howto, I've managed to install Valknut (dcgui-qt) but i'm not very satisfied with it... so installing dc++ on my linux box would be great Code:
scons: Reading SConscript files ... Checking for pkg-config... ok Checking for gtk+-2.0 >= 2.4... ok Checking for gthread-2.0 >= 2.4... ok Checking for libglade-2.0 >= 2.4... ok Checking for C header file time.h... yes Checking for C header file signal.h... yes Checking for C header file unistd.h... yes Checking for C header file sys/poll.h... yes Checking for main() in C library pthread... yes Checking for main() in C library z... yes Checking for main() in C library bz2... yes Checking for C header file asm/atomic.h... yes Checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP in pthread.h... ok scons: done reading SConscript files. scons: Building targets ... g++-3.4 -DXTHREADS -Wl,--export-dynamic -pthread -pthread -DHAVE_ASM_ATOMIC_H -D_GNU_SOURCE -DHAVE_DECL_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP -I. -DENABLE_BINRELOC -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -c -o build/client/ADLSearch.o client/ADLSearch.cpp client/FinishedManager.cpp client/Socket.cpp client/AdcCommand.cpp client/HashManager.cpp client/StringDefs.cpp client/AdcHub.cpp client/HttpConnection.cpp client/StringTokenizer.cpp client/BZUtils.cpp client/HubManager.cpp client/Text.cpp client/BufferedSocket.cpp client/LogManager.cpp client/Thread.cpp client/Client.cpp client/NmdcHub.cpp client/TigerHash.cpp client/ClientManager.cpp client/QueueManager.cpp client/TimerManager.cpp client/ConnectionManager.cpp client/ResourceManager.cpp client/UploadManager.cpp client/CryptoManager.cpp client/SFVReader.cpp client/User.cpp client/DCPlusPlus.cpp client/SearchManager.cpp client/UserConnection.cpp client/DirectoryListing.cpp client/ServerSocket.cpp client/Util.cpp client/DownloadManager.cpp client/SettingsManager.cpp client/ZUtils.cpp client/Encoder.cpp client/ShareManager.cpp client/stdinc.cpp client/Exception.cpp client/SimpleXML.cpp g++-3.4: --export-dynamic: linker input file unused because linking not done cc1plus: error: unrecognized command line option "--export-dynamic" scons: *** [build/client/ADLSearch.o] Error 1 scons: building terminated because of errors. |
|
|
|
|
|
#3 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2005
Location: Korpilahti, Finland
Beans: 3
|
Re: HOWTO: Install DC++ for linux
The OP's how-to is now correct, but I'll leave this here nonetheless.
(I'll use code tags to prevent smilies) Do this: Code:
(no need for sudo yet. Do this in ~/ somewhere.) $ cvs -d:pserver:anonymous@cvs.linuxdcpp.berlios.de:/cvsroot/linuxdcpp login (No password) $ cvs -z3 -d:pserver:anonymous@cvs.linuxdcpp.berlios.de:/cvsroot/linuxdcpp co linuxdcpp You need the following development packages: libgtk2.0-dev libgtkmm-2.4-dev # I believe this is required since DC++ is a C++ app. libglademm-2.4-dev zlib1g-dev libbz2-dev downloading kaffe-pthread isn't required, since pthreads is a kernel feature you need the following programs/libraries also: (some may be already installed) scons g++-3.4 libgtk2.0 libgtkmm-2.4-1 libglademm-2.4-1 after this, just run scons to build. (sudo/root is still unneeded ;)) Last edited by Chousuke; April 21st, 2005 at 03:14 AM.. Reason: Obsoleted ;) |
|
|
|
|
|
#4 | |
|
Spilled the Beans
![]() Join Date: Mar 2005
Location: Geneva, Switzerland
Beans: 11
Ubuntu Breezy 5.10
|
Re: HOWTO: Install DC++ for linux
Quote:
|
|
|
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() Join Date: Mar 2005
Location: Stockholm
Beans: 5
|
Re: HOWTO: Install DC++ for linux
|
|
|
|
|
|
#6 | |
|
Spilled the Beans
![]() Join Date: Mar 2005
Location: Geneva, Switzerland
Beans: 11
Ubuntu Breezy 5.10
|
Re: HOWTO: Install DC++ for linux
Quote:
|
|
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2006
My beans are hidden!
|
Re: HOWTO: Install DC++ for linux
Hello.
I'm new to any form of linux so please bare with me. Here is what happened to me, maybe someone can explain why: $ sudo cvs -d Password: (I left it blank) $ cvs -z3 -d bash: cvs: command not found <--- what in the #$%$$ is that? |
|
|
|
|
|
#8 |
|
Just Give Me the Beans!
![]() Join Date: Nov 2005
Beans: 44
Ubuntu 6.10 Edgy
|
Re: HOWTO: Install DC++ for linux
Ignore this
|
|
|
|
|
|
#9 | |
|
First Cup of Ubuntu
![]() Join Date: Apr 2006
My beans are hidden!
|
Re: HOWTO: Install DC++ for linux
Quote:
Damn, this is frustrating... Last edited by Apollinaire; April 30th, 2006 at 08:05 PM.. |
|
|
|
|
|
|
#10 |
|
First Cup of Ubuntu
![]() Join Date: May 2005
Beans: 3
|
Re: HOWTO: Install DC++ for linux
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|