[LINUX] Problem building with libcec on Fedora
#1
Question 
I'm trying to build the latest nightly with libcec support however the build seems unable to find the CEC libraries.

Code:
$ ./configure  --enable-libcec
checking for UDEV... yes
configure: == libusb disabled. ==
checking for CEC... no
== libcec disabled. CEC adapter support will not be available. ==
configure: == libcec disabled. CEC adapter support will not be available. ==

libcec is compiled and working fine in /usr/lib/libcec.

Code:
$ cec-client -l
CEC Parser created - libcec version 1.3
Found devices: 1

device:        1
path:          /sys/devices/pci0000:00/0000:00:1d.2/usb8/8-2
com port:      /dev/ttyACM0

Code:
$ ll /usr/lib/libcec*
-rw-r--r--. 1 root root 4437648 Dec 10 20:47 /usr/lib/libcec.a
-rwxr-xr-x. 1 root root     924 Dec 10 20:47 /usr/lib/libcec.la
lrwxrwxrwx. 1 root root      15 Dec 10 20:47 /usr/lib/libcec.so -> libcec.so.1.0.3
lrwxrwxrwx. 1 root root      15 Dec 10 20:47 /usr/lib/libcec.so.1 -> libcec.so.1.0.3
-rwxr-xr-x. 1 root root 1790536 Dec 10 20:47 /usr/lib/libcec.so.1.0.3

Code:
$ ll /usr/include/libcec/
total 68
-rw-r--r--. 1 root root  8551 Dec 10 20:47 cecc.h
-rw-r--r--. 1 root root 14891 Dec 10 20:47 cec.h
-rw-r--r--. 1 root root  6029 Dec 10 20:47 cecloader.h
-rw-r--r--. 1 root root 29856 Dec 10 20:47 cectypes.h

Is there something I am missing here?
Reply
#2
Hi I had the same problem, and I had to change the destination folder, because if I remember well, XBMC lib have to be installed in usr/local/lib

So I typed
# autoreconf -vif
# ./configure --prefix=/usr/local
# make
# sudo make install

Hope this will help you.
S.
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] Problem building with libcec on Fedora0