ID:               14048
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         *Configuration Issues
 Operating System: BSD/OS 4.x
 PHP Version:      4.1.0
 New Comment:

Ok, found 1 thing.
Could someone apply this or the equivalent?

$ diff -u configure.in.dist configure.in
--- configure.in.dist   Thu Dec 20 22:18:34 2001
+++ configure.in        Sun Feb 10 03:24:51 2002
@@ -105,7 +105,10 @@
 *darwin*|*rhapsody*)
     CPPFLAGS="$CPPFLAGS -traditional-cpp";;
 *bsdi*)
-    BSD_MAKEFILE=yes;;
+    if [ xGNU ! x`${MAKE} --version | sed -n -e "s|^GNU.*|GNU|p"` ];
then
+        BSD_MAKEFILE=yes
+    fi
+    ;;
 *beos*)
        beos_threads=1
        LIBS="$LIBS -lbe -lroot";;


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

[2001-12-15 12:31:54] [EMAIL PROTECTED]

Of course it was the last extension - in this case GD.

BSDi 4.2 now comes with both a shared zlib as a shared Jpeg. The zlib
is ok, but I've made a jpeg 6.2 of my own.

There are a number of issues now surfacing, so should I open a new
report on GD/BSDi 4.2 for these (HUP signal doesn't work anymore,
linking with 2 libraries installed, makes it core dump)?

Remaining for this report:
1) incorrect detection of HAVE_RES_SEARCH braking getmxrr and other DNS
related functions, work-around:
$ diff -c php_config.h.in php_config.h.in.dist
*** php_config.h.in     Fri Dec 14 21:13:55 2001
--- php_config.h.in.dist        Fri Dec 14 15:06:29 2001
***************
*** 1894,1903 ****
  #define zend_finite(a) (zend_isnan(a) ? 0 : zend_isinf(a) ? 0 : 1)
  #endif

- #ifdef __bsdi__
-       #define HAVE_RES_SEARCH 1
- #endif
-
  /*
   * Local variables:
   * tab-width: 4
--- 1894,1899 ----

I have provided an example of how bind-9.x detects this function.

2) Release versions need a fix of the include statements in various
files, since the old make syntax is used, for BSDi's system provided
make, instead of the make preferred in the PATH and/or specified by
$MAKE. This does not apply to snapshots.

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

[2001-12-15 06:43:11] [EMAIL PROTECTED]

Those yacc warnings are harmless.

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

[2001-12-15 05:37:28] [EMAIL PROTECTED]

Ok, working on it.
2 notes on this build:
I get a lot of yacc warnings like these:
/usr/src/web/php/php4/ext/standard/var_unserializer.re:273: warning:
label `yy1' defined but not used

And the XtOffsetOf is redefined:
In file included from /apbeta/include/httpd.h:72,
                 from sapi_apache.c:32:
/apbeta/include/ap_config.h:1367: warning: `XtOffsetOf' redefined



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

[2001-12-14 21:23:50] [EMAIL PROTECTED]

So with the minimum options everything works just fine?
If so, then please try adding some more options and see
when it starts to fail.

--Jani


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

[2001-12-14 15:40:06] [EMAIL PROTECTED]

Ok,

you can rule that out.
Compiles outof the box.
Build php4-200112140600.

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

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/14048

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

Reply via email to