#49012 [Opn->Fbk]: Spurious fatal error on require() statement
| From: | jani@php.net | Date: | Thu, 30 Jul 2009 11:33:16 +0000 |
| Subject: | #49012 [Opn->Fbk]: Spurious fatal error on require() statement | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-140479@lists.php.net to get a copy of this message | ||
ID: 49012
Updated by: jani@php.net
Reported By: gary dot barnes at is-networks dot co dot uk
-Status: Open
+Status: Feedback
Bug Type: Scripting Engine problem
Operating System: Linux version 2.6.10-1.766_FC3
PHP Version: 5.3.0
-Assigned To: pajoye
+Assigned To: jani
New Comment:
Please try current PHP_5_3 checkout now. I fixed the compile
failure..not the original issue in this bug since we don't know if that
even exists. :)
Previous Comments:
------------------------------------------------------------------------
[2009-07-30 11:32:08] svn@php.net
Automatic comment from SVN on behalf of jani
Revision: http://svn.php.net/viewvc/?view=revision&revision=286551
Log: - Fixed compile failure with older openssl libs (< 0.9.8), fixes
bug #49012
------------------------------------------------------------------------
[2009-07-30 08:20:05] gary dot barnes at is-networks dot co dot uk
OK, thanks for that.
OpenSSL version is 0.9.7a)
------------------------------------------------------------------------
[2009-07-29 23:30:11] jani@php.net
And I stand corrected. Apparently Pierre broke it. What openssl version
are you compiling PHP with?
------------------------------------------------------------------------
[2009-07-29 06:05:12] gary dot barnes at is-networks dot co dot uk
Thanks for this. Unfortunately, the make fails with this error:
/bin/sh /home/rpm/php5.3-200907290430/libtool --silent
--preserve-dup-deps --mode=compile gcc -Iext/openssl/
-I/home/rpm/php5.3-200907290430/ext/openssl/ -DPHP_ATOM_INC
-I/home/rpm/php5.3-200907290430/include
-I/home/rpm/php5.3-200907290430/main -I/home/rpm/php5.3-200907290430
-I/home/rpm/php5.3-200907290430/ext/date/lib
-I/home/rpm/php5.3-200907290430/ext/ereg/regex -I/usr/include/libxml2
-I/usr/kerberos/include
-I/home/rpm/php5.3-200907290430/ext/mbstring/oniguruma
-I/home/rpm/php5.3-200907290430/ext/mbstring/libmbfl
-I/home/rpm/php5.3-200907290430/ext/mbstring/libmbfl/mbfl
-I/usr/include/mysql
-I/home/rpm/php5.3-200907290430/ext/sqlite3/libsqlite
-I/home/rpm/php5.3-200907290430/TSRM
-I/home/rpm/php5.3-200907290430/Zend -I/usr/include -g -O2
-prefer-non-pic -c /home/rpm/php5.3-200907290430/ext/openssl/openssl.c
-o ext/openssl/openssl.lo
/home/rpm/php5.3-200907290430/ext/openssl/openssl.c: In function
`php_openssl_x509_from_zval':
/home/rpm/php5.3-200907290430/ext/openssl/openssl.c:1170: error:
`d2i_of_void' undeclared (first use in this function)
/home/rpm/php5.3-200907290430/ext/openssl/openssl.c:1170: error: (Each
undeclared identifier is reported only once
/home/rpm/php5.3-200907290430/ext/openssl/openssl.c:1170: error: for
each function it appears in.)
/home/rpm/php5.3-200907290430/ext/openssl/openssl.c:1170: error: syntax
error before ')' token
make: *** [ext/openssl/openssl.lo] Error 1)
------------------------------------------------------------------------
[2009-07-28 16:51:27] jani@php.net
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
And do not try loading any 3rd party extensions, or outdated ones
either. :)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/49012
--
Edit this bug report at http://bugs.php.net/?id=49012&edit=1