Page 1 of 1

error installing IM 6.8.4.9 Q16 Mac OSX Snow Leopard

Posted: 2013-04-12T10:03:07-07:00
by fmw42
sudo make install
Password:
make install-recursive
Making install in .
config/install-sh -c -d '/usr/local/bin'
/usr/bin/install -c magick/Magick-config magick/MagickCore-config wand/Wand-config wand/MagickWand-config Magick++/bin/Magick++-config '/usr/local/bin'
config/install-sh -c -d '/usr/local/lib'
/bin/sh ./libtool --mode=install /usr/bin/install -c magick/libMagickCore-6.Q16.la wand/libMagickWand-6.Q16.la Magick++/lib/libMagick++-6.Q16.la '/usr/local/lib'
libtool: install: /usr/bin/install -c magick/.libs/libMagickCore-6.Q16.1.dylib /usr/local/lib/libMagickCore-6.Q16.1.dylib
libtool: install: (cd /usr/local/lib && { ln -s -f libMagickCore-6.Q16.1.dylib libMagickCore-6.Q16.dylib || { rm -f libMagickCore-6.Q16.dylib && ln -s libMagickCore-6.Q16.1.dylib libMagickCore-6.Q16.dylib; }; })
libtool: install: /usr/bin/install -c magick/.libs/libMagickCore-6.Q16.lai /usr/local/lib/libMagickCore-6.Q16.la
libtool: install: /usr/bin/install -c wand/.libs/libMagickWand-6.Q16.1.dylib /usr/local/lib/libMagickWand-6.Q16.1.dylib
libtool: install: (cd /usr/local/lib && { ln -s -f libMagickWand-6.Q16.1.dylib libMagickWand-6.Q16.dylib || { rm -f libMagickWand-6.Q16.dylib && ln -s libMagickWand-6.Q16.1.dylib libMagickWand-6.Q16.dylib; }; })
libtool: install: /usr/bin/install -c wand/.libs/libMagickWand-6.Q16.lai /usr/local/lib/libMagickWand-6.Q16.la
libtool: install: /usr/bin/install -c Magick++/lib/.libs/libMagick++-6.Q16.1.dylib /usr/local/lib/libMagick++-6.Q16.1.dylib
libtool: install: (cd /usr/local/lib && { ln -s -f libMagick++-6.Q16.1.dylib libMagick++-6.Q16.dylib || { rm -f libMagick++-6.Q16.dylib && ln -s libMagick++-6.Q16.1.dylib libMagick++-6.Q16.dylib; }; })
libtool: install: /usr/bin/install -c Magick++/lib/.libs/libMagick++-6.Q16.lai /usr/local/lib/libMagick++-6.Q16.la
make install-exec-hook
config/install-sh -c -d '/usr/local/bin'
ln -s /usr/local/lib/ImageMagick-6.8.4/bin-Q16/ ./
ln: .//: File exists
make[4]: *** [install-exec-hook] Error 1
make[3]: *** [install-exec-am] Error 2
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2

Re: error installing IM 6.8.4.9 Q16 Mac OSX Snow Leopard

Posted: 2013-04-12T10:39:04-07:00
by magick
Try 'make uninstall' and follow that with 'make install'. Does that fix the problem?

Re: error installing IM 6.8.4.9 Q16 Mac OSX Snow Leopard

Posted: 2013-04-12T10:40:56-07:00
by fmw42
sudo make uninstall


( cd '/usr/local/lib/pkgconfig' && rm -f ImageMagick.pc MagickCore.pc ImageMagick-6.Q16.pc MagickCore-6.Q16.pc MagickWand.pc Wand.pc MagickWand-6.Q16.pc Wand-6.Q16.pc Magick++.pc ImageMagick++.pc Magick++-6.Q16.pc ImageMagick++-6.Q16.pc )
( cd '/usr/local/lib/ImageMagick-6.8.4/bin-Q16' && rm -f animate compare composite conjure convert display identify import mogrify montage stream )
( cd '/usr/local/include/ImageMagick-6/wand' && rm -f MagickWand.h animate.h compare.h composite.h conjure.h convert.h deprecate.h display.h drawing-wand.h identify.h import.h magick-image.h magick-property.h magick-wand.h magick_wand.h method-attribute.h mogrify.h montage.h pixel-iterator.h pixel-wand.h stream.h wand-view.h )
make uninstall-hook
link program animate compare composite conjure convert display identify import mogrify montage stream to '/usr/local/bin'
rm: ./: is a directory
make[2]: *** [uninstall-hook] Error 1
make[1]: *** [uninstall-am] Error 2
make: *** [uninstall-recursive] Error 1

