1
我最近升級到Snow Leopard。我安裝了新的XCode Tools和X11可選安裝。我升級到MacPorts新的Snow Leopard二進制文件,做了一個端口自動更新,重新安裝了所有端口,ImageMagick無法正常工作。我卸載ImageMagick端口,重新安裝它,並得到以下錯誤跟蹤:ImageMagick MacPorts在Snow Leopard上安裝失敗
$ sudo port install imagemagick
---> Computing dependencies for ImageMagick
---> Fetching ImageMagick
---> Verifying checksum(s) for ImageMagick
---> Extracting ImageMagick
---> Configuring ImageMagick
---> Building ImageMagick
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/work/ImageMagick-6.5.6-1" && /usr/bin/make -j2 all " returned error 2
Command output: _XSetTextColor in magick_libMagickCore_la-widget.o
_XSetTextColor in magick_libMagickCore_la-widget.o
_XSetTextColor in magick_libMagickCore_la-widget.o
_XSetMatteColor in magick_libMagickCore_la-widget.o
_XSetBevelColor in magick_libMagickCore_la-widget.o
_XSetBevelColor in magick_libMagickCore_la-widget.o
_XDrawMatte in magick_libMagickCore_la-widget.o
_XDrawBeveledButton in magick_libMagickCore_la-widget.o
_XDrawImage in magick_libMagickCore_la-xwindow.o
"_XQueryColor", referenced from:
_XGetWindowColor in magick_libMagickCore_la-xwindow.o
"_XDefaultColormap", referenced from:
_XAnimateImages in magick_libMagickCore_la-animate.o
_XAnimateImages in magick_libMagickCore_la-animate.o
_XAnimateImages in magick_libMagickCore_la-animate.o
_RenderType in magick_libMagickCore_la-annotate.o
_XDisplayImage in magick_libMagickCore_la-display.o
_XDisplayImage in magick_libMagickCore_la-display.o
_XDisplayImage in magick_libMagickCore_la-display.o
_XQueryColorDatabase in magick_libMagickCore_la-xwindow.o
_XSelectWindow in magick_libMagickCore_la-xwindow.o
_XFreeStandardColormap in magick_libMagickCore_la-xwindow.o
_XMakeStandardColormap in magick_libMagickCore_la-xwindow.o
_XMakeStandardColormap in magick_libMagickCore_la-xwindow.o
_XMakeStandardColormap in magick_libMagickCore_la-xwindow.o
_XMakeStandardColormap in magick_libMagickCore_la-xwindow.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [magick/libMagickCore.la] Error 1
make: *** [all] Error 2
Error: Status 1 encountered during processing.
任何想法?我已經安裝了所有ImageMagick依賴項端口。我應該嘗試重新安裝它們嗎?
可能你在Leopard日子裏有一個不完整的構建目錄,這些目錄通過遷移進行。 MacPorts使用了部分構建的端口,並從那裏開始下坡。 – 2009-10-14 21:56:06