From: xfree at inbox dot lv
Operating system: RHEL 4 Update 2 AS x86_64
PHP version: 5.1.2
PHP Bug Type: *Compile Issues
Bug description: Can’t compile from sources with addition futures (!)
Description:
------------
Hi,
After two days trying to compile latest PHP release 5.1.2 from sources I
would like to write you about some configuration error. I would like to
see 3 things in my PHP: mysql support, mcrypt support and imap support.
One of the goal reasons witch I see is the AMD64 (x84_64) platform
support in PHP.
Now main issue. My compilation script is following:
1) MySQL. Return error on ./configure step. Configuration test is fail on
mysql_close, mysql_error functions. PHP 4.4.0 compiles without errors
– its means that MySQL libraries is configured properly.
2) MCrypt. Return error on ./configure step both PHP4.4.0 and PHP5.1.2.
Firstly I compile libmcrypt from sources after mcrypt. Secondly installing
libmcrypt-2.5.7 from rpm and after mcrypt from rpm too. Changing libs
location from /usr, /usr/local.. trying to set shared options. No any
result. The error is the following can’t detect mcrypt version
– witch is incorrect because I have a latest lib version.
3) IMAP. Work with out any problems on my test x84 system. In x84_64
return error compilation step on linking c-client futures. After I
installing all require devel libraries from rpms - result is the same
– compilation error on c-client libraries linking.
So, thank you for your important work Hope I help you to find and
understand problems.
Good lack.
Reproduce code:
---------------
PREFIX=/usr/local/apacheBASE2Beta
./configure \
--with-apxs2=$PREFIX/bin/apxs \
--with-openssl \
--with-bz2 \
--with-zlib \
--with-oci8=/home/oracle/OraHome_1 \
--enable-sigchild \
--with-gd \
--without-sqlite \
--without-pdo-sqlite \
--with-xml \
--with-mcrypt=/usr/local
--with-imap=shared --with-kerberos=/usr/local --with-imap-ssl \
--with-mysql=shared \
--with-mysqli=/usr/bin/mysql_config \
--with-mysql-sock=/var/lib/mysql/mysql.sock
make
make install
Expected result:
----------------
N/A
Actual result:
--------------
N/A
--
Edit bug report at http://bugs.php.net/?id=36204&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=36204&r=trysnapshot44
Try a CVS snapshot (PHP 5.1):
http://bugs.php.net/fix.php?id=36204&r=trysnapshot51
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=36204&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36204&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=36204&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=36204&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=36204&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=36204&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=36204&r=support
Expected behavior: http://bugs.php.net/fix.php?id=36204&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=36204&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=36204&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36204&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36204&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36204&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=36204&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=36204&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=36204&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=36204&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=36204&r=mysqlcfg