ID:               36204
 Updated by:       [EMAIL PROTECTED]
 Reported By:      xfree at inbox dot lv
-Status:           Open
+Status:           Feedback
 Bug Type:         *Compile Issues
 Operating System: RHEL 4 Update 2 AS x86_64
 PHP Version:      5.1.2
 New Comment:

What if you add --with-libdir=lib64 ?


Previous Comments:
------------------------------------------------------------------------

[2006-01-30 09:48:10] xfree at inbox dot lv

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 this bug report at http://bugs.php.net/?id=36204&edit=1

Reply via email to