"rundemos image" failures

Ben Abbott bpabbott at mac.com
Sat May 30 23:19:32 CDT 2009


Recently the Fink package manager for OSX added at package for  
GraphicsMagick.

Today, I installed it and build Octave. Unfortunately, something is  
not working correctly. See the results of "rundemos image" below.

> /Users/bpabbott/Development/mercurial/local_clone/scripts/image/ 
> imshow.m example 1: failed
> Magick++ exception: Magick: No decode delegate for this image format  
> (/Users/bpabbott/Development/mercurial/local_clone/scripts/image/ 
> default.img) reported by magick/constitute.c:8407 (ReadImage)Press  
> <enter> to continue:
> /Users/bpabbott/Development/mercurial/local_clone/scripts/image/ 
> imshow.m example 2:
>   imshow ("default.img");
>   colormap ("autumn");
>
> /Users/bpabbott/Development/mercurial/local_clone/scripts/image/ 
> imshow.m example 2: failed
> Magick++ exception: Magick: No decode delegate for this image format  
> (/Users/bpabbott/Development/mercurial/local_clone/scripts/image/ 
> default.img) reported by magick/constitute.c:8407 (ReadImage)Press  
> <enter> to continue:
> /Users/bpabbott/Development/mercurial/local_clone/scripts/image/ 
> imshow.m example 3:
>   [I, M] = imread ("default.img");
>   imshow (I, M);
>
> /Users/bpabbott/Development/mercurial/local_clone/scripts/image/ 
> imshow.m example 3: failed
> Magick++ exception: Magick: No decode delegate for this image format  
> (/Users/bpabbott/Development/mercurial/local_clone/scripts/image/ 
> default.img) reported by magick/constitute.c:8407 (ReadImage)Press  
> <enter> to continue:
> /Users/bpabbott/Development/mercurial/local_clone/scripts/image/ 
> imshow.m example 4:
>   [I, M] = imread ("default.img");
>   [R, G, B] = ind2rgb (I, M);
>   imshow (cat(3, R, G*0.5, B*0.8));
>
> /Users/bpabbott/Development/mercurial/local_clone/scripts/image/ 
> imshow.m example 4: failed
> Magick++ exception: Magick: No decode delegate for this image format  
> (/Users/bpabbott/Development/mercurial/local_clone/scripts/image/ 
> default.img) reported by magick/constitute.c:8407 (ReadImage)Press

Using Fink the graphicsmagick and imagemagick packages I have  
installed are marked by "i" below.

>  i   graphicsmagick         1.3.5-3          Swiss army knife of  
> image processing
>  i   graphicsmagick-dev     1.3.5-3          Swiss army knife of  
> image processing
>      graphicsmagick-imagem  1.3.5-3          ImageMagick compatible  
> wrapper commands
>  i   graphicsmagick-shlibs  1.3.5-3          Swiss army knife of  
> image processing
>  i   imagemagick            6.4.1-1013       Image manipulation tools
>      imagemagick-dev        6.1.8-1008       Image manipulation  
> tools, oldest version
>  p   imagemagick-nox                         [virtual package]
>      imagemagick-nox-dev    6.1.8-1008       Image manipulation  
> tools, oldest version
>      imagemagick-nox-shlib  6.1.8-1008       Image manipulation  
> tools, oldest version
>      imagemagick-nox1-dev   6.4.1-1013       Image manipulation tools
>      imagemagick-nox10-dev  1:6.3.5-1017     Image manipulation  
> tools, old version
>      imagemagick-nox10-shl  1:6.3.5-1017     Image manipulation  
> tools, old version
>  i   imagemagick-shlibs     6.1.8-1008       Image manipulation  
> tools, oldest version
>  i   imagemagick1-dev       6.4.1-1013       Image manipulation tools
>  i   imagemagick1-shlibs    6.4.1-1013       Image manipulation tools
>      imagemagick1-svg       6.4.1-1013       Image manipulation tools
>      imagemagick10-dev      1:6.3.5-1017     Image manipulation  
> tools, old version
>  i   imagemagick10-shlibs   1:6.3.5-1017     Image manipulation  
> tools, old version
>      perlmagick-pm586       6.3.5-1004       Perl interface to  
> ImageMagick
>      perlmagick-pm588       6.3.5-1004       Perl interface to  
> ImageMagick

Octave was configured as

