Opened 18 years ago
Closed 18 years ago
#9295 closed defect (worksforme)
ImageMagick 6.2.7-5 compilation fails
Reported by: | andre.berger@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | blb@…, opendarwin-2006@…, andre.berger@…, markd@… | |
Port: |
Description
# port installed|grep -i image
ImageMagick @6.2.6-8_0+jpeg2+mpeg+x11 (active)
# port upgrade ImageMagick
---> Fetching ImageMagick
---> Verifying checksum(s) for ImageMagick
---> Extracting ImageMagick
---> Configuring ImageMagick
---> Building ImageMagick with target all
Error: Target com.apple.build returned: shell command "cd "/usr/local/var/db/dports/build/_opt_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_ImageMagick/work/ImageMagick-6.2.7" && make all" returned error 2
Command output: then mv -f "magick/.deps/magick_libMagick_la-stream.Tpo" "magick/.deps/magick_libMagick_la-stream.Plo"; else rm -f "magick/.deps/magick_libMagick_la-stream.Tpo"; exit 1; fi
if /bin/sh ./libtool --silent --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I./magick -I./wand -I./ltdl -I./ltdl -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/local/include/libxml2 -g -O2 -Wall -MT magick/magick_libMagick_la-string.lo -MD -MP -MF "magick/.deps/magick_libMagick_la-string.Tpo" -c -o magick/magick_libMagick_la-string.lo test -f 'magick/string.c' || echo './'
magick/string.c; \
then mv -f "magick/.deps/magick_libMagick_la-string.Tpo" "magick/.deps/magick_libMagick_la-string.Plo"; else rm -f "magick/.deps/magick_libMagick_la-string.Tpo"; exit 1; fi
if /bin/sh ./libtool --silent --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I./magick -I./wand -I./ltdl -I./ltdl -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/local/include/libxml2 -g -O2 -Wall -MT magick/magick_libMagick_la-timer.lo -MD -MP -MF "magick/.deps/magick_libMagick_la-timer.Tpo" -c -o magick/magick_libMagick_la-timer.lo test -f 'magick/timer.c' || echo './'
magick/timer.c; \
then mv -f "magick/.deps/magick_libMagick_la-timer.Tpo" "magick/.deps/magick_libMagick_la-timer.Plo"; else rm -f "magick/.deps/magick_libMagick_la-timer.Tpo"; exit 1; fi
if /bin/sh ./libtool --silent --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I./magick -I./wand -I./ltdl -I./ltdl -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/local/include/libxml2 -g -O2 -Wall -MT magick/magick_libMagick_la-token.lo -MD -MP -MF "magick/.deps/magick_libMagick_la-token.Tpo" -c -o magick/magick_libMagick_la-token.lo test -f 'magick/token.c' || echo './'
magick/token.c; \
then mv -f "magick/.deps/magick_libMagick_la-token.Tpo" "magick/.deps/magick_libMagick_la-token.Plo"; else rm -f "magick/.deps/magick_libMagick_la-token.Tpo"; exit 1; fi
if /bin/sh ./libtool --silent --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I./magick -I./wand -I./ltdl -I./ltdl -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/local/include/libxml2 -g -O2 -Wall -MT magick/magick_libMagick_la-transform.lo -MD -MP -MF "magick/.deps/magick_libMagick_la-transform.Tpo" -c -o magick/magick_libMagick_la-transform.lo test -f 'magick/transform.c' || echo './'
magick/transform.c; \
then mv -f "magick/.deps/magick_libMagick_la-transform.Tpo" "magick/.deps/magick_libMagick_la-transform.Plo"; else rm -f "magick/.deps/magick_libMagick_la-transform.Tpo"; exit 1; fi
if /bin/sh ./libtool --silent --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I./magick -I./wand -I./ltdl -I./ltdl -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/local/include/libxml2 -g -O2 -Wall -MT magick/magick_libMagick_la-type.lo -MD -MP -MF "magick/.deps/magick_libMagick_la-type.Tpo" -c -o magick/magick_libMagick_la-type.lo test -f 'magick/type.c' || echo './'
magick/type.c; \
then mv -f "magick/.deps/magick_libMagick_la-type.Tpo" "magick/.deps/magick_libMagick_la-type.Plo"; else rm -f "magick/.deps/magick_libMagick_la-type.Tpo"; exit 1; fi
magick/type.c: In function 'LoadFontConfigFonts':
magick/type.c:644: error: 'FC_WIDTH' undeclared (first use in this function)
magick/type.c:644: error: (Each undeclared identifier is reported only once
magick/type.c:644: error: for each function it appears in.)
magick/type.c:652: warning: implicit declaration of function 'FcFini'
magick/type.c:690: error: 'FC_WIDTH_ULTRACONDENSED' undeclared (first use in this function)
magick/type.c:692: error: 'FC_WIDTH_EXTRACONDENSED' undeclared (first use in this function)
magick/type.c:694: error: 'FC_WIDTH_CONDENSED' undeclared (first use in this function)
magick/type.c:696: error: 'FC_WIDTH_SEMICONDENSED' undeclared (first use in this function)
magick/type.c:698: error: 'FC_WIDTH_NORMAL' undeclared (first use in this function)
magick/type.c:700: error: 'FC_WIDTH_SEMIEXPANDED' undeclared (first use in this function)
magick/type.c:702: error: 'FC_WIDTH_EXPANDED' undeclared (first use in this function)
magick/type.c:704: error: 'FC_WIDTH_EXTRAEXPANDED' undeclared (first use in this function)
magick/type.c:706: error: 'FC_WIDTH_ULTRAEXPANDED' undeclared (first use in this function)
magick/type.c:709: error: 'FC_WEIGHT_THIN' undeclared (first use in this function)
magick/type.c:711: error: 'FC_WEIGHT_EXTRALIGHT' undeclared (first use in this function)
magick/type.c:715: error: 'FC_WEIGHT_NORMAL' undeclared (first use in this function)
magick/type.c:723: error: 'FC_WEIGHT_EXTRABOLD' undeclared (first use in this function)
make: * [magick/magick_libMagick_la-type.lo] Error 1
Error: Unable to upgrade port: 1
Change History (6)
comment:1 Changed 18 years ago by andre.berger@…
Cc: | andre.berger@… added |
---|
comment:2 Changed 18 years ago by andre.berger@…
bug_file_loc: | → http://www.darwinports.org/darwinports/dports/graphics/ImageMagick/Portfile |
---|---|
Cc: | blb@… added |
comment:3 Changed 18 years ago by opendarwin-2006@…
comment:4 Changed 18 years ago by opendarwin-2006@…
Cc: | opendarwin-2006@… added |
---|
comment:5 Changed 18 years ago by andre.berger@…
(In reply to comment #1)
I was on vacation, sorry for the late reply!
I'm guessing "FC" is fontconfig, but that's not listed in ImageMagick's dependencies. That may be a bug in the port. I'm guessing you don't have the fontconfig port installed? Can you please try installing the fontconfig port and seeing if you can then upgrade ImageMagick?
fontconfig @2.3.2_1+macosx (active)
An older version of fontconfig is also provided by Apple's X11 environment. I note you're using the +x11 variant. Do you have Apple's X11 installed -- both the X11User.pkg from the normal Mac OS X install, and the X11SDK.pkg from the Xcode installation? I believe X11User.pkg gets installed by default but X11SDK.pkg doesn't, so you may need to install the latter.
I've got both Apple's X11 and Xcode 2.3's X11 SDK installed, but not DP X11 software. Indeed I can compile everything fine -x11 XOR w/o fontconfig in the given version installed.
comment:6 Changed 18 years ago by markd@…
Cc: | markd@… added |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Imagemagick is now at 6.2.9 and installs for me on 10.4.8 Intel /w Xcode 2.4 with +x11 with and without fontconfig. It's been awhile So I'll mark it works for me. If 6.2.9 still fails you may reopen it.
I'm guessing "FC" is fontconfig, but that's not listed in ImageMagick's dependencies. That may be a bug in the port. I'm guessing you don't have the fontconfig port installed? Can you please try installing the fontconfig port and seeing if you can then upgrade ImageMagick?
An older version of fontconfig is also provided by Apple's X11 environment. I note you're using the +x11 variant. Do you have Apple's X11 installed -- both the X11User.pkg from the normal Mac OS X install, and the X11SDK.pkg from the Xcode installation? I believe X11User.pkg gets installed by default but X11SDK.pkg doesn't, so you may need to install the latter.