ID: 10561
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Compile Failure
PHP Version: 4.0.4pl1
Assigned To: 
Comments:

Have you tried 4.0.5 as I think this is fixed in it.
Also, you don't  need to set those CPPFLAGS anymore.

--Jani


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

[2001-04-30 11:04:04] [EMAIL PROTECTED]
Configured with

nv 'CC=cc -mt' CFLAGS=-O CPPFLAGS='-D_XPG4_2
-D__EXTENSIONS__' ./configure
--with-apxs=/usr/local/apache_1.3.19/bin/apxs
--with-mysql=/usr/local/mysql
--with-ldap=/usr/local/openldap --with-xml --enable-yp
--enable-safe-mode --with-gd --with-jpeg-dir=/usr/local
--with-pdflib --with-zlib --with-tiff-dir=/usr/local
--with-openssl=/usr/local/openssl --enable-bcmath --with-bz2
--enable-calendar --enable-dbase --with-gdbm=/usr/local/gnu
--with-ndbm --enable-ctype --with-db3=/usr/local/BerkeleyDB
--with-dom --enable-exif --with-fdftk --enable-filepro
--enable-ftp --enable-gd-imgstrttf --with-gd --with-gmp
--with-hyperwave --with-imap-ssl
--with-imap=/usr/local/src/pine4.30/imap
--with-java=/usr/java --with-mcal
--with-unixODBC=/usr/local/unixODBC
--with-readline=/usr/local/gnu --with-mm --enable-trans-sid
--enable-shmop --enable-sockets --with-regex=php
--enable-sysvsem --enable-sysvshm --enable-wddx --with-zlib
--enable-versioning --enable-track-vars --without-fdftk
--without-mcal --with-xpm-dir=/usr/local/X11

Can be fixed with (I suspect this is going to get mangled in
the post).

diff -c -r1.1 sockets.c
*** sockets.c   2001/04/19 10:04:11     1.1
--- sockets.c   2001/04/19 16:17:37
***************
*** 66,71 ****
--- 66,77 ----
  #endif
  #endif

+ /* ... or this */
+ #ifndef       SUN_LEN
+ #define       SUN_LEN(sunp)   ((size_t)((struct
sockaddr_un *)0)->sun_path 
+                        + strlen((sunp)->sun_path))
+ #endif
+
  /* Use the read() wrapper, stopping at 'n', 'r', or '

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to