cmake Nexahome på NSLU2

Moderator: Telldus

Post Reply
Snoopy
Posts: 253
Joined: Fri Mar 17, 2023 9:45 am
Location: Kalmar
Contact:

cmake Nexahome på NSLU2

Post by Snoopy »

Jag skulle vilja köra tellstickan på min slug i framtiden. Sluggen körs med Debian 5.
Jag följde installationsinstruktionerna på Telldus sida för linux. Allt gick bra fram till
cmake . då jag fick dessa felmeddelanden:

Code: Select all

superslug:/usr/src/telldus-core-2.0.4# cmake .                                  -- The CXX compiler identification is unknown
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND -- broken
CMake Error at /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake:25 (MESSAGE):
  The C++ compiler "CMAKE_CXX_COMPILER-NOTFOUND" is not able to compile a
  simple test program.

  It fails with the following output:

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:1 (PROJECT)

CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Configuring done
superslug:/usr/src/telldus-core-2.0.4#
gcc är installerad precis som libconfuse0 och libconfuse-dev
Jag har kärna 2.6.26-2
Ska det vara annan kompilator än gcc?
... världen är full av tappade sugar, några är mina....
HA 3.1.1 i en Raspberry Pi 2 + Tellstick Duo
owfs i annan Raspberry B+ + Tellstick och en Tellstick Net som backup
micke.prag
Site Admin
Posts: 2243
Joined: Fri Mar 17, 2023 9:45 am
Location: Lund
Contact:

Re: cmake Nexahome på NSLU2

Post by micke.prag »

cmake verkar inte ens hitta gcc...
Micke Prag
Software
Telldus Technologies
Snoopy
Posts: 253
Joined: Fri Mar 17, 2023 9:45 am
Location: Kalmar
Contact:

Re: cmake Nexahome på NSLU2

Post by Snoopy »

Just det. Jag lät linux leta efter gcc och fick svaret No such file or directory.
Så jag försökte hämta gcc igen med apt-get install gcc och fick svaret:

Code: Select all

superslug:~# apt-get install gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
superslug:~#
Hur kan gcc finnas utan att systemet hittar? :?:
... världen är full av tappade sugar, några är mina....
HA 3.1.1 i en Raspberry Pi 2 + Tellstick Duo
owfs i annan Raspberry B+ + Tellstick och en Tellstick Net som backup
Post Reply