Operating System - HP-UX
1845947 Members
3854 Online
110250 Solutions
New Discussion

Problem with make when try install PHP4

 
Paulo Afonso B Azevedo
Occasional Advisor

Problem with make when try install PHP4

Hi all

I try install PHP4 in HP-UX 11.0,

I already installed all softwares to
support this instalation(gcc, bison, flex and
binutils )

I runned the ./configure without problems,

but I have problem when I run make

the following error message below

In file incuded form /usr/include/unistd.h:11,
from zend_language_scanner_cc.cc:2593:
/usr/include/sys/unistd.h:188: declaration of C function
'int pthread_atfork(void ... )' conflicts with
/usr/include/sys/pthread.h:440: previous declaration
'in pthread_atfork( void ... )' here
*** Error exit code 1



Please help me

thanks a lot
1 REPLY 1
Alan Wyskowski
Frequent Advisor

Re: Problem with make when try install PHP4

Check and make sure the unistd.h in /usr/include is just a pointer to #include

Maybe you have an old version of this file that didn't get updated and conflicts. Check this file with that of another system.