Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2003 14:46:34 -0400
From:      Forrest Aldrich <forrie@forrie.com>
To:        ports@freebsd.org
Subject:   ImageMagick Compile Failure
Message-ID:  <6.0.0.22.2.20031014143622.01d12a70@192.168.1.1>

next in thread | raw e-mail | index | archive | help
The problem appears related to the version of Jasper installed on my 
system.  I upgraded the port, and it works fine now.

Please update the ImageMagick build dependencies to include the correct 
version of Jasper which (in /usr/ports) is currently @ 1.700.2.


_F



====================


FYI, ImageMagick is not compiling correctly from the ports collection (cvs 
update as of today) on FreeBSD-4.9:

/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I../ -I. -I. 
-I../magick -I.. -I.. -I../magick  -I/usr/local/include/freetype2 
-I/usr/local/include -I/usr/X11R6/include -I/X11 
-I/usr/local/include/libxml2  -O -pipe -Wall -c -o jp2.lo `test -f 'jp2.c' 
|| echo './'`jp2.c
In file included from /usr/local/include/jasper/jasper.h:121,
                  from jp2.c:85:
/usr/local/include/jasper/jas_image.h:152: warning: `/*' within comment
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: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: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:760: warning: implicit declaration of function `jas_image_setclrspc'
jp2.c:760: `JAS_CLRSPC_SGRAY' undeclared (first use in this function)
jp2.c:762: `JAS_CLRSPC_CHANIND_GRAY_Y' undeclared (first use in this function)
jp2.c:769: `JAS_CLRSPC_SRGB' undeclared (first use in this function)
jp2.c:771: `JAS_CLRSPC_CHANIND_RGB_R' undeclared (first use in this function)
jp2.c:773: `JAS_CLRSPC_CHANIND_RGB_G' undeclared (first use in this function)
jp2.c:775: `JAS_CLRSPC_CHANIND_RGB_B' undeclared (first use in this function)
gmake[1]: *** [jp2.lo] Error 1
gmake[1]: Leaving directory 
`/usr/ports/graphics/ImageMagick/work/ImageMagick-5.5.7/coders'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/graphics/ImageMagick.
bash-2.05b#



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20031014143622.01d12a70>