[php-maint] Bug#668835: php5: 5.4.1~rc1 fails to build from source on OpenSSL and PCRE libraries

Frederik Vanrenterghem frederik at vanrenterghem.biz
Sat Apr 14 18:58:24 UTC 2012

Source: php5
Version: 5.4.1~rc1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
I tried installing php5 from source, but it fails when running debian/rules
binary upon checking for the OpenSSL libraries

configure: error: Cannot find OpenSSL's libraries
make: *** [configure-apache2-stamp] Error 1

   * What exactly did you do (or not do) that was effective (or
I removed the /usr from the debian/rules file, which makes the OpenSSL
configuration pass. It again breaks on PCRE though, which can't be resolved as
easily. I provided as directory /usr/include for the headers, but that makes it
break again in the next step:

checking for PCRE headers location... /usr/include
checking for PCRE library location... configure: error: Could not find
libpcre.(a|so) in /usr
make: *** [configure-apache2-stamp] Error 1

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-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

More information about the pkg-php-maint mailing list