#17206 [Com]: fails to build with --enable-dio
| From: | alan at akbkhome dot com | Date: | Fri, 20 Sep 2002 01:35:40 +0000 |
| Subject: | #17206 [Com]: fails to build with --enable-dio | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19818@lists.php.net to get a copy of this message | ||
ID: 17206
Comment by: alan@akbkhome.com
Reported By: cyic@php.net
Status: Closed
Bug Type: Compile Failure
Operating System: FreeBSD 4.4-STABLE
PHP Version: 4.2.1
New Comment:
have a look at the cvs version - there is an #ifdef #endif around the
O_SYNC
- just add that in, and it should work ok.
Previous Comments:
------------------------------------------------------------------------
[2002-09-19 20:25:55] hz11@nyu.edu
Although this was reportedly fixed in the CVS, a compile of 4.2.3 on
FreeBSD 4.6.2 still gives the same problem AFAIK. Details follow:
#! /bin/sh
#
# Created by configure
'./configure' \
'--prefix=/usr/local/psh' \
'--enable-cli' \
'--enable-dio' \
'--without-pear' \
'--with-openssl=/usr/local/ssl' \
'--with-zlib' \
'--with-bcmath' \
'--with-bz2' \
'--enable-ftp' \
'--with-readline' \
'--with-mysql=/usr/local/mysql' \
'--with-ncurses' \
'--enable-pcntl' \
'--enable-shmop' \
'--enable-sockets' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--with-expat-dir=/usr/local' \
'--enable-inline-optimization' \
"$@"
Making all in dio
gcc -I. -I/root/INSTALLED/php-4.2.3/ext/dio
-I/root/INSTALLED/php-4.2.3/main -I/root/INSTALLED/php-4.2.3
-I/root/INSTALLED/php-4.2.3/Zend -I/usr/local/ssl/include
-I/usr/local/mysql/include/mysql -I/usr/local/include
-I/root/INSTALLED/php-4.2.3/TSRM -g -O2 -c dio.c && touch dio.lo
dio.c: In function `zm_startup_dio':
dio.c:90: `O_SYNC' undeclared (first use in this function)
dio.c:90: (Each undeclared identifier is reported only once
dio.c:90: for each function it appears in.)
*** Error code 1
Stop in /root/INSTALLED/php-4.2.3/ext/dio.
*** Error code 1
Stop in /root/INSTALLED/php-4.2.3/ext/dio.
*** Error code 1
Stop in /root/INSTALLED/php-4.2.3/ext.
*** Error code 1
Hans
------------------------------------------------------------------------
[2002-05-15 14:05:11] sterling@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2002-05-14 08:12:20] cyic@php.net
roman@roman install/php/php-4.2.1 > cat config.nice
126:1 #! /bin/sh
#
# Created by configure
'./configure' \
'--enable-cli' \
'--without-mysql' \
'--disable-session' \
'--with-zlib' \
'--with-bz2' \
'--enable-dio' \
'--with-iconv' \
'--with-ncurses' \
'--with-readline' \
'--disable-session' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--disable-xml' \
"$@"
Making all in dio
gcc -I. -I/home/roman/install/php/php-4.2.1/ext/dio
-I/home/roman/install/php/php-4.2.1/main
-I/home/roman/install/php/php-4.2.1
-I/home/roman/install/php/php-4.2.1/Zend -I/usr/local/include
-I/home/roman/install/php/php-4.2.1/TSRM -g -O2 -c dio.c && touch
dio.lo
dio.c: In function `zm_startup_dio':
dio.c:90: `O_SYNC' undeclared (first use in this function)
dio.c:90: (Each undeclared identifier is reported only once
dio.c:90: for each function it appears in.)
*** Error code 1
Stop in /home/roman/install/php/php-4.2.1/ext/dio.
*** Error code 1
Stop in /home/roman/install/php/php-4.2.1/ext/dio.
*** Error code 1
Stop in /home/roman/install/php/php-4.2.1/ext.
*** Error code 1
Stop in /home/roman/install/php/php-4.2.1.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17206&edit=1