Hi, When I try to install the rb-rmagick port, it fails with the following report: ---> Configuring rb-rmagick Warning: wmf2eps is not installed, some RMagick examples will fail. Warning: gs is not installed, some RMagick examples will fail. Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_ruby_rb-rmagick/work/RMagick-1.15.10" && ./ configure --prefix=/opt/local --with-doc-dir=/opt/local/share/doc/rb- rmagick/userguide --enable-allow-example-errors " returned error 1 Command output: Configuring RMagick 1.15.10 checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc-4.0 accepts -g... yes checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed checking for /usr/bin/gcc-4.0 option to accept ISO C99... -std=gnu99 checking for /usr/bin/gcc-4.0 -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking for ruby... /opt/local/bin/ruby checking for Magick-config... Magick-config checking for InitializeMagick in -lMagick... no configure: error: Can't install RMagick. Can't find libMagick or one of the dependent libraries. Check the config.log file for more detailed information. Error: Status 1 encountered during processing. The likely-looking libraries I have in /opt/local/lib are: -rwxr-xr-x 2 root admin 1379 5 Mar 17:27 libMagickCore.la -rw-r--r-- 2 root admin 2801072 5 Mar 17:27 libMagickCore.a -rwxr-xr-x 2 root admin 2049336 5 Mar 17:27 libMagickCore.1.dylib -rwxr-xr-x 2 root admin 1411 5 Mar 17:27 libMagickWand.la -rw-r--r-- 2 root admin 1268160 5 Mar 17:27 libMagickWand.a -rwxr-xr-x 2 root admin 846408 5 Mar 17:27 libMagickWand.1.dylib -rwxr-xr-x 2 root admin 1431 5 Mar 17:27 libMagick++.la -rw-r--r-- 2 root admin 731172 5 Mar 17:27 libMagick++.a -rwxr-xr-x 2 root admin 378796 5 Mar 17:27 libMagick++.1.dylib lrwxr-xr-x 1 root admin 21 5 Mar 17:27 libMagickWand.dylib -> libMagickWand.1.dylib lrwxr-xr-x 1 root admin 21 5 Mar 17:27 libMagickCore.dylib -> libMagickCore.1.dylib lrwxr-xr-x 1 root admin 19 5 Mar 17:27 libMagick++.dylib -
libMagick++.1.dylib drwxr-xr-x 4 root admin 136 5 Mar 17:27 ImageMagick-6.3.9
... so there's no actual libMagick.dylib, even though the ImageMagick port appeared to install happily. Any guidance? Thanks, -- Bill Gallafent.
This bug has already been filed in the issue tracker: http://trac.macosforge.org/projects/macports/ticket/14271 Unfortunately this port has no maintainer, and I don't know how to fix it. Suggestions welcome. On Mar 5, 2008, at 11:41, William Gallafent wrote:
Hi,
When I try to install the rb-rmagick port, it fails with the following report:
---> Configuring rb-rmagick Warning: wmf2eps is not installed, some RMagick examples will fail. Warning: gs is not installed, some RMagick examples will fail. Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_ruby_rb-rmagick/work/RMagick-1.15.10" && ./ configure --prefix=/opt/local --with-doc-dir=/opt/local/share/doc/rb- rmagick/userguide --enable-allow-example-errors " returned error 1 Command output: Configuring RMagick 1.15.10 checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc-4.0 accepts -g... yes checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed checking for /usr/bin/gcc-4.0 option to accept ISO C99... -std=gnu99 checking for /usr/bin/gcc-4.0 -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking for ruby... /opt/local/bin/ruby checking for Magick-config... Magick-config checking for InitializeMagick in -lMagick... no configure: error: Can't install RMagick. Can't find libMagick or one of the dependent libraries. Check the config.log file for more detailed information.
Error: Status 1 encountered during processing.
The likely-looking libraries I have in /opt/local/lib are:
-rwxr-xr-x 2 root admin 1379 5 Mar 17:27 libMagickCore.la -rw-r--r-- 2 root admin 2801072 5 Mar 17:27 libMagickCore.a -rwxr-xr-x 2 root admin 2049336 5 Mar 17:27 libMagickCore. 1.dylib -rwxr-xr-x 2 root admin 1411 5 Mar 17:27 libMagickWand.la -rw-r--r-- 2 root admin 1268160 5 Mar 17:27 libMagickWand.a -rwxr-xr-x 2 root admin 846408 5 Mar 17:27 libMagickWand. 1.dylib -rwxr-xr-x 2 root admin 1431 5 Mar 17:27 libMagick++.la -rw-r--r-- 2 root admin 731172 5 Mar 17:27 libMagick++.a -rwxr-xr-x 2 root admin 378796 5 Mar 17:27 libMagick++.1.dylib lrwxr-xr-x 1 root admin 21 5 Mar 17:27 libMagickWand.dylib -> libMagickWand.1.dylib lrwxr-xr-x 1 root admin 21 5 Mar 17:27 libMagickCore.dylib -> libMagickCore.1.dylib lrwxr-xr-x 1 root admin 19 5 Mar 17:27 libMagick++.dylib -
libMagick++.1.dylib drwxr-xr-x 4 root admin 136 5 Mar 17:27 ImageMagick-6.3.9
... so there's no actual libMagick.dylib, even though the ImageMagick port appeared to install happily.
Any guidance?
On 6 Mar 2008, at 06:15, Ryan Schmidt wrote:
This bug has already been filed in the issue tracker:
http://trac.macosforge.org/projects/macports/ticket/14271
Unfortunately this port has no maintainer, and I don't know how to fix it. Suggestions welcome.
Hmm, I tweaked the configure.ac to search for libraries in a more sensible way, but at the moment autoreconf -fiv fails for me with the following, so I can't test my fix. I know very little about autoheader, so does anyone have any idea how to fix autoheader failures of this type? The AC_CONFIG_HEADERS seems to be called with an appropriate header file including '#undef BLAH' for these defines, and there are AC_DEFINE macros in configure.ac which look OK to my untrained eye. ----- autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /opt/local/bin/autoconf --force autoreconf: running: /opt/local/bin/autoheader --force autoheader: warning: missing template: GRAPHICSMAGICK autoheader: Use AC_DEFINE([GRAPHICSMAGICK], [], [Description]) autoheader: warning: missing template: HAVE_ACQUIRESTRINGINFO autoheader: warning: missing template: HAVE_ALLCHANNELS autoheader: warning: missing template: HAVE_CINEONLOGRGBCOLORSPACE autoheader: warning: missing template: HAVE_COALESCELAYER autoheader: warning: missing template: HAVE_COLORDODGECOMPOSITEOP autoheader: warning: missing template: HAVE_DSTCOMPOSITEOP autoheader: warning: missing template: HAVE_GETCOLORINFOLIST autoheader: warning: missing template: HAVE_GETIMAGEQUANTUMDEPTH autoheader: warning: missing template: HAVE_GETMAGICKINFOLIST autoheader: warning: missing template: HAVE_GETMAGICKPIXELPACKET autoheader: warning: missing template: HAVE_GETTYPEINFOLIST autoheader: warning: missing template: HAVE_GRAYCHANNEL autoheader: warning: missing template: HAVE_HSBCOLORSPACE autoheader: warning: missing template: HAVE_IMAGE_EXTRACT_INFO autoheader: warning: missing template: HAVE_INDEXCHANNEL autoheader: warning: missing template: HAVE_JPEG2000COMPRESSION autoheader: warning: missing template: HAVE_LABCOLORSPACE autoheader: warning: missing template: HAVE_LOGCOLORSPACE autoheader: warning: missing template: HAVE_MAGICKBOOLEANTYPE autoheader: warning: missing template: HAVE_MAXEVALUATEOPERATOR autoheader: warning: missing template: HAVE_NEW_COLORINFO autoheader: warning: missing template: HAVE_NEW_REMOVEIMAGEPROFILE autoheader: warning: missing template: HAVE_OLD_GETCOLORINFOLIST autoheader: warning: missing template: HAVE_OLD_GETIMAGEQUANTUMDEPTH autoheader: warning: missing template: HAVE_OLD_GETMAGICKINFOLIST autoheader: warning: missing template: HAVE_OLD_GETTYPEINFOLIST autoheader: warning: missing template: HAVE_PALETTEBILEVELMATTETYPE autoheader: warning: missing template: HAVE_QUANTUMPIXEL autoheader: warning: missing template: HAVE_REC601LUMACOLORSPACE autoheader: warning: missing template: HAVE_REC601YCBCRCOLORSPACE autoheader: warning: missing template: HAVE_REC709LUMACOLORSPACE autoheader: warning: missing template: HAVE_REC709YCBCRCOLORSPACE autoheader: warning: missing template: HAVE_REPLACECOMPOSITEOP autoheader: warning: missing template: HAVE_TRANSPARENTVIRTUALPIXELMETHOD autoheader: warning: missing template: HAVE_UNDEFINEDGRAVITY autoheader: warning: missing template: MAGICKNAME autoheader: warning: missing template: RUBY_VERSION_STRING autoreconf: /opt/local/bin/autoheader failed with exit status: 1 ----- There is a trivial workaround to get rmagick installed, though: sudo port install rb-rubygems sudo gem install rmagick I'm tempted to suggest that the rb-rmagick port be altered to simply do this instead of building rmagick from source, but there may be connotations of which I'm not aware which make that a bad idea.
participants (2)
-
Ryan Schmidt
-
William Gallafent