Package: cmake Version: 2.6.0-6 Severity: normal Tags: patch cmake macros no longer work for perl 5.10 and need to be updated. also it is missing a macro for php5 though it has one for php4.
I have attached a patch for the FindPerlLibs.cmake module to get it working again. -- System Information: Debian Release: 5.0.2 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-2-openvz-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages cmake depends on: ii libc6 2.7-18 GNU C Library: Shared libraries ii libcurl3-gnutls 7.18.2-8lenny2 Multi-protocol file transfer libra ii libexpat1 2.0.1-4 XML parsing C library - runtime li ii libgcc1 1:4.3.2-1.1 GCC support library ii libncurses5 5.7+20081213-1 shared libraries for terminal hand ii libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3 ii libxmlrpc-c3 1.06.27-1 A lightweight RPC library based on ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime cmake recommends no packages. cmake suggests no packages. -- no debconf information
--- ./FindPerlLibs.cmake.old 2008-09-24 12:34:34.000000000 -0600 +++ ./FindPerlLibs.cmake 2009-08-14 15:38:14.275055246 -0600 @@ -8,6 +8,7 @@ # SET(PERL_POSSIBLE_INCLUDE_PATHS + /usr/lib/perl/5.10.0/CORE /usr/lib/perl/5.8.3/CORE /usr/lib/perl/5.8.2/CORE /usr/lib/perl/5.8.1/CORE @@ -47,7 +48,7 @@ ENDIF(PERL_EXECUTABLE) FIND_LIBRARY(PERL_LIBRARY - NAMES ${PERL_POSSIBLE_LIBRARY_NAME} perl5.8.0 + NAMES ${PERL_POSSIBLE_LIBRARY_NAME} perl5.8.0 perl PATHS ${PERL_POSSIBLE_LIB_PATHS} )