Code: Select all
[root@alexcentos transmission-2.31]# ./configure -q && make -s
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.
Code: Select all
[root@alexcentos transmission-2.31]# ./configure -q LIBEVENT_CFLAGS=-I/opt/libevent/include LIBEVENT_LIBS=/opt/libevent/lib/pkgconfig
Configuration:
Source code location: .
Compiler: g++
Build libtransmission: yes
* optimized for low-resource systems: no
* µTP enabled: yes
Build Command-Line client: yes
Build GTK+ client: no
Optional dependencies for GTK+ client:
* dbus support: no
* gio for watchdir support: no
* libnotify for 'download completed' popups: no
* libcanberra for 'download completed' sounds: no
* gconf2 to register as a magnet link handler: no
* libappindicator for an Ubuntu-style tray: no
Build Daemon: yes
Build Mac client: no
Code: Select all
[root@alexcentos transmission-2.31]# make install
Making install in extras
make[1]: Entering directory `/home/alex/transmission-2.31/extras'
make[2]: Entering directory `/home/alex/transmission-2.31/extras'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/alex/transmission-2.31/extras'
make[1]: Leaving directory `/home/alex/transmission-2.31/extras'
Making install in third-party
make[1]: Entering directory `/home/alex/transmission-2.31/third-party'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/alex/transmission-2.31/third-party'
Making install in libtransmission
make[1]: Entering directory `/home/alex/transmission-2.31/libtransmission'
CCLD blocklist-test
/opt/libevent/lib/pkgconfig: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[1]: *** [blocklist-test] Error 1
make[1]: Leaving directory `/home/alex/transmission-2.31/libtransmission'
make: *** [install-recursive] Error 1
Thank you.