Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake fails on Fedora Linux 38 #28

Open
hegjon opened this issue Aug 17, 2023 · 1 comment
Open

cmake fails on Fedora Linux 38 #28

hegjon opened this issue Aug 17, 2023 · 1 comment

Comments

@hegjon
Copy link

hegjon commented Aug 17, 2023

Running cmake version 3.27.1

` ``
jonny in libtexpdf/build on  master
❯ cmake ..
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.

Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.

-- The C compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib64/ccache/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13")
-- Found PNG: /usr/lib64/libpng.so (found version "1.6.37")
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for sys/wait.h
-- Looking for sys/wait.h - found
-- Looking for sys/stdbool.h
-- Looking for sys/stdbool.h - not found
-- Looking for getenv
-- Looking for getenv - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for timezone
-- Looking for timezone - found
-- Performing Test HAVE_TM_GMTOFF
-- Performing Test HAVE_TM_GMTOFF - Success
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of long
-- Check size of long - done
-- Configuring done (2.6s)
CMake Error at CMakeLists.txt:93 (add_dependencies):
The dependency target "libpng" of target "libtexpdf" does not exist.

CMake Error at CMakeLists.txt:93 (add_dependencies):
The dependency target "zlib" of target "libtexpdf" does not exist.

-- Generating done (0.0s)
CMake Generate step failed. Build files cannot be regenerated correctly.

@alerque
Copy link
Member

alerque commented Aug 19, 2023

The CMake files for this project (and SILE) are not tested or known to work at all. Both projects use GNU autotools by default for their build chains. The CMake stuff was a work in progress by folks trying to spin up Windows builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants