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:      5CVS-2004-04-07
 New Comment:

Both Apache2 and PHP have and is using the correct version:



# pwd

/usr/local/src/php5-200404070830

# ./libtool --version

ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54)



# /usr/local/apache2/build/libtool --version

ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54)

#


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

[2004-04-07 06:17:34] [EMAIL PROTECTED]

Looks more like an Apache bug..or incompatible libtool version  . (PHP
_requires_ 1.4.3)



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

[2004-04-07 05:25:53] peoyli at bredband dot net

Additional note:

all install targets except install-sapi succeeds when installed
separately.

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

[2004-04-07 05:23:02] peoyli at bredband dot net

My installation steps (as described earlier):

# ./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

...

Build complete.

(It is safe to ignore warnings about tempnam and tmpnam).





# 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-200404070830/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-200404070830 (line 138 of Makefile).

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

[2004-04-07 05:18:31] [EMAIL PROTECTED]

Please describe all the step you do when you try compiling PHP..



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

[2004-04-07 05:08:24] peoyli at bredband dot net

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

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/27795

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

Reply via email to