#30340 [Opn->Bgs]: libphp4.so do not produce
| From: | jorton@php.net | Date: | Mon, 25 Oct 2004 18:36:45 +0000 |
| Subject: | #30340 [Opn->Bgs]: libphp4.so do not produce | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-68059@lists.php.net to get a copy of this message | ||
ID: 30340
Updated by: jorton@php.net
Reported By: orlowscy at hotpop dot com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: RedHat 7.2
PHP Version: 4.3.9
New Comment:
orlowscy at hotpop: this is a misconfiguration, you have entered:
./configure with-apxs2=/usr/local/apache2/bin/apxs ...
rather than
./configure --with-apxs2=/usr/local/apache2/bin/apxs ...
note the "--" before the "with-apxs2". Anyone else seeing this issue,
check the configure output carefully for errors.
Previous Comments:
------------------------------------------------------------------------
[2004-10-25 19:49:07] will_jetlabs at hotmail dot com
Upgrading from 4.3.2, I had the same problem (I have
compiled PHP many times with a similar procedure in the
past and this is the first time it's done this to me).
After piling through the generated files and config/
build outputs, noticed that config.sub was unhappy
during the configure stage - my machine host type was
not being added to the command like it is supposed to
be.
Adding the following at the end of my configure command:
/bin/sh config.guess
(this forces the approprate host to be given to
config.sub) - presumably this propagates down to the
part that deals with libtool so that it is aware that
the system can cope with shared libraries.
Check your configure output for any errors to do with
config.sub (it came up quite early - possibly the first
line output from ./configure) - if you have one, try
appending your host type string (either use the output
config.guess or just type it in if you know what it
should be) and see if that helps.
Why I now need to do this, I don't know, but apparently,
it's not a bug ;-)
William Adjei
------------------------------------------------------------------------
[2004-10-14 17:29:16] orlowscy at hotpop dot com
jorton@php.net thank you for your interest in my problem.
On http://diamond.cympak.com/php4/ you can see 3
files:
configure-options
configure-output
libtool
I downgraded apache to 2.0.44 *according to some helps on google apache
2.0.44 was supposed to work with PHP 4.3.x.
------------------------------------------------------------------------
[2004-10-13 23:03:25] jorton@php.net
If the generated libtool script has build_libtool_libs=no PHP can't
build shared libraries. I suggest you look at the configure output to
see why libtool is refusing to support shared libraries, or upload it
somewhere and I'll look.
------------------------------------------------------------------------
[2004-10-12 20:45:37] scymerman at comcast dot net
Derick,
What constitutes a bug to you? Just so you know where Im coming from,
my definition of a bug is not an issue with software that has not been
corrected nor has a solution to get around it. I dont know if for
some weird reason you are not supporting older RH Versions or what.
Im also having the same exact problem and do not know where to go from
here. From reading what Slawomir has posted, it seems like this is also
an issue with older versions of php. Im just looking for some
clarification on where I should go in regards to the say issue.
Thanks.
-Scott
------------------------------------------------------------------------
[2004-10-12 15:31:36] orlowscy at hotpop dot com
I have downgraded PHP to 4.3.0 configured apache 2.0.44 :
./configure --prefix=/usr/local/apache2 \
--enable-so
configured older php 4.3.0:
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr/local/mysql \
--prefix=/usr/local/apache2/php \
--with-config-file-path=/usr/local/apache2/php
unfortunately libphp4.so still was not created but this time libphp4.a
was created even directive --with-apxs2 was used to create DSO library.
It does not make sense - to compile static library I have to have
compiled apache - (apxs from apache was used). To use static library
apache would have to be compiled. So it is vicious circle.
Maybe even older PHP 4.2 would produce libphp4.so - do anybody have any
suggestions ????
------------------------------------------------------------------------
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/30340
--
Edit this bug report at http://bugs.php.net/?id=30340&edit=1