Bug #18321: with-openssl : e_os.h (OpenSSL-0.9.7b) can't be included
| From: | mmacwing at irisa dot fr | Date: | Fri, 12 Jul 2002 18:43:34 +0000 |
| Subject: | Bug #18321: with-openssl : e_os.h (OpenSSL-0.9.7b) can't be included | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-14006@lists.php.net to get a copy of this message | ||
From: mmacwing@irisa.fr
Operating system: Solaris 2.7
PHP version: 4.2.1
PHP Bug Type: OpenSSL related
Bug description: with-openssl : e_os.h (OpenSSL-0.9.7b) can't be included
Hi,
With the last version of OpenSSL (0.9.7b), PHP can't include e_os.h (see
"php_dir/ext/openssl/openssl.c").
In the end of this message, you can find a forward about e_os.h from
Richard Levitte (Member of the OpenSSL)
./configure --prefix=/udd/mmacwing/usr/local/php-4.2.1/
--with-config-file-path=/udd/mmacwing/usr/local/php-4.2.1/
--with-apxs=/udd/mmacwing/usr/local/apache/bin/apxs
--with-openssl=/udd/mmacwing/usr/local/openssl/ --with-mysql
--enable-track-vars --enable-versioning --with-xml
Making all in openssl
/bin/sh /udd/mmacwing/usr/src/php-4.2.1/libtool --silent --mode=compile
gcc -I. -I/udd/mmacwing/usr/src/php-4.2.1/ext/openssl
-I/udd/mmacwing/usr/src/php-4.2.1/main
-I/udd/mmacwing/usr/src/php-4.2.1
-I/udd/mmacwing/usr/local/apache_1.3.26/include
-I/udd/mmacwing/usr/src/php-4.2.1/Zend
-I/udd/mmacwing/usr/local/openssl//include
-I/udd/mmacwing/usr/src/php-4.2.1/ext/mysql/libmysql
-I/udd/mmacwing/usr/src/php-4.2.1/ext/xml/expat
-D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DMOD_SSL=208110 -DEAPI
-DSHARED_CORE -DEAPI -I/udd/mmacwing/usr/src/php-4.2.1/TSRM -O2
-I/udd/mmacwing/usr/local/openssl/include
-I/udd/mmacwing/usr/local/openldap/include -DEAPI -prefer-pic -c
openssl.c
openssl.c:42: openssl/e_os.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `openssl.lo'
Current working directory /udd/mmacwing/usr/src/php-4.2.1/ext/openssl
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /udd/mmacwing/usr/src/php-4.2.1/ext/openssl
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /udd/mmacwing/usr/src/php-4.2.1/ext
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Thanks for your help.
Michel.
======================================================
Forward from Richard Levitte - Member of the OpenSSL development team :
In message <rt-145-986.2.62055893591906@openssl.org> on Fri, 12 Jul 2002
15:43:08 +0200 (METDST), "Michel Mac Wing via RT" <rt@openssl.org>
said:
e_os.h was never meant to be exported. Starting with 0.9.7, it really
isn't exported any more. It's a mistake for external applications to
try to use it and has always been so.
rt> when I try to compile PHP :
rt>
rt> Making all in openssl
rt> /bin/sh /udd/mmacwing/usr/src/php-4.2.1/libtool --silent
rt> --mode=compile
rt> gcc -I. -I/udd/mmacwing/usr/src/php-4.2.1/ext/openssl
rt> -I/udd/mmacwing/usr/src/php-4.2.1/main
rt> -I/udd/mmacwing/usr/src/php-4.2.1
rt> -I/udd/mmacwing/usr/local/apache_1.3.26/include
rt> -I/udd/mmacwing/usr/src/php-4.2.1/Zend
rt> -I/udd/mmacwing/usr/local/openssl//include
rt> -I/udd/mmacwing/usr/src/php-4.2.1/ext/mysql/libmysql
rt> -I/udd/mmacwing/usr/src/php-4.2.1/ext/xml/expat
rt> -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DMOD_SSL=208110
-DEAPI
rt> -DSHARED_CORE -DEAPI -I/udd/mmacwing/usr/src/php-4.2.1/TSRM -O2
rt> -I/udd/mmacwing/usr/local/openssl/include
rt> -I/udd/mmacwing/usr/local/openldap/include -DEAPI -prefer-pic
-c
rt> openssl.c
rt> openssl.c:42: openssl/e_os.h: No such file or directory
rt> ^^^^^^^^^^^^^^^^^^^^^^^^
rt> *** Error code 1
rt> make: Fatal error: Command failed for target `openssl.lo'
rt> Current working directory
/udd/mmacwing/usr/src/php-4.2.1/ext/openssl
rt>
rt> *** Error code 1
rt> make: Fatal error: Command failed for target `all-recursive'
rt> Current working directory
/udd/mmacwing/usr/src/php-4.2.1/ext/openssl
rt>
rt> *** Error code 1
rt> make: Fatal error: Command failed for target `all-recursive'
rt> Current working directory /udd/mmacwing/usr/src/php-4.2.1/ext
rt> *** Error code 1
rt> make: Fatal error: Command failed for target `all-recursive'
And what exactly is attempted here?????
--
Richard Levitte \ Spannvägen 38, II \ LeViMS@stacken.kth.se
Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
\ SWEDEN \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis -- poei@bofh.se
Member of the OpenSSL development team: http://www.openssl.org/
Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for
more info.
--
Edit bug report at http://bugs.php.net/?id=18321&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18321&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18321&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18321&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18321&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18321&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18321&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18321&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18321&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18321&r=globals