ID: 27795
Comment by: heinemann dot juergen at t-online dot de
Reported By: peoyli at bredband dot net
Status: Bogus
Bug Type: Compile Failure
Operating System: OpenBSD 3.4
PHP Version: 5CVS-2004-04-07
New Comment:
Tt is not a BUG - but incomplit with Permission on your
Configuration, to fix this problem.
Open Makefile and edit Line 93 with Variable "INSTALL_IT"
for more Information get apxs --help
example:
INSTALL_IT = $(mkinstalldirs)
'$(INSTALL_ROOT)/srv/www/modules' && /usr/sbin/apxs -S
LIBEXECDIR='/srv/www/modules' -i -a -g php5 libphp5.la
Previous Comments:
------------------------------------------------------------------------
[2004-04-08 04:49:46] peoyli at bredband dot net
Tracked this problem down to the --with-jpeg-dir=/usr/local
Changed status of this report to "Bogus" because it was actually a
problem caused by the jpeg-6b library.
Solution:
configure jpeg-6b with --enable-shared
------------------------------------------------------------------------
[2004-04-07 16:08:33] peoyli at bredband dot net
-
------------------------------------------------------------------------
[2004-04-07 16:06:37] peoyli at bredband dot net
I already had a working libphp4 (4.3.4) there since an older
installation, and because of that, the chmod command was executed on
that version instead of the 4.3.5 library which was not created.
------------------------------------------------------------------------
[2004-04-07 11:02:07] [EMAIL PROTECTED]
Don't do that..do 'make clean'..and how did you get that libphp4.so in
there in the first place?!! (and yet claim here it doesn't work?)
------------------------------------------------------------------------
[2004-04-07 09:31:19] peoyli at bredband dot net
I forgot to move out libphp4.so from the modules directory, so (it
didn't work with 4.3.5):
#mv /usr/local/apache2/modules/libphp4.so
/usr/local/apache2/modules/libphp4.so_
# make install-sapi
Installing PHP SAPI module: apache2handler
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la
/usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp4.la
/usr/local/apache2/modules/
cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la
cp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a
ranlib -t /usr/local/apache2/modules/libphp4.a
chmod 644 /usr/local/apache2/modules/libphp4.a
libtool: install: warning: remember to run `libtool --finish
/usr/local/src/php-4.3.5/libs'
Warning! dlname not found in /usr/local/apache2/modules/libphp4.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/libphp4.so
chmod: /usr/local/apache2/modules/libphp4.so: No such file or
directory
apxs:Error: Command failed with rc=65536
.
*** Error code 1
Stop in /usr/local/src/php-4.3.5 (line 126 of Makefile).
------------------------------------------------------------------------
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