Problem Installing Transmission 2.03 on Centos 6 x86 64bit

Posted on 2012-08-20
Last Modified: 2016-06-27
I need to install Transmission 2.03 on the Centos 6 x86 64 bit. Unfortunately, I can't use higher versions of transmission because of some limitations. so I have to install this exact version.

I found the source code of transmission 2.03 from its site here:

Open in new window

I run these commands:
tar jxvf transmission-2.03.tar.bz2
cd transmission-2.03

Open in new window

In make step it shows some errors. The output is:
  CC     peer-io.o
peer-io.c: In function ‘tr_evbuffer_write’:
peer-io.c:269: error: dereferencing pointer to incomplete type
make[1]: *** [peer-io.o] Error 1
make[1]: Leaving directory `/var/www/html/r/transmission-2.03/libtransmission'
make: *** [all-recursive] Error 1

Open in new window

I attached full output to this post.
Question by:RMTeam
    LVL 18

    Expert Comment

    You probably miss some dependencies. Can you attach the whole make-output including errors?

    There was a util called getlibs to resolve dependencies, but my download link doesn't work right now. In Debian you could use the apt util to resolve dependencies, but I don't know the command for CentOS/RHEL.

    Author Comment

    Here is the completer output.
    LVL 18

    Expert Comment

    Then I don't know.

    Maybe someone else knows what to do?
    LVL 34

    Accepted Solution

    Your problem is that you have a modern version of libevent.h.
    The undefined structure is struct evbuffer.
    In libevent-1.4.14b-stable, event.h defines struct evbuffer, which is what the code you have expects. In libevent-2.0.19-stable, struct evbuffer is defined in evbuffer-internal.h. So your options are

    1. Revert your system to libevent-1.4.14b-stable

    You would need to verify that this doesn't break anything else on your system.

    2. Modify the transmission 2.03 code as required

    You would need to have some familiarity with C. Start by inserting the line #include <evbuffer-internal.h> immediately after #include <event.h> in libtransmission/peer-io.c. That should get you past the error you have now. There may be more errors further on, which you would deal with similarly.
    LVL 34

    Expert Comment

    by:Duncan Roe
    https:#a38323189 is good. I know, the original author didn't reply, and I wouldn't object if a person had suggested delete. But I do object to the auto-deleter

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
    The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. Once you open the link you will see …
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now