ID:               30340
 Comment by:       will_jetlabs at hotmail dot com
 Reported By:      orlowscy at hotpop dot com
 Status:           Open
 Bug Type:         Compile Failure
 Operating System: RedHat 7.2
 PHP Version:      4.3.9
 New Comment:

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


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

[2004-10-14 17:29:16] orlowscy at hotpop dot com

[EMAIL PROTECTED] 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] [EMAIL PROTECTED]

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 I’m 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 don’t know if for
some weird reason you are not supporting older RH Versions or what. 
I’m 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.  I’m 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 ????

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

[2004-10-09 15:42:33] [EMAIL PROTECTED]

.

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

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

Reply via email to