For several days I've been struggling with the installation of lemonpos. I'm trying to install the latest version from a tarball and don't have enough experience to figure out what I'm doing wrong. Seems like I run into problems at every turn:
root@Firefly:/usr# cd trunk
root@Firefly:/usr/trunk# mkdir build
root@Firefly:/usr/trunk# cd build
root@Firefly:/usr/trunk/build# cmake -DCMAKE_INSTALL_PREFIX=/usr/bin ..
-- The C compiler identification is GNU
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
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 at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:44 (MESSAGE):
ERROR: Could not find KDE4 kde4-config
Call Stack (most recent call first):
CMakeLists.txt:3 (find_package)
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.6)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
THEN:
root@Firefly:/usr/trunk/build# cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/usr/bin ..
-- The CXX compiler identification is unknown
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 at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:44 (MESSAGE):
ERROR: Could not find KDE4 kde4-config
Call Stack (most recent call first):
CMakeLists.txt:3 (find_package)
-- Configuring incomplete, errors occurred!
THEN (found kde4-config at /usr/lib/kde4/bin/):
root@Firefly:/usr/trunk/build# cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/bin ..
-- The CXX compiler identification is unknown
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 at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:84 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/root/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps
Call Stack (most recent call first):
CMakeLists.txt:3 (find_package)
-- Configuring incomplete, errors occurred!
I am clearly making some errors here, but I don't really understand the full meaning of the error messages or how to satisfy them. Can someone please help me figure this out? It occurred to me that if someone who is experienced with this sort of install would be willing to try the install on their own machine, the information could then be relayed to me and save a lot more hours of frustration. I've been trying to read, learn and fumble through this but it it feels like I'm stuck.
root@Firefly:/usr# cd trunk
root@Firefly:/usr/trunk# mkdir build
root@Firefly:/usr/trunk# cd build
root@Firefly:/usr/trunk/build# cmake -DCMAKE_INSTALL_PREFIX=/usr/bin ..
-- The C compiler identification is GNU
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
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 at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:44 (MESSAGE):
ERROR: Could not find KDE4 kde4-config
Call Stack (most recent call first):
CMakeLists.txt:3 (find_package)
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.6)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
THEN:
root@Firefly:/usr/trunk/build# cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/usr/bin ..
-- The CXX compiler identification is unknown
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 at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:44 (MESSAGE):
ERROR: Could not find KDE4 kde4-config
Call Stack (most recent call first):
CMakeLists.txt:3 (find_package)
-- Configuring incomplete, errors occurred!
THEN (found kde4-config at /usr/lib/kde4/bin/):
root@Firefly:/usr/trunk/build# cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/bin ..
-- The CXX compiler identification is unknown
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 at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:84 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/root/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps
Call Stack (most recent call first):
CMakeLists.txt:3 (find_package)
-- Configuring incomplete, errors occurred!
I am clearly making some errors here, but I don't really understand the full meaning of the error messages or how to satisfy them. Can someone please help me figure this out? It occurred to me that if someone who is experienced with this sort of install would be willing to try the install on their own machine, the information could then be relayed to me and save a lot more hours of frustration. I've been trying to read, learn and fumble through this but it it feels like I'm stuck.
Comment