checking for LIBEVENT... configure: error: Package requirements (libevent >= 2.0.10) were not met:Here is what to do in order to change as little as possible your Debian server:
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.
- Connect to http://monkey.org/~provos/libevent/ and get the version you need:
$ wget http://monkey.org/~provos/libevent-2.0.12-stable.tar.gz - Use the following command to extract the archive:
$ tar xzf libevent-2.0.12-stable.tar.gz - Enter the command to prepare the package:
$ ./configure --prefix=/opt/libevent - The next command:
# make - Login as root and enter this last command:
# make install
- $ wget http://download.transmissionbt.com/files/transmission-2.33.tar.bz2
- $ tar xvjf transmission-2.xx.tar.bz2
- $ cd transmission-2.xx
- $ PKG_CONFIG_PATH=/opt/libevent/lib/pkgconfig ./configure
- # /etc/init.d/transmission-daemon stop
- # make
- # make install
- # /etc/init.d/transmission-daemon start
Note that point 5 and 8 are only needed if you are upgrading from a previous version.
Special thanks to BaLP, my personal Linux guru, for helping solve the libevent problem by giving me detailed informations on how to resolve it.
This comment has been removed by the author.
ReplyDelete