ID:               38030
 User updated by:  john dot enevoldson at pulsen dot se
 Reported By:      john dot enevoldson at pulsen dot se
-Status:           Feedback
+Status:           Closed
 Bug Type:         Compile Failure
 Operating System: sles 9.3 on ibm zseries
 PHP Version:      5.1.4
 New Comment:

Hi,
Problem seemed to be with the libxml2 libraries - installation of this
package seemed to put files in the incorrect location. Moiving these
and then re-installing solved the problem.
Regards,
John.


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

[2006-07-07 12:22:32] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

Btw, what was your configure line?

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

[2006-07-07 07:43:28] john dot enevoldson at pulsen dot se

Looking through the make output again we do see a warning:

*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.

*** 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.

This probably expalins why the .so is not being built though we cannot
see what dependency is incorrect.

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

[2006-07-07 07:11:08] john dot enevoldson at pulsen dot se

Description:
------------
configure and make works ok but when running make install we see:

Installing PHP SAPI module:       apache2handler
/usr/share/apache2/build/instdso.sh
SH_LIBTOOL='/usr/share/apache2/build/libtool' libphp5.la
/usr/lib64/apache2
/usr/share/apache2/build/libtool --mode=install cp libphp5.la
/usr/lib64/apache2/
cp .libs/libphp5.lai /usr/lib64/apache2/libphp5.la
cp .libs/libphp5.a /usr/lib64/apache2/libphp5.a
ranlib /usr/lib64/apache2/libphp5.a
chmod 644 /usr/lib64/apache2/libphp5.a
libtool: install: warning: remember to run `libtool --finish
/home/tje/php/php-5.1.4/libs'
Warning!  dlname not found in /usr/lib64/apache2/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/lib64/apache2/libphp5.so
chmod: cannot access `/usr/lib64/apache2/libphp5.so': No such file or
directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1

libphp5.la is actually in /usr/lib64/apache2/ so we cannot understand
why the error is being thrown. 



Reproduce code:
---------------
sudo make install

Expected result:
----------------
Build complete

Actual result:
--------------
See output above.


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


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

Reply via email to