Magick Module

From: Date: Thu, 07 Dec 2000 19:21:43 +0000
Subject: Magick Module
Groups: php.general 
Request: Send a blank email to php-general+get-29194@lists.php.net to get a copy of this message
I am in the process of writing a module that uses the ImageMagick library from www.imagemagick.org I have it compiling, link and make install works fine. "apachectl start" also works fine. But apache is seg faulting and I can't figure out why (no messages makes it tough to debug). I am not sure if it is a library conflict, misconfiguration, etc etc. Ok, I just did "make clean" and recompiled everything from scratch and get this error: In file included from sapi_apache.c:58: /home/src/php-4.0.3pl1/php_version.h:3: warning: `PHP_VERSION' redefined /home/src/php-4.0.3pl1/main/php_version.h:3: warning: this is the location of the previous definition In file included from /usr/local/apache/include/ap_config.h:1133, from /usr/local/apache/include/httpd.h:71, from sapi_apache.c:32: /usr/local/include/magick/memory.h:17: syntax error before `void' make[3]: *** [sapi_apache.lo] Error 1 make[3]: Leaving directory `/home/src/php-4.0.3pl1/sapi/apache' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/src/php-4.0.3pl1/sapi/apache' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/src/php-4.0.3pl1/sapi' make: *** [all-recursive] Error 1 I am not an expert Unix/C programmer (obviously). Does anyone know what this means? Jack

« previous php.general (#29194) next »