Hi everybody,
I'm desperately trying to build Transmission daemon 2.61 on centos linux 6.3 (latest).
Interesting enough, Transmission 2.51 and below compile ok. The problems only occur when building newer versions.
Build error details follow:
*** Making all in libtransmission
make[1]: Entering directory `/home/victor/soft/transmission-2.61/libtransmission'
CCLD blocklist-test
./libtransmission.a(net.o): In function `tr_address_from_string':
/home/victor/soft/transmission-2.61/libtransmission/net.c:114: undefined reference to `evutil_inet_pton'
/home/victor/soft/transmission-2.61/libtransmission/net.c:118: undefined reference to `evutil_inet_pton'
and so on...
I configure sources with this command:
./configure --enable-daemon --without-gtk LIBEVENT_CFLAGS='-I/opt/include' LIBEVENT_LIBS='-L/opt/lib'
My libevent version is 2.0.19.
Could you kindly point me in the right direction for solving this?
Thanks!
Can't build Transmission-2.61 [SOLVED]
-
- Posts: 4
- Joined: Tue Jul 24, 2012 2:33 pm
Can't build Transmission-2.61 [SOLVED]
Last edited by fullblaststorm on Thu Jul 26, 2012 4:01 pm, edited 1 time in total.
Re: Can't build Transmission-2.61
That part is wrong, LIBS is for libraries, not just paths, you need to set LDFLAGS='-L/opt/lib', or LIBEVENT_LIBS='-L/opt/lib -levent'.fullblaststorm wrote:LIBEVENT_LIBS='-L/opt/lib'
-
- Posts: 4
- Joined: Tue Jul 24, 2012 2:33 pm
Re: Can't build Transmission-2.61
Thank you, problem solved!rb07 wrote:That part is wrong, LIBS is for libraries, not just paths, you need to set LDFLAGS='-L/opt/lib', or LIBEVENT_LIBS='-L/opt/lib -levent'.fullblaststorm wrote:LIBEVENT_LIBS='-L/opt/lib'
