ImageMagick und Imagick

Apache, Lighttpd, nginx, Cherokee
Post Reply
snake*sl
Posts: 37
Joined: 2004-10-21 18:04
Location: Iserlohn
 

ImageMagick und Imagick

Post by snake*sl »

Hallo,

ich hab mir ImageMagick-5.5.7.rpm installiert und imagick. Wenn ich jetzt php neu konfiguriere, dann kommt die Meldung:

Code: Select all

checking for imagick support... yes
checking for imagick support... no
Building with ImageMagick as backend
checking for ImageMagick in default path... found in /usr
checking for ImageMagick 5.5.3 or later with /usr/bin/Magick-config... 5.5.7
checking for InitializeMagick in -lMagick... no
configure: error: There is something wrong. Please check config.log for more information.
In der config.log steht dann als erste Fehlermeldung:

Code: Select all

| #include <ac_nonexistent.h>
configure:3298: checking for egrep
configure:3308: result: grep -E
configure:3314: checking for AIX
configure:3336: result: no
configure:3345: checking if compiler supports -R
configure:3369: gcc -o conftest -g -O2   conftest.c -R /usr/lib  >&5
gcc: unrecognized option `-R'
/usr/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
configure:3375: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3402: result: no
configure:3407: checking if compiler supports -Wl,-rpath,
configure:3431: gcc -o conftest -g -O2   conftest.c -Wl,-rpath,/usr/lib  >&5
configure:3437: $? = 0
configure:3441: test -z
Hat jemand 'ne Idee?
djcrackman
Posts: 207
Joined: 2005-06-02 11:58
Contact:
 

Re: ImageMagick und Imagick

Post by djcrackman »

PHP als RPM oder Source?

Wie lautet dein configure-Aufruf?
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: ImageMagick und Imagick

Post by Roger Wilco »

snake*sl wrote:Hat jemand 'ne Idee?
Dir fehlt ImageMagick-devel.
snake*sl
Posts: 37
Joined: 2004-10-21 18:04
Location: Iserlohn
 

Re: ImageMagick und Imagick

Post by snake*sl »

Roger Wilco wrote:Dir fehlt ImageMagick-devel.
Ist installiert, das war's nicht. :(

PHP kompiliere ich selbst mit folgendem Aufruf

Code: Select all

'./configure' '--prefix=/usr' '--datadir=/usr/share/php' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include' '--sysconfdir=/etc' '--with-_lib=lib' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' '--disable-debug' '--enable-inline-optimization' '--enable-memory-limit' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild' '--disable-ctype' '--disable-session' '--without-mysql' '--disable-cli' '--with-pear=/usr/local/src/php/pear/' '--with-openssl' '--with-imagick' '--with-apxs2=/usr/sbin/apxs2-prefork' 'i586-suse-linux' 
Alternativ hab ich auch schon --with-imagick=usr/local/ImageMagick ausprobiert.
snake*sl
Posts: 37
Joined: 2004-10-21 18:04
Location: Iserlohn
 

Re: ImageMagick und Imagick

Post by snake*sl »

hat keiner ein Lösung für mich?
Post Reply