ID:               27849
 User updated by:  douzzer at mega dot nu
 Reported By:      douzzer at mega dot nu
-Status:           Feedback
+Status:           Open
 Bug Type:         Compile Failure
 Operating System: FreeBSD
 PHP Version:      5.0.0RC1
 Assigned To:      derick
 New Comment:

I'll do ya one better.  I knew I remembered having to fix this once

before, and here's where:



+* diff --context=3 ~/src/web/php/php-4.3.5/configure~
~/src/web/php/php-4.3.5/configure

*** /homes/douzzer/src/web/php/php-4.3.5/configure~     Thu Mar 25
09:03:34 2004

--- /homes/douzzer/src/web/php/php-4.3.5/configure      Mon Mar 29
00:25:55 2004

***************

*** 47424,47430 ****

  

    done

    

!   if test "$ext_shared" = "no" || ! test -e
"$ext_builddir/config.h.in"; then

      out="php_config.h"

    else

      out="$abs_builddir/config.h"

--- 47424,47430 ----

  

    done

    

!   if test "$ext_shared" = "no" -o ! -e "$ext_builddir/config.h.in";
then

      out="php_config.h"

    else

      out="$abs_builddir/config.h"


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

[2004-04-03 06:13:29] [EMAIL PROTECTED]

You should have this same problem with PHP 4.3.6RC1 as the code is the
same there. Can you please verify that? I've fixes ready for both
versions but I'd like you to confirm that it is broken with 4.3.6RC1
too.

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

[2004-04-03 00:09:00] douzzer at mega dot nu

Description:
------------
line #47725 of configure script as distributed in 5.0.0RC1:



  if test "$ext_shared" = "no" || ! test -e $ext_builddir/config.h.in";
then



this blows up on FreeBSD (though note that I'm running a 4.0 userspace
for complicated reasons).



the fix is to change



  || ! test



to



  -o !



That done, I got 5.0.0RC1 up and running and behaving itself. 
phpbb2.0.8/mysql4.x is my only app at present, but it's a pretty good
workout I figure.





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


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

Reply via email to