|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-11-23 15:28 UTC] thies at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sun Jun 28 18:00:02 2026 UTC |
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