> ./configure --disable-option-checking '--prefix=/sw'  'FLIBS=/sw/lib/ 
> gcc4.4/lib/libgfortran.dylib' 'F77=/sw/bin/gfortran' '--infodir=$ 
> {prefix}/share/info' '--mandir=${prefix}/share/man' '--libexecdir=$ 
> {prefix}/lib' '-enable-shared' '-enable-dl' '--disable-static' '-- 
> without-mpi' '--with-hdf5' '--with-fftw' 'CPPFLAGS=-g -I/sw/include - 
> I/sw/include/freetype2' 'FFLAGS=-g' 'LDFLAGS=-L/sw/lib/fltk-aqua/lib  
> -L/sw/lib -lGraphicsMagick -lfltk_gl -lfltk -lpthread' '--with- 
> lapack=-Wl,-framework,Accelerate,-dylib_file,/System/Library/ 
> Frameworks/Accelerate.framework/Versions/A/Frameworks/ 
> vecLib.framework/Versions/A/libLAPACK.dylib:/System/Library/ 
> Frameworks/Accelerate.framework/Versions/A/Frameworks/ 
> vecLib.framework/Versions/A/libLAPACK.dylib' '--with-blas=-Wl,- 
> framework,Accelerate,-dylib_file,/System/Library/Frameworks/ 
> Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/ 
> A/libBLAS.dylib:/System/Library/Frameworks/Accelerate.framework/ 
> Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib' -- 
> cache-file=/dev/null --srcdir=.


and the configure ended with ....

> Octave is now configured for i386-apple-darwin9.7.0
>
>   Source directory:     .
>   Installation prefix:  /sw
>   C compiler:           gcc  -mieee-fp  -Wall -W -Wshadow -Wformat - 
> g -O2
>   C++ compiler:         g++  -mieee-fp -I/sw/include/freetype2 -I/sw/ 
> include  -Wall -W -Wshadow -Wold-style-cast -Wformat -g -O2
>   Fortran compiler:     /sw/bin/gfortran -g -mieee-fp
>   Fortran libraries:    /sw/lib/gcc4.4/lib/libgfortran.dylib
>   BLAS libraries:
>   FFTW libraries:       -lfftw3 -lfftw3f
>   GLPK libraries:       -lglpk
>   UMFPACK libraries:    -lumfpack
>   AMD libraries:        -lamd
>   CAMD libraries:       -lcamd
>   COLAMD libraries:     -lcolamd
>   CCOLAMD libraries:    -lccolamd
>   CHOLMOD libraries:    -lcholmod
>   CXSPARSE libraries:   -lcxsparse
>   ARPACK libraries:
>   QRUPDATE libraries:	
>   HDF5 libraries:       -lhdf5
>   CURL libraries:       -lcurl
>   REGEX libraries:      -L/sw/lib -lpcre
>   QHULL libraries:	-lqhull
>   OPENGL libraries:     -lftgl -L/sw/lib -lfreetype -lz -Wl,- 
> framework,CoreServices -Wl,-framework,ApplicationServices -Wl,- 
> framework -Wl,OpenGL
>   FLTK backend libs:    -L/sw/lib/fltk-aqua/lib -L//sw/lib -L/sw/lib  
> -lfltk_gl -framework AGL -framework OpenGL -lfltk -lpthread - 
> framework Carbon -framework ApplicationServices
>   X11 include flags:    /usr/X11/include
>   X11 libraries:        -L/usr/X11/lib -lX11
>   CARBON libraries:     -Wl,-framework -Wl,Carbon
>   LIBS:                 -lreadline  -lncurses -Wl,- 
> framework,Accelerate,-dylib_file,/System/Library/Frameworks/ 
> Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/ 
> A/libBLAS.dylib:/System/Library/Frameworks/Accelerate.framework/ 
> Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib - 
> lhdf5 -lz -lm
>   Default pager:        less
>   gnuplot:              gnuplot
>   Magick config:        GraphicsMagick++-config
>
>   Do internal array bounds checking:  false
>   Build static libraries:             false
>   Build shared libraries:             true
>   Dynamic Linking:                    true (dyld)
>   Include support for GNU readline:   true
>   64-bit array dims and indexing:     false
>
> configure:35634: WARNING: A BLAS library was detected but found  
> incompatible with your Fortran 77 compiler.  The reference BLAS  
> implementation will be used. To improve performance, consider using  
> a different Fortran compiler or a switch like -ff2c to make your  
> Fortran compiler use a calling convention compatible with the way  
> your BLAS library was compiled, or use a different BLAS library.
> configure:35646: WARNING: qrupdate not found. The QR & Cholesky  
> updating functions will be slow.
> configure:35682: WARNING: arpack not found. This will result in a  
> lack of the eigs function.
> configure:35877:
>
> NOTE: libraries may be skipped if a library is not found OR
>       if the library on your system is missing required features.

Does anyone have an idea what I've done wrong?

Ben



More information about the Octave-maintainers mailing list