From:             peoyli at bredband dot net
Operating system: OpenBSD 3.4
PHP version:      5.0.0RC1
PHP Bug Type:     Compile Failure
Bug description:  make install fails (PHP5 RC1, PHP5 latest)

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 bug report at http://bugs.php.net/?id=27795&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27795&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27795&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27795&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27795&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27795&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27795&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27795&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27795&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27795&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27795&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27795&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27795&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27795&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27795&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27795&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27795&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27795&r=float

Reply via email to