php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2800 --with-imagick gives syntax error on compile
Submitted: 1999-11-23 15:23 UTC Modified: 1999-11-23 15:28 UTC
From: afan at jeo dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.12 OS: RedHat 6.1, kernel 2.2.12-20
Private report: No CVE-ID: None
 [1999-11-23 15:23 UTC] afan at jeo dot net
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-23 15:28 UTC] thies at cvs dot php dot net
the imagemagick module is pretty much discontinued! (doesn't do a lot, anyhow)
we might see a brand new one in the future (supporting the upcoming ImageMagick 5.x)


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 15:01:31 2024 UTC