php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17149 Openssl as self contained extension - make fails
Submitted: 2002-05-10 20:32 UTC Modified: 2002-09-11 10:51 UTC
From: roshan_naik at hp dot com Assigned:
Status: Closed Package: OpenSSL related
PHP Version: 4.2.0 OS: HPUX 11.00
Private report: No CVE-ID: None
 [2002-05-10 20:32 UTC] roshan_naik at hp dot com
Ran phpize on the openssl extension sources to produce configure file for self contained extension.

The configure seems to have no explicit option for specifying the openssl directory (./configure --help)

It seems to accept the value from an environment variable $OPENSSL_DIR instead.

Steps followed..

1) phpize

2) ./configure  \
    --prefix=/opt/hpapache2/php/lib/php/extensions \  
    --with-phpconfig=/php/pear/scripts/php-config 
3) make

Errors:

cpp: "openssl.c", line 35: error 4036: Can't open include file 'openssl/evp.h'.
cpp: "openssl.c", line 36: error 4036: Can't open include file 'openssl/x509.h'.
cpp: "openssl.c", line 37: error 4036: Can't open include file 'openssl/x509v3.h'.
cpp: "openssl.c", line 38: error 4036: Can't open include file 'openssl/crypto.h'.
cpp: "openssl.c", line 39: error 4036: Can't open include file 'openssl/pem.h'.
cpp: "openssl.c", line 40: error 4036: Can't open include file 'openssl/err.h'.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-17 21:29 UTC] sniper@php.net
This should be fixed in the CVS. Please test this
snapshot. Remember to first do 'make install' to 
get the fixed phpize installed!

http://snaps.php.net/php4-latest.tar.gz

 [2002-09-11 10:51 UTC] sniper@php.net
This is fixed..
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Dec 02 02:01:23 2020 UTC