#25339 [Bgs]: apxs:Error: Command failed with rc=65536
| From: | chris dot forker at clarologic dot com | Date: | Mon, 01 Sep 2003 13:04:41 +0000 |
| Subject: | #25339 [Bgs]: apxs:Error: Command failed with rc=65536 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-47005@lists.php.net to get a copy of this message | ||
ID: 25339
User updated by: chris dot forker at clarologic dot com
Reported By: chris dot forker at clarologic dot com
Status: Bogus
Bug Type: Apache2 related
Operating System: Mandrake Linux 9.1
PHP Version: 4.3.3
New Comment:
Sniper,
Many thanks to you and Derick.
I will see if I can get SquirrleMail working now.
Regards
Chris
Previous Comments:
------------------------------------------------------------------------
[2003-09-01 08:00:26] sniper@php.net
If it works, I wouldn't worry about it. libphp4.la is not used for
anything. (this is not really bug, you shouldn't use configure options
which you don't know what they do)
------------------------------------------------------------------------
[2003-09-01 07:16:37] chris dot forker at clarologic dot com
Derick,
Thanks for those suggestions.
PHP is now installed. But I did get a warning:
Warning! dlname not found in /opt/apache2/modules/libphp4.la.
Is this a problem lurking, or is it OK to ignore ??
Many thanks for the help.
Regards
Chris
Just for the record my configuration is now:
./configure \
--with-apxs2=/opt/apache2/bin/apxs \
--prefix=/opt/apache2/php \
--with-config-file-path=$prefix \
--with-zlib \
--with-bz2 \
--with-ttf \
--with-mysql \
--with-mysql-sock=/var/run/mysqld/mysqld.sock \
--disable-ipv6 \
--enable-roxen-zts \
--enable-track-vars \
--enable-force-cgi4-redirect \
--with-gettext
Make Install output:
[root@clukwebserver01 php-4.3.3]# make install
Installing PHP CLI binary: /opt/apache2/php/bin/
Installing PHP CLI man page: /opt/apache2/php/man/man1/
Installing PHP SAPI module: apache2handler
/opt/apache2/build/instdso.sh
SH_LIBTOOL='/opt/apache2/build/libtool' libphp4.la
/opt/apache2/modules
/opt/apache2/build/libtool --mode=install cp libphp4.la
/opt/apache2/modules/
cp .libs/libphp4.lai /opt/apache2/modules/libphp4.la
cp .libs/libphp4.a /opt/apache2/modules/libphp4.a
ranlib /opt/apache2/modules/libphp4.a
chmod 644 /opt/apache2/modules/libphp4.a
libtool: install: warning: remember to run `libtool --finish
/tmp/PHP/php-4.3.3/libs'
Warning! dlname not found in /opt/apache2/modules/libphp4.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /opt/apache2/modules/libphp4.so
[activating module `php4' in /opt/apache2/conf/httpd.conf]
Installing shared extensions:
/opt/apache2/php/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment: /opt/apache2/php/lib/php/
[PEAR] Archive_Tar - installed: 1.1
[PEAR] Console_Getopt - installed: 1.0
[PEAR] PEAR - installed: 1.2.1
Wrote PEAR system config file at:
/opt/apache2/php/etc/pear.conf
You may want to add: /opt/apache2/php/lib/php to your php.ini
include_path
[PEAR] DB - installed: 1.5.0RC1
[PEAR] HTTP - installed: 1.2.1
[PEAR] Mail - installed: 1.1.1
[PEAR] Net_SMTP - installed: 1.2.3
[PEAR] Net_Socket - installed: 1.0.1
[PEAR] XML_Parser - installed: 1.0.1
[PEAR] XML_RPC - installed: 1.0.4
Installing build environment: /opt/apache2/php/lib/php/build/
Installing header files: /opt/apache2/php/include/php/
Installing helper programs: /opt/apache2/php/bin/
program: phpize
program: php-config
program: phpextdist
[root@clukwebserver01 php-4.3.3]#
------------------------------------------------------------------------
[2003-09-01 06:52:02] derick@php.net
Or this one btw:
--disable-rpath \
Derick
------------------------------------------------------------------------
[2003-09-01 06:51:28] derick@php.net
I think that this option in your original configure is the problem:
--enable-static \
remove it and try again :)
Derick
------------------------------------------------------------------------
[2003-09-01 06:50:13] chris dot forker at clarologic dot com
Sniper,
Thanks for your prompt reply.
Tried what you suggested and as you can see below, no
problems this time.
What do you suggest I do to configure PHP with my original
configure options ?
Chris
[root@clukwebserver01 php-4.3.3]# make install
Installing PHP SAPI module: apache2handler
/opt/apache2/build/instdso.sh
SH_LIBTOOL='/opt/apache2/build/libtool' libphp4.la
/opt/apache2/modules
/opt/apache2/build/libtool --mode=install cp libphp4.la
/opt/apache2/modules/
cp .libs/libphp4.so /opt/apache2/modules/libphp4.so
cp .libs/libphp4.lai /opt/apache2/modules/libphp4.la
libtool: install: warning: remember to run `libtool --finish
/tmp/PHP/php-4.3.3/libs'
chmod 755 /opt/apache2/modules/libphp4.so
[activating module `php4' in /opt/apache2/conf/httpd.conf]
Installing shared extensions:
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
program: phpextdist
[root@clukwebserver01 php-4.3.3]#
------------------------------------------------------------------------
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/25339
--
Edit this bug report at http://bugs.php.net/?id=25339&edit=1