qweasd |
09-08-2010 12:33 PM |
Quote:
Originally Posted by dimm0k
(Post 4090512)
Did you link to libevent via flags put along the ./configure? I thought I had libevent installed properly so that ./configure for transmission would be able to find it, but until I used the flags it was not.
|
I swore off polluting default locations with custom-built libraries, so I keep everything as local as possible.
My libevent is configured with
Code:
./configure --prefix=`pwd`/install
My transmission is built like so (IIRC, what really matters is the -levent switch)
Code:
#!/bin/bash
install_path="`pwd`/install"
libevent_path="/usr/local/src/libevent-1.4.14b-stable/install"
export LIBEVENT_LIBS="-L$libevent_path/lib -levent"
export LIBEVENT_CFLAGS="-I$libevent_path/include"
./configure --prefix=$install_path
if [ $? != 0 ] ; then exit ; fi
echo press any key to make... ; read a
make
if [ $? != 0 ] ; then exit ; fi
echo Install into $install_path [Y/n]
read -n 1 a
if [[ $a == "" ]] || [[ $a == "y" ]] || [[ $a == "Y" ]] ; then
make install
fi
I just finished testing this code with libevent-1.4.14b-stable and transmission-2.04 (both latest stable), everything seems kosher.
|