Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2004 11:35:03 +0100
From:      sms <steinms@wopr.ife.no>
To:        freebsd-questions@freebsd.org
Subject:   ImageMagic port build fails (again).
Message-ID:  <4003C9D7.5040706@wopr.ife.no>

next in thread | raw e-mail | index | archive | help
Hi, fyi

Did a ports upgrade on a FreeBSD4.8 system
01/13/04 10:50am GMT+1.

The reason for this upgrade was to test newer versions of
ImageMagic, because of problems with the one currently installed 
(PACKAGE_LIB_VERSION_NUMBER="5,5,7,2").

It fails in the resize function (used in conjunction with Zope and
the Zope product Photo. Photo uses ImageMagic)

A build of ImageMagic-5.5.7-14 fails as follows:

----------------------------- snip ----------------------
/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.

---------------------------------------------------------------------


--sms

/* Stein M Sandbech                  Email: stein@ife.no  **
** Senior Systems Engineer, EDP dept Web site: www.ife.no **
** Institute for Energy Technology   Tel: +47 63 80 60 00 **
** Box 40, N-2007 Kjeller, NORWAY    Fax: +47 63 81 11 68 */





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