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://github.com/negativ/eiskaltdcpp.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/ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DUSE_QT=ON -DUSE_ASPELL=ON -DFREE_SPACE_BAR_C=ON -DCREATE_MO=ON -DLUA_SCRIPT=ON -DWITH_SOUNDS=ON -DWITH_LUASCRIPTS=ON -DUSE_MINIUPNP=ON -DLOCAL_MINIUPNP=ON ../
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 libeiskaltdcpp.so.2.2 missing, just execute the following command:
sudo cp /usr/lib/libeiskaltdcpp.so.2.2 /usr/lib64/ -v
Now you can run Eiskalt without any problems.
anonimous 10:14 PM on October 6, 2011 Permalink |
>libupnp-devel
you made a mistake – you need miniupnpc-devel, but not libupnp-devel, it’s two different UPnP libraries.
Kartik 11:16 PM on October 6, 2011 Permalink |
I didn’t need to install miniupnpc-devel at all and Eiskalt worked. Perhaps libupnp-devel was also not required, read it is required in one of the forums.
anonimous 1:50 AM on October 7, 2011 Permalink |
you didn’t need to install miniupnpc-devel only because you use this cmake flag:
-DLOCAL_MINIUPNP=ON
if you use the -DLOCAL_MINIUPNP=OFF then miniupnpc-devel is needed.
Kartik 10:59 AM on October 7, 2011 Permalink |
Then it’s not required, and what I wrote not incorrect either. Isn’t it?
anonimous 12:42 AM on October 8, 2011 Permalink
DUSE_MINIUPNP – this is cmake flag for enable support UPnP.
DLOCAL_MINIUPNP – this is cmake flag for use LOCAL COPY miniupnpc from eiskaltdcpp.tar.bz2 archiv sources.
Kartik 12:52 AM on October 8, 2011 Permalink
Oh, didn’t know that. Thanks for clarifying.