Date: 11/23/99
- Next message: Bug Database: "[PHP-DEV] Bug #2800 Updated: --with-imagick gives syntax error on compile"
- Previous message: dfedak <email protected>: "[PHP-DEV] PHP 4.0 Bug #2799: ldap_mod_replace causes apache 1.3.9 segmentation fault"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: afan <email protected>
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
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] Bug #2800 Updated: --with-imagick gives syntax error on compile"
- Previous message: dfedak <email protected>: "[PHP-DEV] PHP 4.0 Bug #2799: ldap_mod_replace causes apache 1.3.9 segmentation fault"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

