Re: [PHP4BETA] beta 4 on linux - errors on make
| From: | Sascha Schumann | Date: | Sun, 21 Feb 2010 17:07:27 +0000 |
| Subject: | Re: [PHP4BETA] beta 4 on linux - errors on make | ||
| References: | 1 2 3 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-10607@lists.php.net to get a copy of this message | ||
On Mon, Feb 21, 2000 at 11:06:27AM -0500, Lewis Bergman wrote:
> > Whatever it is, this unix.h shouldn't be in /usr/include.
>
> Okay. I moved unix.h to another file name so it wouldn't use it and it gave me
> this:
> [root@2 php-4.0b4]# make
> Making all in Zend
> make[1]: Entering directory `/usr/lib/php-4.0b4/Zend'
> /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
> -I/usr/bin/include -DXML_BYTE_ORDER=12 -D_REENTRANT -g -O2 -Wall -c zend-scanner.c
> In file included from ./zend-scanner.l:42:
> zend.h:49: unix.h: No such file or directory
> make[1]: *** [zend-scanner.lo] Error 1
> make[1]: Leaving directory `/usr/lib/php-4.0b4/Zend'
> make: *** [all-recursive] Error 1
>
> So, it appaers that it needs it, yet doesn't like the format that its in?
> I apologize but I'm lost on this. I looked at the unix.h file and got nowhere
> with it.
Simply delete config.cache and rerun your configure command.
If it does not find unix.h, it won't include it.
--
Regards,
Sascha Schumann
Consultant