Utilizo este script para configurar tigervnc en hpux cmake es el último 3.4.3 zlib es el último 2.8 Pero el script falla, ¿por qué?
export PATH=$PATH:/opt/cmake/bin/
export CC="/usr/local/bin/gcc"
export HPUXLDFLAGS='-L/usr/local/lib/hpux32'
export HPUXCFLAGS='-I/usr/local/include'
export LDFLAGS="$HPUXLDFLAGS"
export CFLAGS="$HPUXCFLAGS"
cmake \
-G "Unix Makefiles" \
-DCMAKE_C_FLAGS:STRING="$HPUXCFLAGS" \
-DCMAKE_LD_FLAGS:STRING="$HPUXLDFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$HPUXCFLAGS" \
-Wno-dev \
-DCMAKE_INSTALL_PREFIX=/opt/tigervnc \
-DMAN_INSTALL_DIR=/opt/tigervnc/man \
-DSYSCONF_INSTALL_DIR=/etc/opt/tigervnc \
-DENABLE_PAM:BOOL=OFF \
-DBUILD_JAVA:BOOL=ON \
..
El script falla con esas líneas
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/hpux32/libX11.so
CMake Error at /opt/cmake/share/cmake-3.4/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.2.8")
Call Stack (most recent call first):
/opt/cmake/share/cmake-3.4/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
/opt/cmake/share/cmake-3.4/Modules/FindZLIB.cmake:124 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:125 (find_package)
¿Está mal mi guión?