Tagged: gnome Toggle Comment Threads | Keyboard Shortcuts

  • Kartik 12:49 PM on October 6, 2011 Permalink | Reply
    Tags: , Git, gnome, Linux distribution, Source code   

    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 | Reply

      >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 | Reply

        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 | Reply

      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 | Reply

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

    • Vishnu Mohandas 3:44 PM on March 27, 2012 Permalink | Reply

      For some reason, I’m still unable to search/download file lists (or files for that matter) using Eiskalt on Fedora 16. Changing the modes (Active/Passive) did not really make any difference. Any idea what could be going wrong? I hate having to use Apex via Wine :(
      Thanks :)

      • Kartik 4:26 PM on March 27, 2012 Permalink | Reply

        Yeah I used to face the same issue on Eiskalt, IIRC.

        Sorry to say, but since then I have switched among many versions of linux and prefer to use DC++ on windows environment only. Using linux explicitly for work.

  • Kartik 9:53 AM on September 25, 2010 Permalink | Reply
    Tags: , gnome, , ,   

    Ubuntu Tips and Tricks – Part 1 

    Just learned some new commands on Ubuntu:

    1. If sometime you get into a (big!) trouble such as the Gnome panels not loading but the desktop is visible, you can open the gnome-terminal using the key combination Ctrl + Alt + T (of course this is a good shortcut for normal desktop usage too).
    2. Because of the above problem, you may want to create a bootable drive to reinstall Ubuntu, but how do you do that as you cannot load the Ubuntu Startup Disk Creator? Don’t worry there is a way – use the following command:

      usb-creator-gtk &

      to open the Startup Disk Creator utility. I am assuming you had some iso image on the hard disk of your computer. If not you can transfer it using a flash drive and cp command.

    3. BTW if you don’t know how to mount a pen drive if it doesn’t happen automatically, use sudo fdisk -l after inserting the pen drive and take note of the device id, most of the times it will be /dev/sdb1. Then issue the following command:

      sudo mount /dev/sdb1 /mnt

      to mount sdb1 to /mnt directory.

    4. And yeah there is sudo poweroff to shutdown the system properly.
     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel
Follow

Get every new post delivered to your Inbox.

Join 55 other followers