[HPADM] Php error

From: Moises Sanchez (moises.sanchez@softtek.com)
Date: Thu Apr 06 2006 - 13:38:01 EDT


Hello :

Any one can help, I've been trouble compiling php 4.4.2 on hpux B11.11 ,
when I execute the configure script the script runs fine, but when I run
make the compile show the next error :

       /bin/sh /bea/php-4.4.2/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/calendar/ -I/bea/php-4.4.2/ext/calendar/
-DPHP_ATOM_INC -I/bea/php-4.4.2/include -I/bea/php-4.4.2/main
-I/bea/php-4.4.2 -I/opt/mysql/include/mysql
-I/oracle/product/9.2.0/rdbms/public -I/oracle/product/9.2.0/rdbms/demo
-I/oracle/product/9.2.0/plsql/public -I/bea/php-4.4.2/TSRM
-I/bea/php-4.4.2/Zend -D_XOPEN_SOURCE_EXTENDED -g -O2 -c
/bea/php-4.4.2/ext/calendar/calendar.c -o ext/calendar/calendar.lo
In file included from
/usr/local/lib/gcc/hppa2.0w-hp-hpux11.23/4.0.2/include/stdio.h:24,
                 from /bea/php-4.4.2/Zend/zend.h:35,
                 from /bea/php-4.4.2/main/php.h:34,
                 from /bea/php-4.4.2/ext/calendar/calendar.c:31:
/usr/local/lib/gcc/hppa2.0w-hp-hpux11.23/4.0.2/include/sys/types.h:407:32:
error: machine/vm/vmtypes.h: No such file or directory
In file included from /usr/include/sys/signal.h:43,
                 from /usr/include/sys/wait.h:126,
                 from
/usr/local/lib/gcc/hppa2.0w-hp-hpux11.23/4.0.2/include/stdlib.h:399,
                 from /bea/php-4.4.2/include/../main/php_config.h:2699,
                 from /bea/php-4.4.2/Zend/zend_config.h:1,
                 from /bea/php-4.4.2/Zend/zend.h:51,
                 from /bea/php-4.4.2/main/php.h:34,
                 from /bea/php-4.4.2/ext/calendar/calendar.c:31:
/usr/local/lib/gcc/hppa2.0w-hp-hpux11.23/4.0.2/include/sys/newsig.h:74:24:
error: sys/stdpad.h: No such file or directory
In file included from /usr/include/sys/signal.h:43,
                 from /usr/include/sys/wait.h:126,
                 from
/usr/local/lib/gcc/hppa2.0w-hp-hpux11.23/4.0.2/include/stdlib.h:399,
                 from /bea/php-4.4.2/include/../main/php_config.h:2699,
                 from /bea/php-4.4.2/Zend/zend_config.h:1,
                 from /bea/php-4.4.2/Zend/zend.h:51,
                 from /bea/php-4.4.2/main/php.h:34,
                 from /bea/php-4.4.2/ext/calendar/calendar.c:31:
/usr/local/lib/gcc/hppa2.0w-hp-hpux11.23/4.0.2/include/sys/newsig.h:80:
error: syntax error before '__PAD32_ILP32'

.
.
.
.
.
.

I searched obout the first error:
error: machine/vm/vmtypes.h: No such file or directory
 I did a find / -name vmtypes.h I found the next files :

/usr/conf/pa/vmtypes.h
/usr/include/pa/vmtypes.h

I tried with each path and the first problems seems to be solved,( I don't
know the impact for this change, that is why I don't sure), but when I tried
looking for the next error :

error: sys/stdpad.h: No such file or directory

When I tried with the same method find / -name stdpad.h there was not any
file, I look for package and libraries, at first I guess it was in the
libgcc package but the file didn't appear I treid installing the
dependencies of php and apache, I look for kernel archives , does anybody
know what I have to install ?

Thank you......
 

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)