Mail Archives: cygwin/2004/05/05/03:24:02
Hi,
I downloaded the PHP sources and I try to build them on cygwin. After
running configure, I try to make, and I get the below errors:
$ make
gcc -Iext/standard/ -I/cygdrive/n/src/php/php-5.0.0RC2/ext/standard/
-DPHP_ATOM_INC -I/cygdrive/n/src/php/php-5.0.0RC2/include
-I/cygdrive/n/src/php/php-5.0.0RC2/main
-I/cygdrive/n/src/php/php-5.0.0RC2
-I/cygdrive/n/src/php/php-5.0.0RC2/Zend -I/usr/include/libxml2
-I/cygdrive/n/src/php/php-5.0.0RC
2/TSRM -g -O2 -c
/cygdrive/n/src/php/php-5.0.0RC2/ext/standard/proc_open.c -o
ext/standard/proc_open.o && echo > ext/standard/proc_open.lo
/cygdrive/n/src/php/php-5.0.0RC2/ext/standard/proc_open.c: In function
`zif_proc_open':
/cygdrive/n/src/php/php-5.0.0RC2/ext/standard/proc_open.c:753: error:
`TIOCNOTTY' undeclared (first use in this function)
/cygdrive/n/src/php/php-5.0.0RC2/ext/standard/proc_open.c:753: error:
(Each undeclared identifier is reported only once
/cygdrive/n/src/php/php-5.0.0RC2/ext/standard/proc_open.c:753: error:
for each function it appears in.)
make: *** [ext/standard/proc_open.lo] Error 1
Now, /cygdrive/n/src/php/php-5.0.0RC2/ext/standard/proc_open.c:753 is in
the following stanza:
#if PHP_CAN_DO_PTS
if (dev_ptmx >= 0) {
int my_pid = getpid();
/* detach from original tty. Might only need this if
isatty(0) is true */
ioctl(0,TIOCNOTTY,NULL);
<<<< line 753
/* become process group leader */
setpgid(my_pid, my_pid);
tcsetpgrp(0, my_pid);
}
Could you suggest a remedy ?
Thanks,
Ron.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -