Bug #64293 [Com]: PHP fails building openssl ext when using pkgconfig 0.28
| From: | justin at justincarmony dot com | Date: | Mon, 06 May 2013 03:38:20 +0000 |
| Subject: | Bug #64293 [Com]: PHP fails building openssl ext when using pkgconfig 0.28 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-178806@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64293&edit=1
ID: 64293
Comment by: justin at justincarmony dot com
Reported by: olemarkus@php.net
Summary: PHP fails building openssl ext when using pkgconfig
0.28
Status: Open
Type: Bug
Package: Compile Failure
PHP Version: 5.4.12
Block user comment: N
Private report: N
New Comment:
I checked out the pull request and it appears this bug has already been fixed and
merged in by remi:
http://git.php.net/?p=php-
src.git;a=commitdiff;h=640e72ce91d8e591b92cd93c18d1bfe3befe3424
So this ticket should be marked as closed, figure I'd point it out before anyone
dug further into this bug. :)
Previous Comments:
------------------------------------------------------------------------
[2013-02-25 07:59:39] olemarkus@php.net
Description:
------------
The problem is because of a change in pgkconfig 0.28 that trims the output of
pkg-config --cflags-only-I openssl.
This cause the 'if test -n "$OPENSSL_LIBS" && test -n
"$OPENSSL_INCS"; then' to
fail and -lssl is no longer passed to the build.
Test script:
---------------
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
--prefix=/usr/lib/php5.4 --mandir=/usr/lib/php5.4/man --infodir=/usr/lib/php5.4/info
--libdir=/usr/lib/php5.4/lib --with-libdir=lib --without-pear --disable-maintainer-zts
--disable-bcmath --without-bz2 --disable-calendar --disable-ctype --without-curl
--without-curlwrappers --disable-dom --without-enchant --disable-exif --disable-fileinfo
--disable-filter --disable-ftp --without-gettext --without-gmp --disable-hash --without-mhash
--without-iconv --disable-intl --disable-ipv6 --disable-json --without-kerberos --disable-libxml
--disable-mbstring --without-mcrypt --without-mssql --without-onig --with-openssl
--with-openssl-dir=/usr --disable-pcntl --disable-phar --disable-pdo --without-pgsql --disable-posix
--without-pspell --without-recode --disable-simplexml --disable-shmop --without-snmp --disable-soap
--disable-sockets --without-sqlite3 --without-sybase-ct --disable-sysvmsg --disable-sysvsem
--disable-sysvshm --without-tidy --disable-tokenizer --disable-wddx --disable-xml
--disable-xmlreader --disable-xmlwriter --without-xmlrpc --without-xsl --disable-zip --without-zlib
--disable-debug --without-cdb --without-db4 --disable-flatfile --without-gdbm --disable-inifile
--without-qdbm --without-freetype-dir --without-t1lib --disable-gd-jis-conv --without-jpeg-dir
--without-png-dir --without-xpm-dir --without-gd --without-mysqli --without-readline
--without-libedit --disable-session --with-pcre-regex=/usr --with-pcre-dir=/usr
--with-config-file-path=/etc/php/cli-php5.4
--with-config-file-scan-dir=/etc/php/cli-php5.4/ext-active --disable-embed --enable-cli
--disable-cgi --disable-fpm --without-apxs2
make
Expected result:
----------------
Compile success
Actual result:
--------------
http://bpaste.net/show/79578/
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64293&edit=1