[Solved] Problem installing 2.21 on Centos

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Locked
Vickey007
Posts: 12
Joined: Fri Feb 11, 2011 10:29 am

[Solved] Problem installing 2.21 on Centos

Post by Vickey007 »

hello

i am using Centos and Last night i format my OS
and then i check transmission 2.21 is out..
i try to install it but getting error..
i use this method:

Code: Select all

wget http://download.m0k.org/transmission/files/transmission-2.21.tar.bz2
tar xjf transmission-2.21.tar.bz2
cd transmission-2.21
./configure
But me got this error:

Code: Select all

checking for LIBEVENT... configure: error: Package requirements (libevent >= 2.0.10) were not met:

No package 'libevent' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBEVENT_CFLAGS
and LIBEVENT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
while i had install libevent 2.0.10 and pkg-config also install


i then try to install transmission-2.13, because it was working fine before but it gives me error too
./configure

after that make command is not working
Error:

Code: Select all

[root@xxxx transmission-2.13]# make
Making all in extras
make[1]: Entering directory `/usr/local/src/transmission-2.13/extras'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/transmission-2.13/extras'
Making all in third-party
make[1]: Entering directory `/usr/local/src/transmission-2.13/third-party'
Making all in libnatpmp
make[2]: Entering directory `/usr/local/src/transmission-2.13/third-party/libnatpmp'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/transmission-2.13/third-party/libnatpmp'
Making all in miniupnp
make[2]: Entering directory `/usr/local/src/transmission-2.13/third-party/miniupnp'
./updateminiupnpcstrings.sh ./miniupnpcstrings.h.in miniupnpcstrings.h
Detected OS [Linux] version [2.6.18-194.26.1.el5.028stab070.14]
setting OS_STRING macro value to Linux/2.6.18-194.26.1.el5.028stab070.14 in miniupnpcstrings.h.
make  all-am
make[3]: Entering directory `/usr/local/src/transmission-2.13/third-party/miniupnp'
  CC     minisoap.o
  CC     miniwget.o
miniwget.c: In function âminiwget3â:
miniwget.c:48: warning: unused parameter âurlâ
  AR     libminiupnp.a
make[3]: Leaving directory `/usr/local/src/transmission-2.13/third-party/miniupnp'
make[2]: Leaving directory `/usr/local/src/transmission-2.13/third-party/miniupnp'
Making all in dht
make[2]: Entering directory `/usr/local/src/transmission-2.13/third-party/dht'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/transmission-2.13/third-party/dht'
make[2]: Entering directory `/usr/local/src/transmission-2.13/third-party'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/usr/local/src/transmission-2.13/third-party'
make[1]: Leaving directory `/usr/local/src/transmission-2.13/third-party'
Making all in libtransmission
make[1]: Entering directory `/usr/local/src/transmission-2.13/libtransmission'
  CC     peer-io.o
peer-io.c: In function âtr_evbuffer_writeâ:
peer-io.c:285: error: dereferencing pointer to incomplete type
make[1]: *** [peer-io.o] Error 1
make[1]: Leaving directory `/usr/local/src/transmission-2.13/libtransmission'
make: *** [all-recursive] Error 1
please help whats going wrong with me
rb07
Posts: 1400
Joined: Sun Aug 24, 2008 3:14 am

Re: Transmisison 2.21 installing problem

Post by rb07 »

What's wrong?

Case 1: Transmission 2.21, you probably need to install the libevent-devel or whatever is the package name in CentOS for the development parts;

Case 2: Transmission 2.13, this will not build with libevent 2.0.10, you need to downgrade libevent to 1.4.14b.
Vickey007
Posts: 12
Joined: Fri Feb 11, 2011 10:29 am

Re: Transmisison 2.21 installing problem

Post by Vickey007 »

Thanks for reply but i want to install Transmission 2.21
so not getting how to install libevent-devel
i did yum install libevent-devel
and it was saying i had already installed

please help more..
rb07
Posts: 1400
Joined: Sun Aug 24, 2008 3:14 am

Re: Transmisison 2.21 installing problem

