Updates from October, 2011 Toggle Comment Threads | Keyboard Shortcuts

  • Kartik 2:06 PM on October 13, 2011 Permalink | Reply
    Tags: C, , , , UNIX   

    UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity.

    Dennis Ritchie. Source: http://www.linfo.org/q_unix.html See also Ashik’s post about his death – http://aashiks.in/blog/?p=270
     
  • Kartik 12:49 PM on October 6, 2011 Permalink | Reply
    Tags: , Git, , 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 6:13 PM on October 4, 2011 Permalink | Reply
    Tags: , , open source, , software engineering   

    …even if you wrote 100% of the code, and even if you are the best programmer in the world and will never need any help with the project at all, the thing that really matters is the users of the code. The code itself is unimportant; the project is only as useful as people actually find it.

    Linus Torvalds, on Software Development Management. Source: http://h30565.www3.hp.com/t5/Feature-Articles/Linus-Torvalds-s-Lessons-on-Software-Development-Management/ba-p/440
     
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