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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
47 - 34 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 14:01:29 2024 UTC