ID:               34718
 User updated by:  ionut dot aivanesei at amdocs dot com
 Reported By:      ionut dot aivanesei at amdocs dot com
 Status:           Bogus
 Bug Type:         Apache2 related
 Operating System: HP-UX B.11.11
 PHP Version:      5.0.5
 New Comment:

One more thing to mention is that the make and make install are
successful if I run configure without --with-apxs2, and it works ok in
CGI mode (with mysql also).


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

[2005-10-03 15:58:26] [EMAIL PROTECTED]

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.



------------------------------------------------------------------------

[2005-10-03 15:53:34] ionut dot aivanesei at amdocs dot com

Description:
------------
Hi,

I am trying to compile PHP 5.0.5 on HP-UX B.11.11 and I am not
succeeding.
I have already compiled httpd-2.0.54 with --enable-so
--enable-rewrite.
I have MySQL binaries mysql-standard-4.1.14-hp-hpux11.11-hppa2.0w.

I am using the following: ./configure --prefix=${BUILD_DIR}/php
--with-apxs2=${BUILD_DIR}/httpd/bin/apxs
--with-mysql=${BUILD_DIR}/mysql

./configure is finished OK.

make is finished OK, but with the following warnings:
--------------------------------------------------------------------------------------------------------------
*** Warning: linker path does not have real file for library
-lmysqlclient.
*** I have the capability to make that library automatically link in
when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libmysqlclient and none of the candidates passed a file format
test
*** using a file magic. Last file checked:
/elsuser11.p802a/els/crm/ionuta/web/mysql/lib/libmysqlclient.a

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libphp5.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.

--------------------------------------------------------------------------------------------------------------



Then, when I run make install I have the following error:
--------------------------------------------------------------------------------------------------------------
Installing PHP SAPI module:       apache2handler
/elsuser11.p802a/els/crm/ionuta/web/httpd/build/instdso.sh
SH_LIBTOOL='/elsuser11.p802a/els/crm/ionuta/web/httpd/build/libtool'
libphp5.la /elsuser11.p802a/els/crm/ionuta/web/httpd/modules
/elsuser11.p802a/els/crm/ionuta/web/httpd/build/libtool --mode=install
cp libphp5.la /elsuser11.p802a/els/crm/ionuta/web/httpd/modules/
cp .libs/libphp5.lai
/elsuser11.p802a/els/crm/ionuta/web/httpd/modules/libphp5.la
cp .libs/libphp5.a
/elsuser11.p802a/els/crm/ionuta/web/httpd/modules/libphp5.a
ranlib /elsuser11.p802a/els/crm/ionuta/web/httpd/modules/libphp5.a
chmod 644 /elsuser11.p802a/els/crm/ionuta/web/httpd/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish
/elsuser11.p802a/els/crm/ionuta/web/_sources/php/php-5.0.5/libs'
Warning!  dlname not found in
/elsuser11.p802a/els/crm/ionuta/web/httpd/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /elsuser11.p802a/els/crm/ionuta/web/httpd/modules/libphp5.so
chmod: can't access
/elsuser11.p802a/els/crm/ionuta/web/httpd/modules/libphp5.so
apxs:Error: Command failed with rc=65536
.
*** Error exit code 1

Stop.
--------------------------------------------------------------------------------------------------------------

I get this only when compiling with mysql support. Otherwise everything
is ok.

Thank you,
Ionut

Reproduce code:
---------------
n/a

Expected result:
----------------
n/a

Actual result:
--------------
n/a


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=34718&edit=1

Reply via email to