Post by rb07 »

Vickey007 wrote:i did yum install libevent-devel and it was saying i had already installed
And it is the correct version?

If it is the correct version, then look into the file config.log, find where it failed testing for libevent, the error message will be very clear and specific (something not found, or linker error, or other error). If you don't understand the problem, then post a few lines of the log, around the place where the error appears.
Vickey007
Posts: 12
Joined: Fri Feb 11, 2011 10:29 am

Re: Transmisison 2.21 installing problem

Post by Vickey007 »

I installed Transmission 2.21 by export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
i have problem in this version, its not giving me speed more than 50kb in download and upload
means seeding and leeching..

so i want to downgrade it to 2.13 because when i was using this version it was working fine..
but now me not able to install it
i got this error

Code: Select all

[root@xxxx transmission-2.13]# make
Making all in extras
make[1]: Entering directory `/usr/local/src/transmission-2.13/extras'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/transmission-2.13/extras'
Making all in third-party
make[1]: Entering directory `/usr/local/src/transmission-2.13/third-party'
Making all in libnatpmp
make[2]: Entering directory `/usr/local/src/transmission-2.13/third-party/libnatpmp'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/transmission-2.13/third-party/libnatpmp'
Making all in miniupnp
make[2]: Entering directory `/usr/local/src/transmission-2.13/third-party/miniupnp'
./updateminiupnpcstrings.sh ./miniupnpcstrings.h.in miniupnpcstrings.h
Detected OS [Linux] version [2.6.18-194.26.1.el5.028stab070.14]
setting OS_STRING macro value to Linux/2.6.18-194.26.1.el5.028stab070.14 in miniupnpcstrings.h.
make  all-am
make[3]: Entering directory `/usr/local/src/transmission-2.13/third-party/miniupnp'
  CC     minisoap.o
  CC     miniwget.o
miniwget.c: In function âminiwget3â:
miniwget.c:48: warning: unused parameter âurlâ
  AR     libminiupnp.a
make[3]: Leaving directory `/usr/local/src/transmission-2.13/third-party/miniupnp'
make[2]: Leaving directory `/usr/local/src/transmission-2.13/third-party/miniupnp'
Making all in dht
make[2]: Entering directory `/usr/local/src/transmission-2.13/third-party/dht'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/transmission-2.13/third-party/dht'
make[2]: Entering directory `/usr/local/src/transmission-2.13/third-party'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/usr/local/src/transmission-2.13/third-party'
make[1]: Leaving directory `/usr/local/src/transmission-2.13/third-party'
Making all in libtransmission
make[1]: Entering directory `/usr/local/src/transmission-2.13/libtransmission'
  CC     peer-io.o
peer-io.c: In function âtr_evbuffer_writeâ:
peer-io.c:285: error: dereferencing pointer to incomplete type
make[1]: *** [peer-io.o] Error 1
make[1]: Leaving directory `/usr/local/src/transmission-2.13/libtransmission'
make: *** [all-recursive] Error 1
so please tell me how can i install version 2.13
please help urgent
Vickey007
Posts: 12
Joined: Fri Feb 11, 2011 10:29 am

Re: Transmisison 2.21 installing problem

Post by Vickey007 »

I found the problem
i was set to limit up/down speed to 50kbps
topic may be close now
mspallacci
Posts: 6
Joined: Thu Feb 17, 2011 9:16 pm

Re: Transmisison 2.21 installing problem

Post by mspallacci »

Hi,
some days ago I recompiled the transmission daemon version 2.20 and libevent 2.0.10 for CentOS 5.5 x86_64.

If you want to try it, this is the link to my blog post: http://geekery.blog.com/2011/02/15/tran ... aemon-cli/
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: Transmisison 2.21 installing problem

Post by Jordan »

mspallacci, 2.20 had a serious bug in the tarball; you'll want to build 2.21 instead.
mspallacci
Posts: 6
Joined: Thu Feb 17, 2011 9:16 pm

Re: Transmisison 2.21 installing problem

Post by mspallacci »

Locked