Re: Can't make PHP 4.2.1 with Apache2
| From: | andy | Date: | Wed, 05 Jun 2002 15:45:04 +0000 |
| Subject: | Re: Can't make PHP 4.2.1 with Apache2 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-7228@lists.php.net to get a copy of this message | ||
check if ./configure did successfully find the apache apxs module and the
mysql module.
Hope this helps,
Andy
----------------------------------------------
http://www.globosapiens.net
Global Travellers Network
"Jon Armitage" <jon.armitage@btinternet.com> schrieb im Newsbeitrag
news:20020602205543.93049.qmail@pb1.pair.com...
> I am trying to compile PHP 4.2.1 with mysql and Apache 2 using gcc on
> Solaris 2.7.
>
> After $ ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs
> and $ make
>
> I get:
>
> Making all in Zend
> make[1]: Entering directory `/home/jon/php-4.2.1/Zend'
> /bin/sh ../libtool --silent --mode=compile
>
gcc -DHAVE_CONFIG_H -I. -I. -I../main -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_
>
PTHREAD_SEMANTICS -D_REENTRANT -I../TSRM -DTHREAD=1 -g -O2 -pthreads -DZTS
> -prefer-pic -c -o zend_language_parser.lo `test -f zend_language_parser.c
||
> echo './'`zend_language_parser.c
> In file included from zend_compile.h:24,
> from zend_language_parser.c:147:
> zend.h:55: unix.h: No such file or directory
> make[1]: *** [zend_language_parser.lo] Error 1
> make[1]: Leaving directory `/home/jon/php-4.2.1/Zend'
> make: *** [all-recursive] Error 1
>
> It is certainly true that the file "unix.h" is nowhere on the system.
Should
> it be? I would be grateful if anyone who knows what's going on could help
> me.
>
> Jon
>
>
>