Re: error installing IM 6.8.4.9 Q16 Mac OSX Snow Leopard

Posted: 2013-04-12T11:06:58-07:00
by magick
We cannot reproduce the problem. What is your configure script command line? Which options are you using?

Re: error installing IM 6.8.4.9 Q16 Mac OSX Snow Leopard

Posted: 2013-04-12T11:39:40-07:00
by fmw42
magick wrote:We cannot reproduce the problem. What is your configure script command line? Which options are you using?
Same as I have been using for a long time. Did you modify anything related to the following:


./configure CPPFLAGS='-I/opt/local/include' LDFLAGS='-L/opt/local/lib' \
--enable-delegate-build --enable-shared --disable-static --disable-opencl \
--with-modules --with-quantum-depth=16 --with-gslib --without-wmf \
--disable-silent-rules --disable-dependency-tracking --disable-openmp --without-pango \
--with-gs-font-dir=/opt/local/share/ghostscript/fonts/ --with-lqr


All my delegates have been installed from MacPorts and have not been changed recently.

I tried again but am getting the same errors on install. I downloaded
ImageMagick-6.8.4-9.tar.xz 12-Apr-2013 08:58 7.8M

Should I try a different download?

Re: error installing IM 6.8.4.9 Q16 Mac OSX Snow Leopard

Posted: 2013-04-12T14:28:28-07:00
by rainhaven
Same problem on Mac OS X Mountain Lion (10.8.3):

make install-recursive
Making install in .
config/install-sh -c -d '/opt/imageMagick/bin'
/usr/bin/install -c magick/Magick-config magick/MagickCore-config wand/Wand-config wand/MagickWand-config Magick++/bin/Magick++-config '/opt/imageMagick/bin'
config/install-sh -c -d '/opt/imageMagick/lib'
/bin/sh ./libtool --mode=install /usr/bin/install -c magick/libMagickCore-6.Q16.la wand/libMagickWand-6.Q16.la Magick++/lib/libMagick++-6.Q16.la '/opt/imageMagick/lib'
libtool: install: /usr/bin/install -c magick/.libs/libMagickCore-6.Q16.1.dylib /opt/imageMagick/lib/libMagickCore-6.Q16.1.dylib
libtool: install: (cd /opt/imageMagick/lib && { ln -s -f libMagickCore-6.Q16.1.dylib libMagickCore-6.Q16.dylib || { rm -f libMagickCore-6.Q16.dylib && ln -s libMagickCore-6.Q16.1.dylib libMagickCore-6.Q16.dylib; }; })
libtool: install: /usr/bin/install -c magick/.libs/libMagickCore-6.Q16.lai /opt/imageMagick/lib/libMagickCore-6.Q16.la
libtool: install: /usr/bin/install -c wand/.libs/libMagickWand-6.Q16.1.dylib /opt/imageMagick/lib/libMagickWand-6.Q16.1.dylib
libtool: install: (cd /opt/imageMagick/lib && { ln -s -f libMagickWand-6.Q16.1.dylib libMagickWand-6.Q16.dylib || { rm -f libMagickWand-6.Q16.dylib && ln -s libMagickWand-6.Q16.1.dylib libMagickWand-6.Q16.dylib; }; })
libtool: install: /usr/bin/install -c wand/.libs/libMagickWand-6.Q16.lai /opt/imageMagick/lib/libMagickWand-6.Q16.la
libtool: install: /usr/bin/install -c Magick++/lib/.libs/libMagick++-6.Q16.1.dylib /opt/imageMagick/lib/libMagick++-6.Q16.1.dylib
libtool: install: (cd /opt/imageMagick/lib && { ln -s -f libMagick++-6.Q16.1.dylib libMagick++-6.Q16.dylib || { rm -f libMagick++-6.Q16.dylib && ln -s libMagick++-6.Q16.1.dylib libMagick++-6.Q16.dylib; }; })
libtool: install: /usr/bin/install -c Magick++/lib/.libs/libMagick++-6.Q16.lai /opt/imageMagick/lib/libMagick++-6.Q16.la
make install-exec-hook
config/install-sh -c -d '/opt/imageMagick/bin'
ln -s /opt/imageMagick/lib/ImageMagick-6.8.4/bin-Q16/ ./
ln: .//: File exists
make[4]: *** [install-exec-hook] Error 1
make[3]: *** [install-exec-am] Error 2
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2

