I am running Octave 3.0.0 on a MacBook Pro with Mac OS 10.4.11. I
have been able to install some of the octave-forge packages without
any problems. Others seem to install, but with some warnings. One
warning common to many installs is the one
Makeconf.in seems to ignore the --datarootdir setting
I don't know what to make of that, but it doesn't seem to impede
installation, so I've ignored it myself. One of the packages I wish
most to install, however, does not. It is the image package. I have
come to believe (perhaps wrongly) that the problem is that I (likely)
do not have the library libjpeg-devel. That is listed as a
requirement, and from what I've been able to glean off of internet
pages that mention this library, it seems that it contains header
files for libjpeg. I have included the output below (I apologize for
the sheer size of it) of a verbose "pkg install" command. It seems
like the fact that it checks for certain header files and doesn't
find them might confirm my diagnosis.
Nevertheless, I don't have a clue how to obtain this (and other)
development package(s). (In trying to install the 'symbolic'
package, I ran up against 'ginac-devel' which I don't know how to get
either.) My usual method is to find things using fink, apt-get or
macports, but all of these come up empty. (I have downloaded all
libjpeg packages available using fink, but libjpeg-devel is not
listed among them.) I can't even seem to find a tarball version of
this library (though, come to think of it, I usually get tarballs for
applications; I don't know if libraries are distributed that way or
not). Can anyone explain to me how I can get this package working?
octave-3.0.0:57> pkg install -verbose image-1.0.4.tar.gz
config.status: WARNING: Makeconf.in seems to ignore the --
datarootdir setting
__magick_read__.cc:2:22: error: Magick++.h: No such file or directory
__magick_read__.cc:5: error: expected namespace-name before ';' token
__magick_read__.cc:5: error: '<type error>' is not a namespace
__magick_read__.cc:7: error: expected ',' or '...' before '&' token
__magick_read__.cc:7: error: ISO C++ forbids declaration of 'Quantum'
with no type
__magick_read__.cc: In function 'unsigned int scaleQuantumToDepth(int)':
__magick_read__.cc:9: error: '_quantum' was not declared in this scope
__magick_read__.cc:10: error: 'QuantumRange' was not declared in this
scope
__magick_read__.cc:10: error: 'depth' was not declared in this scope
__magick_read__.cc: At global scope:
__magick_read__.cc:13: error: 'Image' was not declared in this scope
__magick_read__.cc:13: error: template argument 1 is invalid
__magick_read__.cc:13: error: template argument 2 is invalid
__magick_read__.cc: In function 'octave_value_list read_indexed_images
(int, Array<octave_idx_type>, bool)':
__magick_read__.cc:16: error: invalid types 'int[int]' for array
subscript
__magick_read__.cc:17: error: invalid types 'int[int]' for array
subscript
__magick_read__.cc:19: error: 'ImageType' was not declared in this scope
__magick_read__.cc:19: error: expected `;' before 'type'
__magick_read__.cc:21: error: invalid types 'int[int]' for array
subscript
__magick_read__.cc:31: error: expected initializer before '*' token
__magick_read__.cc:40: error: invalid types 'int[int]' for array
subscript
__magick_read__.cc:41: error: 'pix' was not declared in this scope
__magick_read__.cc:41: error: invalid types 'int[int]' for array
subscript
__magick_read__.cc:57: error: invalid types 'int[int]' for array
subscript
__magick_read__.cc:58: error: 'pix' was not declared in this scope
__magick_read__.cc:58: error: invalid types 'int[int]' for array
subscript
__magick_read__.cc:75: error: 'ColorRGB' was not declared in this scope
__magick_read__.cc:75: error: expected `;' before 'c'
__magick_read__.cc:78: error: 'type' was not declared in this scope
__magick_read__.cc:79: error: 'PaletteMatteType' was not declared in
this scope
__magick_read__.cc:92: error: 'PaletteType' was not declared in this
scope
__magick_read__.cc:95: error: 'c' was not declared in this scope
__magick_read__.cc:95: error: invalid types 'int[int]' for array
subscript
__magick_read__.cc: At global scope:
__magick_read__.cc:114: error: 'Image' was not declared in this scope
__magick_read__.cc:114: error: template argument 1 is invalid
__magick_read__.cc:114: error: template argument 2 is invalid
__magick_read__.cc: In function 'octave_value_list read_images(int,
Array<octave_idx_type>, unsigned int)':
__magick_read__.cc:119: error: invalid types 'int[int]' for array
subscript
__magick_read__.cc:120: error: invalid types 'int[int]' for array
subscript
__magick_read__.cc:122: error: 'ImageType' was not declared in this
scope
__magick_read__.cc:122: error: expected `;' before 'type'
__magick_read__.cc:124: error: expected initializer before '*' token
__magick_read__.cc:132: error: 'type' was not declared in this scope
__magick_read__.cc:133: error: 'BilevelType' was not declared in this
scope
__magick_read__.cc:135: error: 'GrayscaleType' was not declared in
this scope
__magick_read__.cc:138: error: 'pix' was not declared in this scope
__magick_read__.cc:138: error: invalid types 'int[int]' for array
subscript
__magick_read__.cc:147: error: 'GrayscaleMatteType' was not declared
in this scope
__magick_read__.cc:153: error: 'pix' was not declared in this scope
__magick_read__.cc:153: error: invalid types 'int[int]' for array
subscript
__magick_read__.cc:167: error: 'PaletteType' was not declared in this
scope
__magick_read__.cc:168: error: 'TrueColorType' was not declared in
this scope
__magick_read__.cc:174: error: 'pix' was not declared in this scope
__magick_read__.cc:174: error: invalid types 'int[int]' for array
subscript
__magick_read__.cc:190: error: 'PaletteMatteType' was not declared in
this scope
__magick_read__.cc:191: error: 'TrueColorMatteType' was not declared
in this scope
__magick_read__.cc:192: error: 'ColorSeparationType' was not declared
in this scope
__magick_read__.cc:198: error: 'pix' was not declared in this scope
__magick_read__.cc:198: error: invalid types 'int[int]' for array
subscript
__magick_read__.cc: At global scope:
__magick_read__.cc:226: error: 'Image' was not declared in this scope
__magick_read__.cc:226: error: template argument 1 is invalid
__magick_read__.cc:226: error: template argument 2 is invalid
__magick_read__.cc:228: error: 'Image' was not declared in this scope
__magick_read__.cc:228: error: template argument 1 is invalid
__magick_read__.cc:228: error: template argument 2 is invalid
__magick_read__.cc:231: error: 'Image' was not declared in this scope
__magick_read__.cc:231: error: template argument 1 is invalid
__magick_read__.cc:231: error: template argument 2 is invalid
__magick_read__.cc: In function 'octave_value_list F__magick_read__
(const octave_value_list&, int)':
__magick_read__.cc:260: error: 'Image' was not declared in this scope
__magick_read__.cc:260: error: template argument 1 is invalid
__magick_read__.cc:260: error: template argument 2 is invalid
__magick_read__.cc:260: error: invalid type in declaration before ';'
token
__magick_read__.cc:263: error: 'readImages' was not declared in this
scope
__magick_read__.cc:265: error: expected type-specifier before 'Warning'
__magick_read__.cc:265: error: expected `)' before '&' token
__magick_read__.cc:265: error: expected `{' before '&' token
__magick_read__.cc:265: error: 'warning_' was not declared in this scope
__magick_read__.cc:265: error: expected `;' before ')' token
__magick_read__.cc:268: error: expected primary-expression before
'catch'
__magick_read__.cc:268: error: expected `;' before 'catch'
__magick_read__.cc:271: error: expected primary-expression before
'catch'
__magick_read__.cc:271: error: expected `;' before 'catch'
__magick_read__.cc:277: error: request for member 'size' in 'imvec',
which is of non-class type 'int'
__magick_read__.cc:282: error: request for member 'clear' in 'imvec',
which is of non-class type 'int'
__magick_read__.cc:287: error: 'ClassType' was not declared in this
scope
__magick_read__.cc:287: error: expected `;' before 'klass'
__magick_read__.cc:288: error: 'klass' was not declared in this scope
__magick_read__.cc:288: error: 'PseudoClass' was not declared in this
scope
__magick_read__.cc:291: error: invalid types 'int[int]' for array
subscript
__magick_read__.cc:319: error: request for member 'clear' in 'imvec',
which is of non-class type 'int'
__magick_read__.cc:322: error: expected `}' at end of input
make: *** [__magick_read__.oct] Error 1
mkdir (/var/tmp/oct-7jfL0t)
untar (image-1.0.4.tar.gz, /var/tmp/oct-7jfL0t)
checking for gcc... gcc -O3 -ftree-vectorize -fforce-addr -march=i686
-mfpmath=s
se,387 -mieee-fp -msse3 -msse2 -msse -mmmx
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 gcc -O3 -ftree-vectorize -fforce-addr -march=i686 -
mfpmath=sse,
387 -mieee-fp -msse3 -msse2 -msse -mmmx accepts -g... yes
checking for gcc -O3 -ftree-vectorize -fforce-addr -march=i686 -
mfpmath=sse,387
-mieee-fp -msse3 -msse2 -msse -mmmx option to accept ISO C89... none
needed
checking for mkoctfile... mkoctfile
retrieving compile and link flags from mkoctfile
checking for F77_FUNC... yes
checking for SLList.h... no
checking for lo_ieee_nan_value... yes
checking for octave_idx_type... yes
checking for quit.h... yes
checking for octave... octave
checking for OCTAVE_VERSION in Octave... 3.0.0
checking for octave_config_info('canonical_host_type') in Octave...
i386-apple-d
arwin8.9.1
checking for octave_config_info('SHLEXT') in Octave... dylib
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for strip... strip
checking how to run the C preprocessor... gcc -O3 -ftree-vectorize -
fforce-addr
-march=i686 -mfpmath=sse,387 -mieee-fp -msse3 -msse2 -msse -mmmx -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
checking png.h usability... no
checking png.h presence... no
checking for png.h... no
checking for Magick++-config... yes
configure: creating ./config.status
config.status: creating Makeconf
"$prefix" is /Users/scofield/octave/image-1.0.4
"$exec_prefix" is ${prefix}
octave commands will install into the following directories:
m-files: /tmp/dependencies-i386/share/octave/3.0.0/site/m/
octave-forge
oct-files: /tmp/dependencies-i386/libexec/octave/3.0.0/site/oct/
i386-apple-da
rwin8.9.1/octave-forge
binaries: /tmp/dependencies-i386/libexec/octave/3.0.0/site/exec/
i386-apple-d
arwin8.9.1
alternatives:
m-files: /tmp/dependencies-i386/share/octave/3.0.0/site/octave-
forge-altern
atives/m
oct-files: /tmp/dependencies-i386/libexec/octave/3.0.0/site/
octave-forge-alte
rnatives/oct/i386-apple-darwin8.9.1
shell commands will install into the following directories:
oct-files: /tmp/dependencies-i386/libexec/octave/3.0.0/site/oct/
i386-apple-da
rwin8.9.1/octave-forge
binaries: /tmp/dependencies-i386/libexec/octave/3.0.0/site/exec/
i386-apple-d
arwin8.9.1
alternatives:
m-files: /tmp/dependencies-i386/share/octave/3.0.0/site/octave-
forge-altern
atives/m
oct-files: /tmp/dependencies-i386/libexec/octave/3.0.0/site/
octave-forge-alte
rnatives/oct/i386-apple-darwin8.9.1
shell commands will install into the following directories:
binaries: ${exec_prefix}/bin
man pages: ${datarootdir}/man
libraries: ${exec_prefix}/lib
headers: ${prefix}/include
octave-forge is configured with
octave: octave (version 3.0.0)
mkoctfile: mkoctfile for Octave 0
read/write image formats:
find . -name NOINSTALL -print # shows which toolboxes won't be
installed
mkoctfile -DHAVE_OCTAVE_30 -v __magick_read__.cc -lMagick++ -lMagick
g++ -O3 -ftree-vectorize -fforce-addr -march=i686 -mfpmath=sse,387 -
mieee-fp -msse3 -msse2 -msse -mmmx -c -I/Applications/octave/
Octave.app/Contents/Resources/include -I/Applications/octave/
Octave.app/Contents/Resources/include/curl -I/Applications/octave/
Octave.app/Contents/Resources/include/readline -I/Applications/octave/
Octave.app/Contents/Resources/include -I/Applications/octave/
Octave.app/Contents/Resources/include/curl -I/Applications/octave/
Octave.app/Contents/Resources/include/readline -I/Applications/octave/
Octave.app/Contents/Resources/include -I/Applications/octave/
Octave.app/Contents/Resources/include/curl -I/Applications/octave/
Octave.app/Contents/Resources/include/readline -fPIC -I/Applications/
octave/Octave.app/Contents/Resources/include/octave-3.0.0 -I/
Applications/octave/Octave.app/Contents/Resources/include/
octave-3.0.0/octave -I/Applications/octave/Octave.app/Contents/
Resources/include -mieee-fp -I/Applications/octave/Octave.app/
Contents/Resources/include -I/Applications/octave/Octave.app/Contents/
Resources/include/curl -I/Applications/octave/Octave.app/Contents/
Resources/include/readline -I/Applications/octave/Octave.app/Contents/
Resources/include -I/Applications/octave/Octave.app/Contents/
Resources/include/curl -I/Applications/octave/Octave.app/Contents/
Resources/include/readline -I/Applications/octave/Octave.app/Contents/
Resources/include -I/Applications/octave/Octave.app/Contents/
Resources/include/curl -I/Applications/octave/Octave.app/Contents/
Resources/include/readline -DHAVE_OCTAVE_30 __magick_read__.cc -o
__magick_read__.o
error: called from `pkg:configure_make' in file /Applications/octave/
Octave.app/Contents/Resources/share/octave/3.0.0/m/pkg/pkg.m near
line 1058, column 2
Thomas L. Scofield
--------------------------------------------------------
Assistant Professor
Department of Mathematics and Statistics
Calvin College
--------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev