Re: Magick Module
| From: | Richard Lynch | Date: | Fri, 08 Dec 2000 00:00:08 +0000 |
| Subject: | Re: Magick Module | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29248@lists.php.net to get a copy of this message | ||
There are some more ideas about how to debug a segfault on
http://bugs.php.net
----- Original Message -----
From: "Jack Slocum" <jslocum@san.rr.com>
Newsgroups: php.general
Sent: Thursday, December 07, 2000 1:10 PM
Subject: [PHP] Magick Module
> 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
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>