Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2003 13:36:18 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        Forrest Aldrich <forrie@forrie.com>, ports@freebsd.org
Subject:   Re: ImageMagick Compile Failure
Message-ID:  <200310141336.18266.kstewart@owt.com>
In-Reply-To: <6.0.0.22.2.20031014143622.01d12a70@192.168.1.1>
References:  <6.0.0.22.2.20031014143622.01d12a70@192.168.1.1>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 14 October 2003 11:46 am, Forrest Aldrich wrote:
> 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.
>

Are you using a current set of INDEX's. I show

ruby# search ImageMagick
Port:   ImageMagick-5.5.7.11_1
Path:   /usr/ports/graphics/ImageMagick
Info:   Image processing tools
Maint:  ports@FreeBSD.org
Index:  graphics perl5
B-deps: XFree86-libraries-4.3.0_6 expat-1.95.6_1 fontconfig-2.2.90_3 
freetype2-2.1.5_1 gettext-0.12.1 ghostscript-gnu-7.07_4 gmake-3.80_1 
hdf-4.1r5 imake-4.3.0_1 jasper-1.700.2 jbigkit-1.5 jpeg-6b_1 
lcms-1.09,1 libfpx-1.2.0.9 libiconv-1.9.1_1 libmpeg2-0.3.1_1 
libtool-1.3.5_1 libwmf-0.2.8 libxml2-2.5.11 pkgconfig-0.15.0 
png-1.2.5_2 python-2.3.2 tiff-3.6.0

The INDEX file is 11 days old and INDEX-5 is 8 weeks old. Upgrading a 
port from one of them could produce strange results.

Kent

>
> _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#
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to
> "freebsd-ports-unsubscribe@freebsd.org"

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



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