Re: Really need HELP on PHP install > Error in "make"
| From: | Richard Lynch | Date: | Fri, 05 Oct 2001 04:57:59 +0000 |
| Subject: | Re: Really need HELP on PHP install > Error in "make" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70024@lists.php.net to get a copy of this message | ||
I'm no expert install guy, but...
I believe errno.h should be in one or more of these places where PHP can
find it:
/usr/include
/usr/src/linux-blah-blah-blah
Or, try this:
updatedb <---- might take a while
locate errno.h
Figure out why errno.h isn't where PHP expects it to be, and make it be
there by copying it or creating a symlink (man ln)
Odds are good that if errno.h is missing, is every other .h file sitting
next to it, so get them all in one go.
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Augusto cesar castoldi <accastoldi@yahoo.com.br>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Wednesday, October 03, 2001 6:00 AM
Subject: Really need HELP on PHP install > Error in "make"
> Hi... I really need help for compile PHP. I have to
> compile because the previous compiling didn't have
> "-with-dom" option.
>
> I "./configure" my php-4.0.6 in RedHat 6.2 with this
> command line:
> "./configure --with-mysql
> --with-apache=../apache_1.3.20 --enable-track-vars
> --with-dom=../libxml2-2.4.5
> --with-java=/usr/local/jdk1.3.1/
> --with-zlib-dir=/usr/src/redhat/SOURCES/zlib-1.1.3/"
>
> Worked fine, but when I "make", this error occurs:
> -----------------------------------------------------
> [root@vendaval php-4.0.6]# make
> Making all in Zend
> make[1]: Entering directory
> `/home/augusto/src/php-4.0.6/Zend'
> /bin/sh ../libtool --silent --mode=compile gcc
> -DHAVE_CONFIG_H -I. -I. -I../main -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
> `/home/augusto/src/php-4.0.6/Zend'
> make: *** [all-recursive] Error 1
> [root@vendaval php-4.0.6]
> ------------------------------------------------------
>
> can you help?
>
> regards,
>
> Augusto
>
>
>
____________________________________________________________________________
___________________
> Yahoo! GeoCities
> Tenha seu lugar na Web. Construa hoje mesmo sua home page no Yahoo!
GeoCities. É fácil e grátis!
> http://br.geocities.yahoo.com/