sile-typesetter / libtexpdf

A PDF library extracted from TeX's dvipdfmx
GNU General Public License v2.0
26 stars 8 forks source link

cmake fails on Fedora Linux 38 #28

Open hegjon opened 1 year ago

hegjon commented 1 year ago

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 commented 1 year ago

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.