Chris: Problem beim kompilieren von ImageMagick

Beitrag lesen

Hallo zusammen,

ich habe grade versucht mir ImageMagick auf meinem Server zu installieren, aber leider nicht besonders erfolgreich ;)

Beim kompilieren sagt er mir:

jp2.c: In function ReadJP2Image': jp2.c:343: warning: implicit declaration of function jas_clrspc_fam'
jp2.c:343: warning: implicit declaration of function

(ganze Fehlermeldung siehe unten)

Wenn ich den Apache restarte kommt eine Warnung von PHP:

PHP Warning:  Unknown(): Unable to load dynamic library './imagemagick.so' - ./imagemagick.so: cannot open shared object file: No such file or directory in Unknown on line 0

Ich habe bei mir Suse.Linux 7.3 und die PHP Version 4.3.2 installiert.

Kann mir da vieleicht jemand weiterhelfen?

In jenem falle Danke ....

Gruß

Chris

Hier mal die PHPINFO:

'./configure' '--with-apxs=/usr/sbin/apxs' '--with-mysql' '--with-zlib' '--with-ftp' '--with-gd' '--with-xml' '--enable-versioning' '--enable-ftp' '--enable-track-vars=yes' '--enable-url-includes' '--enable-sysvshm=yes' '--enable-sysvsem=yes' '--with-config-file-path=/etc' '--enable-trans-sid' '--with-ttf=/usr/local' '--enable-sockets' '--enable-bcmath' '--with-jpeg-dir' '--with-netbpm' '--with-freetype-dir=/usr/include/freetype2' '--with-pdflib' '--with-openssl' '--with-gd=yes' '--enable-gd-native-ttf' '--enable-gd-imgstrttf' '--with-tiff-dir=/usr' '--with-jpeg-dir=/usr' '--with-png-dir=/usr/lib' '--with-imap' '--with-mcrypt' '--with-gettext' '--with-dbase' '--with-xslt-sablot' '--enable-xslt-sablot' '--with-dba'

Hier nochmal die ganze Fehlermeldung beim komplieren:

jp2.c: In function ReadJP2Image': jp2.c:343: warning: implicit declaration of function jas_clrspc_fam'
jp2.c:343: warning: implicit declaration of function jas\_image\_clrspc' jp2.c:345: JAS_CLRSPC_FAM_RGB' undeclared (first use in this function)
jp2.c:345: (Each undeclared identifier is reported only once
jp2.c:345: for each function it appears in.)
jp2.c:347: warning: implicit declaration of function jas\_image\_getcmptbytype' jp2.c:348: warning: implicit declaration of function JAS_IMAGE_CT_COLOR'
jp2.c:348: JAS\_CLRSPC\_CHANIND\_RGB\_R' undeclared (first use in this function) jp2.c:350: JAS_CLRSPC_CHANIND_RGB_G' undeclared (first use in this function)
jp2.c:352: JAS\_CLRSPC\_CHANIND\_RGB\_B' undeclared (first use in this function) jp2.c:361: JAS_IMAGE_CT_OPACITY' undeclared (first use in this function)
jp2.c:369: JAS\_CLRSPC\_FAM\_GRAY' undeclared (first use in this function) jp2.c:372: JAS_CLRSPC_CHANIND_GRAY_Y' undeclared (first use in this function)
jp2.c:382: JAS\_CLRSPC\_FAM\_YCBCR' undeclared (first use in this function) jp2.c:347: warning: unreachable code at beginning of switch statement jp2.c: In function WriteJP2Image':
jp2.c:751: warning: implicit declaration of function jas\_image\_setclrspc' jp2.c:751: JAS_CLRSPC_SGRAY' undeclared (first use in this function)
jp2.c:752: warning: implicit declaration of function jas\_image\_setcmpttype' jp2.c:753: JAS_CLRSPC_CHANIND_GRAY_Y' undeclared (first use in this function)
jp2.c:760: JAS\_CLRSPC\_SRGB' undeclared (first use in this function) jp2.c:762: JAS_CLRSPC_CHANIND_RGB_R' undeclared (first use in this function)
jp2.c:764: JAS\_CLRSPC\_CHANIND\_RGB\_G' undeclared (first use in this function) jp2.c:766: JAS_CLRSPC_CHANIND_RGB_B' undeclared (first use in this function)
jp2.c:769: JAS\_IMAGE\_CT\_OPACITY' undeclared (first use in this function) make[1]: \*\*\* [jp2.lo] Error 1 make[1]: Leaving directory /root/rpm/ImageMagick-5.5.7/coders'
make: *** [install-recursive] Error 1