#27795 [Fbk->Opn]: make install fails (PHP5 RC1, PHP5 latest)

From: Date: Wed, 07 Apr 2004 09:08:24 +0000
Subject: #27795 [Fbk->Opn]: make install fails (PHP5 RC1, PHP5 latest)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-57634@lists.php.net to get a copy of this message
 ID:               27795
 User updated by:  peoyli at bredband dot net
 Reported By:      peoyli at bredband dot net
-Status:           Feedback
+Status:           Open
 Bug Type:         Compile Failure
 Operating System: OpenBSD 3.4
 PHP Version:      5.0.0RC1
 New Comment:

Same problem with the new snapshot (200404070830) as before.


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

[2004-04-07 04:40:02] sniper@php.net

Please try using this CVS snapshot:

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



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

[2004-03-31 16:38:24] manish_dharwadker at yahoo dot com

I had the same issue with php5/4 as well as latest Apache2 sources.
None of the shared library files libphp5.so, etc. were being created. 

I think this is because libtool shipped with OpenBSD is faulty and
unfortunately even subsequent ones do not work. I think the libtool
team needs to look at it.

I switched to Mandrake 10.0 RC1 but unfortunately I am having other
problems compiling php4/5 on it.

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

[2004-03-31 05:58:49] peoyli at bredband dot net

Description:
------------
Make install fails on installing libphp5.so

# make install
Installing PHP SAPI module:       apache2handler
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la
/usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp5.la
/usr/local/apache2/modules/
cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
cp .libs/libphp5.a /usr/local/apache2/modules/libphp5.a
ranlib -t /usr/local/apache2/modules/libphp5.a
chmod 644 /usr/local/apache2/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish
/usr/local/src/php5-200403310830/libs'
Warning!  dlname not found in /usr/local/apache2/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/libphp5.so
chmod: /usr/local/apache2/modules/libphp5.so: No such file or
directory
apxs:Error: Command failed with rc=65536
.
*** Error code 1

Stop in /usr/local/src/php5-200403310830 (line 138 of Makefile).


Reproduce code:
---------------
# ./configure --prefix=/usr/local/php
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-config-file-path=/usr/local/php/conf
--with-mysql=/usr/local/mysql \
--enable-track-vars --with-gd --with-zlib-dir=/usr/local \
--with-jpeg-dir=/usr/local --with-png-dir=/usr/local --enable-cli

# make

# make install
...
chmod: /usr/local/apache2/modules/libphp5.so: No such file or
directory
apxs:Error: Command failed with rc=65536
.
*** Error code 1

Stop in /usr/local/src/php5-200403310830 (line 138 of Makefile).


Actual result:
--------------
Installation fails to complete

libphp5.la and libphp4.a is installed in Apache module directory.


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


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


Thread (26 messages)

« previous php.bugs (#57634) next »