teapot fails to build on OpenSuse Tumbleweed #1

Closed
opened 2019-07-22 20:58:43 +00:00 by glen · 3 comments
Owner

Even with libfltk1, fltk-devel, and fltk-devel-static installed, performing the following:

mkdir build
cd build
cmake ..

results in

-- The C compiler identification is GNU 9.1.1
-- The CXX compiler identification is GNU 9.1.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for cbreak in /usr/lib64/libncurses.so
-- Looking for cbreak in /usr/lib64/libncurses.so - found
-- Found Curses: /usr/lib64/libncurses.so  
-- Could NOT find FLTK (missing: FLTK_DIR)
CMake Warning (dev) at CMakeLists.txt:125 (set):
  implicitly converting '.deb Architecture' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:126 (set):
  implicitly converting '.rpm Architecture' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /usr/share/cmake/Modules/CPack.cmake:523 (message):
  CPack package description file:
  "/home/gwhitney/code/teapot-spreadsheet/README" could not be found.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CPack.cmake:527 (cpack_check_file_exists)
  CMakeLists.txt:142 (include)


-- Configuring incomplete, errors occurred!

teapot should be able to find the system fltk.

Even with libfltk1, fltk-devel, and fltk-devel-static installed, performing the following: ``` mkdir build cd build cmake .. ``` results in ``` -- The C compiler identification is GNU 9.1.1 -- The CXX compiler identification is GNU 9.1.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for cbreak in /usr/lib64/libncurses.so -- Looking for cbreak in /usr/lib64/libncurses.so - found -- Found Curses: /usr/lib64/libncurses.so -- Could NOT find FLTK (missing: FLTK_DIR) CMake Warning (dev) at CMakeLists.txt:125 (set): implicitly converting '.deb Architecture' to 'STRING' type. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMakeLists.txt:126 (set): implicitly converting '.rpm Architecture' to 'STRING' type. This warning is for project developers. Use -Wno-dev to suppress it. CMake Error at /usr/share/cmake/Modules/CPack.cmake:523 (message): CPack package description file: "/home/gwhitney/code/teapot-spreadsheet/README" could not be found. Call Stack (most recent call first): /usr/share/cmake/Modules/CPack.cmake:527 (cpack_check_file_exists) CMakeLists.txt:142 (include) -- Configuring incomplete, errors occurred! ``` teapot should be able to find the system fltk.
Author
Owner

This is perhaps not surprising as none of the three fltk-related packages install any cmake files, and as far as I can tell, find_package which is being used to look for fltk can only succeed if there is some sort of cmake file.

This is perhaps not surprising as none of the three fltk-related packages install any cmake files, and as far as I can tell, find_package which is being used to look for fltk can only succeed if there is some sort of cmake file.
glen changed title from teapot fails to make on OpenSuse tumbleweed to teapot fails to build on OpenSuse tumbleweed 2019-07-22 21:06:55 +00:00
glen changed title from teapot fails to build on OpenSuse tumbleweed to teapot fails to build on OpenSuse Tumbleweed 2019-07-22 21:07:03 +00:00
Author
Owner

OK, so renamed README to README.md in the CMakeLists.txt file; now it will configure (but still can't find fltk), but in compiling fails to link, with many errors like:
undefined reference to xdrstdio_create'`. So it's not linking a proper xdr library (for opensuse, this would be libtirpc-devel). So first let's get the curses version linking.

OK, so renamed README to README.md in the CMakeLists.txt file; now it will configure (but still can't find fltk), but in compiling fails to link, with many errors like: `undefined reference to `xdrstdio_create'`. So it's not linking a proper xdr library (for opensuse, this would be libtirpc-devel). So first let's get the curses version linking.
Author
Owner

OK, searching for libtirpc and linking with that if it is found allowed (the curses version) teapot to compile and link, apparently successfully. So I will check just this much in, as that's a partial solution to the problem.

OK, searching for libtirpc and linking with that if it is found allowed (the curses version) teapot to compile and link, apparently successfully. So I will check just this much in, as that's a partial solution to the problem.
glen closed this issue 2019-07-23 00:15:09 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: glen/teapot-spreadsheet#1
No description provided.