Installation of 6.8.4-8 has no problem. Configuration is:

./configure --prefix=/opt/imageMagick CPPFLAGS=-I/opt/imageMagick/include LDFLAGS=-L/opt/imageMagick/lib --enable-shared --disable-static --without-perl

Re: error installing IM 6.8.4.9 Q16 Mac OSX Snow Leopard

Posted: 2013-04-13T08:37:09-07:00
by magick
We reverted the patch that symbolically links the ImageMagick binary utilities from the bin folder to the lib/ImageMagick-6.8.4/bin-Q16 folder. It was originally added to support multiple quantum versions of ImageMagick on the same system (e.g. Q8, Q16). Hopefully broucaries (the author of the original patch) will resolve these build issues and we'll restore the symbolic links functionality in a future release. In the mean-time, use --program-prefix to support different quantum releases of ImageMagick on the same host.

Re: error installing IM 6.8.4.9 Q16 Mac OSX Snow Leopard

Posted: 2013-04-13T08:56:41-07:00
by fmw42
magick wrote: In the mean-time, use --program-prefix to support different quantum releases of ImageMagick on the same host.
Would you give a bit more details how to use --program-prefix (presumably in the ./configure command). I do not see anything about it at http://www.imagemagick.org/script/advan ... #configure

My current ./configure is

./configure CPPFLAGS='-I/opt/local/include' LDFLAGS='-L/opt/local/lib' \
--enable-delegate-build --enable-shared --disable-static --disable-opencl \
--with-modules --with-quantum-depth=16 --with-gslib --without-wmf \
--disable-silent-rules --disable-dependency-tracking --disable-openmp --without-pango \
--with-gs-font-dir=/opt/local/share/ghostscript/fonts/ --with-lqr


Thanks

Re: error installing IM 6.8.4.9 Q16 Mac OSX Snow Leopard

Posted: 2013-04-13T09:05:39-07:00
by lleche
Did succeed to build IM 6.8.4-9 on MacOSX 10.8.3 with the following config:

./configure CPPFLAGS='-I/opt/local/include' LDFLAGS='-L/opt/local/lib' \
--enable-delegate-build --enable-shared --enable-hdri --disable-static --disable-opencl \
--with-modules --with-perl=/Users/Landry/perl5/perlbrew/perls/stable/bin/perl --with-quantum-depth=16 --with-gslib --without-wmf --program-prefix\
--disable-silent-rules --disable-dependency-tracking --disable-openmp \
--with-gs-font-dir=/opt/local/share/ghostscript/fonts/ --with-lqr

Result:

new-host-5:demo $ convert --version
Version: ImageMagick 6.8.4-9 2013-04-13 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC HDRI Modules
Delegates: bzlib mpeg fftw fontconfig freetype gslib jbig jng jp2 jpeg lcms lzma openexr pango png ps tiff x xml zlib

Re: error installing IM 6.8.4.9 Q16 Mac OSX Snow Leopard

Posted: 2013-04-13T09:28:53-07:00
by fmw42
I, too, was successful in finally installing 6.8.4.9 using --program-prefix (thanks to the example above by lleche and Magick's suggestion), using


./configure CPPFLAGS='-I/opt/local/include' LDFLAGS='-L/opt/local/lib' --program-prefix \
--enable-delegate-build --enable-shared --disable-static --disable-opencl \
--with-modules --with-quantum-depth=16 --with-gslib --without-wmf \
--disable-silent-rules --disable-dependency-tracking --disable-openmp --without-pango \
--with-gs-font-dir=/opt/local/share/ghostscript/fonts/ --with-lqr

Re: error installing IM 6.8.4.9 Q16 Mac OSX Snow Leopard

Posted: 2013-05-10T06:50:20-07:00
by broucaries
The problem is that program prefix is empty here. User error