Bug #2800: --with-imagick gives syntax error on compile
| From: | afan at jeo dot net | Date: | Tue, 23 Nov 1999 14:23:45 +0000 |
| Subject: | Bug #2800: --with-imagick gives syntax error on compile | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-12991@lists.php.net to get a copy of this message | ||
From: afan@jeo.net
Operating system: RedHat 6.1, kernel 2.2.12-20
PHP version: 3.0.12
PHP Bug Type: Compile Failure
Bug description: --with-imagick gives syntax error on compile
cd php-3.0.12
./configure --with-mysql --with-msql=/usr/local/Hughes -with-zlib --with-apxs=/usr/sbin/apxs
--enable-track-vars --with-ldap --with-imagick
Compiling works great until it hits this.
-----BEGIN INCLUDED -----
gcc -g -O2 -O2 -fpic -I. -I. -I/usr/include/apache
-I/usr/X11R6/include/X11/magick -I/X11 -I/usr/include/mysql -I/usr/local/Hughes/include
-I/usr/include -c language-parser.tab.c -o language-parser.tab.o
In file included from /usr/include/apache/ap_config.h:1083,
from php.h:223,
from language-parser.y:57:
/usr/X11R6/include/X11/magick/memory.h:17: syntax error before `void'
make: *** [language-parser.tab.o] Error 1
-----END INCLUDED -----
Below are the programs with which I did the first compilation
and installation of apache 1.3.9.
-------------------
mod_ssl-2.4.8-1.3.9
apache_1.3.9
openssl-0.9.4
rsaref-2.0
mm-1.0.12
ImageMagick and ImageMagick-devel RPM Versions: 4.2.9
Running
rpm -V ImageMagick
and
rpm -V ImageMagick-devel
show no errors in the rpm distribution.
If I remove the --with-imagick directive the PHP compilation
succeeds.
---------begin script-------
[see mod_ssl install for earlier install commands]
cd apache-1.3.9
SSL_BASE=../openssl-0.9.4
RSA_BASE=../rsaref-2.0/local
EAPI_MM=../mm-1.0.12
./configure --with-layout=RedHat --datadir=/httpd --enable-shared=max --disable-rule=WANTHSREGEX
--disable-module=auth_dbm --with-perl=/usr/bin/perl --enable-module=ssl
--disable-rule=SSL_COMPAT --enable-shared=ssl
cd ..
cd php-3.0.12
./configure --with-mysql --with-msql=/usr/local/Hughes -with-zlib --with-apxs=/usr/sbin/apxs
--enable-track-vars --with-ldap --with-imagick
make