Build EiskaltDC++ on Fedora 15 Lovelock 64-bit

EiskaltDC++ is a cross-platform program that uses the Direct Connect and ADC protocol. The direct connect client LinuxDC++ available in rpmfusion repos doesn’t yet support ADC protocol and hence doesn’t work with the DC++ Hub that has been setup in our hostel. I had to compile Eiskalt from the sources. Posting here the steps I had to follow for a rather painful build.

I am using Fedora 15 64-bit with GNOME 3 desktop.

First install the dependency packages, I had to install all these devel packages for my system, YMMY, see below:

sudo yum install cmake bzip2-devel xlib-devel zlib-devel openssl-devel qt-devel qmake boost-devel libupnp-devel aspell-devel libidn-devel lua-devel

cd to a desired directory where you keep your sources. Then,

git clone git:// #Clone the latest source from the official git repo
cd eiskaltdcpp/
gedit INSTALL & #Keep the INSTALL file handy, it lists all the dependencies required for the build
mkdir builddir
cd builddir/

If you get an error in the above step, check which dependency is missing and install it using yum

make -j9 #replace 9 with the number of cores in your CPU plus one. For my Core i7 CPU with 8 cores, it's 9
sudo make install

You can try running it by typing eiskaltdcpp-qt on the terminal. If it gives an error about missing, just execute the following command:

sudo cp /usr/lib/ /usr/lib64/ -v

Now you can run Eiskalt without any problems. :)

Posted in post with tags fedora Git gnome Linux distribution Source code