Forum Replies Created
-
AuthorPosts
-
happyParticipant
[quote=88962]I am thinking that several of the commands i listed above need to be run with sudo.
…
AC_CONFIG_AUX_DIR([.])
to the top of configure.ac
ACLOCAL_AMFLAGS = -I .
to the top of Makefile.am
[/quote]Hi,
Thanks for the reply.
First of all I believe it’s not really necessary (or even advisable) to run all those commands with sudo. So AFAIK you can/should skip sudo for all commands except:
sudo make install
and
sudo ldconfig
I belive I also attempted the two modifications in comfigure.ac and MAkefile.am too, but I will check again this evening just to make sure.
happyParticipant[quote=87649]Actually the CEC wasn’t working with the kodi that I installed with retropie_setup.sh so I used the following commands to install and compile libCEC for raspberry pi
…
[/quote]Hi! I have downloaded the 2.6.0 image of Retropie to my RPi2 and installed Kodi using the Retropie setup script -> Experimental packages -> Kodi.
It works well, but like you I soon noticed that CEC didn’t work. (It works well from Openelec on the same TV/Pi, so nothing hardware-related).
I tried following the steps you list to install libcec, but I run into trouble when trying to execute the ./configure command.
Here’s the output I get:
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… no
checking for mawk… mawk
checking whether make sets $(MAKE)… yes
checking whether make supports nested variables… yes
checking build system type… armv7l-unknown-linux-gnueabihf
checking host system type… armv7l-unknown-linux-gnueabihf
checking for g++… g++
checking whether the C++ compiler works… no
configure: error: in `/home/pi/libcec’:
configure: error: C++ compiler cannot create executables
See `config.log’ for more detailsUnfortunately I don’t have the config.log file available right now (not at home), but my faith is strong that the above is enough to tell someone more experienced with this stuff than I am what might be wrong. So, any idea what’s wrong?
-
AuthorPosts