Re: Installation problems
| From: | Jonas Geiregat | Date: | Tue, 18 Feb 2003 11:44:14 +0000 |
| Subject: | Re: Installation problems | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10056@lists.php.net to get a copy of this message | ||
very simple it's --with-apxs2=/mnt/lfs/userv/apache2/bin/apxs you wrote ../bin/axps
On Sun, 16 Feb 2003 15:24:15 +0100
andeke@home.se (Andreas Ekeroot) wrote:
> Hallo. I am trying to install PHP 4.3.0 and HTTPD 2.0.44 and MySQL 3.23.55.
>
> My configuration options for PHP are:
>
> ./configure --prefix=/mnt/lfs/userv/php
> --with-apxs2=/mnt/lfs/userv/apache2/bin/axps --enable-calendar --enable-ftp
> --with-mysql=/mnt/lfs/userv/mysql/
>
>
> MySQL and HTTPD are happily installed and only PHP is left. When I'm trying
> to compile PHP I get:
>
> /bin/sh libtool --silent --mode=compile gcc -Isapi/apache2filter/
> -I/tmp/php-4.3.0/sapi/apache2filter/ -DPHP_ATOM_INC
> -I/tmp/php-4.3.0/include -I/tmp/php-4.3.0/main -I/tmp/php-4.3.0
> -I/mnt/lfs/userv/apache2//include -I/tmp/php-4.3.0/Zend
> -I/mnt/lfs/userv/mysql//include/mysql -I/tmp/php-4.3.0/ext/xml/expat
> -I/tmp/php-4.3.0/TSRM -g -O2 -prefer-pic -c
> /tmp/php-4.3.0/sapi/apache2filter/sapi_apache2.c -o
> sapi/apache2filter/sapi_apache2.lo
> In file included from /mnt/lfs/userv/apache2/include/http_protocol.h:64,
> from /tmp/php-4.3.0/sapi/apache2filter/sapi_apache2.c:41:
> /mnt/lfs/userv/apache2/include/apr_portable.h:434: parse error before `*'
> make: *** [sapi/apache2filter/sapi_apache2.lo] Error 1
>
> Why? What can I do to solve the problem?