ID:               25703
 Comment by:       x-itec at freenet dot de
 Reported By:      phpnet at wspse dot de
 Status:           Closed
 Bug Type:         *Configuration Issues
 Operating System: Redhat Linux 7.3
 PHP Version:      4.3.4RC1
 New Comment:

./configure will not succeed on SuSe 8.1 ifopenssl is enabled (I have
installed the latest available version)


Configuring extensions
checking for OpenSSL support... yes
checking for pkg-config... no
configure: error: Cannot find OpenSSL's libraries
make: *** No targets specified and no makefile found.  Stop.


Previous Comments:
------------------------------------------------------------------------

[2003-11-20 16:39:50] Greg dot Kresko at nrc-cnrc dot gc dot ca

(My apologies if this should be posted to a discussion list.)

This is still broken in the source code (4.3.4 downloaded
on 07 Nov 2003).
On IRIX 6.5.21f, using gcc 3.3.2, using openssl-0.9.7c:
-----
./configure --prefix=/usr/local/apache --with-mysql
--with-apxs=/usr/local/apache/bin/apxs --with-openssl=../openssl-0.9.7c
--with-mm=../mm-1.3.0
-----
ends with
-----
Configuring extensions
checking for OpenSSL support... yes
checking for pkg-config... no
configure: error: Cannot find OpenSSL's libraries
-----
I have "setenv LDFLAGS -L/usr/local/ssl/lib".

(The openssl installation completes with
-----
cp openssl.pc /usr/local/ssl/lib/pkgconfig
chmod 644 /usr/local/ssl/lib/pkgconfig
-----
Why "644"?  This makes it hard for non-roots to access.
Configuring as root or changing to "755" doesn't help.)

------------------------------------------------------------------------

[2003-09-30 14:06:46] [EMAIL PROTECTED]

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.



------------------------------------------------------------------------

[2003-09-30 10:57:12] phpnet at wspse dot de

Description:
------------
./configure will not succeed on Redhat 7.3 if openssl is enabled (the
shipped openssl-rpm [0.9.6b] does not include a pkgconfig-file).

This became broken in 4.3.4RC1 (4.3.3 worked fine). I quick checked
that the config-script was changed to use pkg-config for detecting the
library. I could fix it by copying the openssl.pc-file from redhat 9.0
and editing the version information in it.

However, since that file is not there in RH7.3 you should either use
the old behavior or document it and saying how to fix it.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=25703&edit=1

Reply via email to