compile without gtk support

Asked by Jordan Bradley

I'm trying to install a dc++ client on my headless server running debian 6 and I'm getting annoyed. Readme.txt said to run "scons --help" to get compile options but none are given. How do I compile linuxdc++ without gtk support?

Question information

Language:
English Edit question
Status:
Solved
For:
LinuxDC++ Edit question
Assignee:
No assignee Edit question
Solved by:
Jordan Bradley
Solved:
Last query:
Last reply:
Revision history for this message
Razzloss (razzloss) said :
#1

GTK is required. You can't compile LinuxDC++ without it at the moment (or in the near future)

--RZ

Revision history for this message
Francois Botha (igitur) said :
#2

Maybe you'd be interested in using MicroDC2, a console based DC client? http://ubuntuforums.org/showthread.php?t=702350

Revision history for this message
Jordan Bradley (jordan-w-bradley) said :
#3

I was recommended NCDC and it suits my needs perfectly. Thanks.

Revision history for this message
Nehal J Wani (nehaljwani) said :
#4

I found the exact solution and one should follow these steps:

Step 1: Download Source. http://prdownload.berlios.de/linuxdcpp/linuxdcpp-1.0.2.tar.bz2

Step 2: Install the packages required for compilation of source code.

 yum install scons zlib-devel bzip2-devel openssl-devel libglade2-devel gtk2-devel gcc-c++

This will take time depending upon the number of dependencies.

Step 3: Edit the file SConstruct and add the following:

    if not conf.CheckLib('X11'):
                 print '\tX11 library not found'
                 Exit(1)

Step 4: Compile!

    scons install

This will take time depending upon your system

Step 5: Now that linuxdcpp has been installed, I'll show you a [demo](http://www.youtube.com/watch?v=t0WryAKW2PI).