compile without gtk support

Asked by Jordan Bradley on 2011-07-11

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:
2011-07-12
Last query:
2011-07-12
Last reply:
2011-07-12
Razzloss (razzloss) said : #1

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

--RZ

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

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

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