Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#61044 closed defect (fixed)

magicspp @4.4.1: Could not find a package configuration file provided by "zlib"

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: magicspp

Description

magicspp does not want to build on any OS version:

https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/36961/steps/install-port/logs/stdio

CMake Error at CMakeLists.txt:194 (find_package):
  By not providing "Findzlib.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "zlib", but
  CMake did not find one.

  Could not find a package configuration file provided by "zlib" with any of
  the following names:

    zlibConfig.cmake
    zlib-config.cmake

  Add the installation prefix of "zlib" to CMAKE_PREFIX_PATH or set
  "zlib_DIR" to a directory containing one of the above files.  If "zlib"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!

Change History (3)

comment:1 Changed 4 years ago by tenomoto (Takeshi Enomoto)

I cannot reproduce the error. I'd expect cmake to find FindZLIB.cmake that lives in ${prefix}/local/share/cmake-3.18/Modules, althoug the path is not supplied by CMAKE_MODULE_PATH. I replace PortGroup cmake 1.0 with 1.1 to see what happens.

comment:2 Changed 4 years ago by tenomoto (Takeshi Enomoto)

In 02e5300635e1b58c5fb6b4d22c961edc1656e486/macports-ports (master):

magicspp: replace PortGroup cmake 1.0 with 1.1

See: #61044

comment:3 Changed 4 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: assignedclosed
Last edited 4 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)
Note: See TracTickets for help on using tickets.