RMagick build failure (10.5)
William Gallafent
william at gallaf.net
Wed Mar 5 09:41:37 PST 2008
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.
More information about the macports-users
mailing list