ID:               28271
 User updated by:  admin at iut-info dot ens dot univ-reims dot fr
 Reported By:      admin at iut-info dot ens dot univ-reims dot fr
-Status:           Open
+Status:           Closed
 Bug Type:         Compile Failure
 Operating System: HP-UX 11i
 PHP Version:      5.0.0RC2
 New Comment:

File is Ok in PHP5-200405041230


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

[2004-05-04 14:33:09] admin at iut-info dot ens dot univ-reims dot fr

Description:
------------
On HP-UX 11i compilation of PHP-5.0.0RC failed (Ok until
/php5-200403131230)

./configure                             \
        --prefix=/opt/APACHE/php        \
        --without-sqlite                \
        --with-oci8                     \
        --with-apache=../apache_1.3.29  \
        --with-gd                       \
        --with-pdflib=/opt/pdflib       \
        --with-jpeg-dir=/usr/local      \
        --with-png-dir=/usr/local       \
        --with-tiff-dir=/usr/local      \
        --with-freetype-dir=/usr/local  \
        --with-zlib                     \
        --with-bz2                      \
        --enable-sigchild               \
        --with-mysql=/opt/mysql         \
        --with-pgsql=/opt/pgsql         \
        --with-tsrm-pthreads            \
        --with-dom                      \
        --with-libxml                   \
        --with-xsl                      \
        --enable-ftp                    \
        --with-snmp=/usr/local          \
        --with-imap=/usr/local/imap     \
        --with-imap-ssl=/usr/local      \
        --with-openssl=/usr/local       \
        --enable-sockets

Make failed with :
        gcc  -Iext/standard/
-I/home/sys/install/php-5.0.0RC2/ext/standard/ -DPHP_ATOM_INC
-I/home/sys/install/php-5.0.0RC2/include
-I/home/sys/install/php-5.0.0RC2/main -I/home/sys/install/php-5.0.0RC2
-I/home/sys/install/php-5.0.0RC2/Zend -I/usr/local/include/libxml2
-I/usr/local/include -I/usr/local/include/freetype2
-I/usr/local/imap/include -I/opt/mysql/include/mysql
-I/oracle/app/oracle/product/8.1.7/rdbms/public
-I/oracle/app/oracle/product/8.1.7/rdbms/demo -I/opt/pdflib/include
-I/opt/pgsql/include  -I/home/sys/install/php-5.0.0RC2/TSRM  -g -O2  -c
/home/sys/install/php-5.0.0RC2/ext/standard/proc_open.c -o
ext/standard/proc_open.o  && echo > ext/standard/proc_open.lo
/home/sys/install/php-5.0.0RC2/ext/standard/proc_open.c: In function
`zif_proc_open':
/home/sys/install/php-5.0.0RC2/ext/standard/proc_open.c:753: error:
`TIOCNOTTY' undeclared (first use in this function)
/home/sys/install/php-5.0.0RC2/ext/standard/proc_open.c:753: error:
(Each undeclared identifier is reported only once
/home/sys/install/php-5.0.0RC2/ext/standard/proc_open.c:753: error: for
each function it appears in.)
*** Error exit code 1

---------------------------------
Declaration of `TIOCNOTTY' is present in <sys/ioctl.h>

------------- Workaround --------------------
Adding this declaration in proc_open.c is a temporary solution (build
successed).

-------------------------------------------
Cordialy



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


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

Reply via email to