[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Problem installing PHP 4.0.6



Hello,

I want to install MySQL and PHP on my RAQ3

I installed MySQL 3.23.40 from the RPM's off mysql.com, and it works.

The next step is installing PHP :

    tar -zxf php-4.0.6-sources.tar
    ./configure --with-mysql --with-pgsql --with-apxs (no error with this)
    make

When i start the make command i get this error message :

Making all in Zend
make[1]: Entering directory `/usr/local/php-4.0.6/Zend'
/bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../main   -DLINUX=2 -DNO_DBM_REWRITEMAP -DMOD_
SSL=202108 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -DEAPI -DBIG_SEC
URITY_HOLE -DCOBALT_RAQ_LED -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12  -g -O2 -c
zend_language_scanner.c
In file included from /usr/include/errno.h:36,
                 from zend_language_scanner.c:2718:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
make[1]: *** [zend_language_scanner.lo] Error 1
make[1]: Leaving directory `/usr/local/php-4.0.6/Zend'
make: *** [all-recursive] Error 1

What does it means ?

How can i install php ?

Ramon LOPEZ

PS - I also tried with PHP4.0.4pl1 and i have the same problem.
I try with only  --with-mysql --with-apxs and i have exactly the same
problem...