octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems with make


From: Ben Abbott
Subject: Re: problems with make
Date: Mon, 04 Aug 2008 22:23:15 -0400


On Aug 4, 2008, at 10:00 PM, Thomas L. Scofield wrote:


I finally was able to compile the latest repository on my mac about a couple of weeks ago for the first time. It is on that machine I would like to carry out continued development. The crucial step was the following arguments to configure (which, I have no doubts, are not optimized):

./configure CPPFLAGS="-I/sw/include -I/Developer/SDKs/ MacOSX10.4u.sdk/usr/X11R6/include" LDFLAGS="-L/sw/lib/ -L/usr/lib -L/ Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib" --prefix=/sw

This command worked insofar as the only complaint about libraries I received at the end was that "FLTK backend libs" were not found, nor were the ones "necessary to compile native graphics." I think that this was during the time between John Eaton's changeset to imread.m and __magick_read__.cc (July 16, changesets 8123 and 8118?) and today, for I was successfully using imread.m from core Octave. I tried the same configure command today after downloading the most recent repository, and it seemed to work even better---I still see the "didn't find the necessary libraries ..." warning, but now it is finding viable "FLTK backend libs". Issuing "make" last week was successful, and I had a working program. Today, make fails; here are the last few lines of output:

./DLD-FUNCTIONS/__magick_read__.cc: In function 'octave_value_list read_indexed_images(std::vector<Magick::Image, std::allocator<Magick::Image> >&, const Array<octave_idx_type>&, bool)': ./DLD-FUNCTIONS/__magick_read__.cc:143: warning: comparison between signed and unsigned integer expressions ./DLD-FUNCTIONS/__magick_read__.cc: In function 'void write_image(const std::string&, const std::string&, const octave_value&, const octave_value&)': ./DLD-FUNCTIONS/__magick_read__.cc:490: error: conversion from 'octave_int<uint8_t>' to 'MagickLib::Quantum' is ambiguous ../liboctave/oct-inttypes.h:330: note: candidates are: octave_int<T>::operator float() const [with T = uint8_t] ../liboctave/oct-inttypes.h:328: note: octave_int<T>::operator double() const [with T = uint8_t] ../liboctave/oct-inttypes.h:324: note: octave_int<T>::operator T() const [with T = uint8_t] ./DLD-FUNCTIONS/__magick_read__.cc:491: error: conversion from 'octave_int<uint8_t>' to 'MagickLib::Quantum' is ambiguous ../liboctave/oct-inttypes.h:330: note: candidates are: octave_int<T>::operator float() const [with T = uint8_t] ../liboctave/oct-inttypes.h:328: note: octave_int<T>::operator double() const [with T = uint8_t] ../liboctave/oct-inttypes.h:324: note: octave_int<T>::operator T() const [with T = uint8_t] ./DLD-FUNCTIONS/__magick_read__.cc:492: error: conversion from 'octave_int<uint8_t>' to 'MagickLib::Quantum' is ambiguous ../liboctave/oct-inttypes.h:330: note: candidates are: octave_int<T>::operator float() const [with T = uint8_t] ../liboctave/oct-inttypes.h:328: note: octave_int<T>::operator double() const [with T = uint8_t] ../liboctave/oct-inttypes.h:324: note: octave_int<T>::operator T() const [with T = uint8_t]
make[2]: *** [pic/__magick_read__.o] Error 1
make[1]: *** [src] Error 2
make: *** [all] Error 2

As best as I can tell, this compile problem seems to have arisen with the addition of __magick_write__. Any ideas?

Thomas,

Have you installed imagemagick using FInk?

On my Mac (running 10.5.4)

$ fink list imagemagick
Information about 7004 packages read in 1 seconds.
 i   imagemagick          6.4.1-1011      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-shl 6.1.8-1008 Image manipulation tools, oldest version
     imagemagick-nox1-de  6.4.1-1011      Image manipulation tools
imagemagick-nox10-d 1:6.3.5-1017 Image manipulation tools, old version imagemagick-nox10-s 1:6.3.5-1017 Image manipulation tools, old version i imagemagick-shlibs 6.1.8-1008 Image manipulation tools, oldest version
     imagemagick1-dev     6.4.1-1011      Image manipulation tools
 i   imagemagick1-shlibs  6.4.1-1011      Image manipulation tools
i imagemagick10-dev 1:6.3.5-1017 Image manipulation tools, old version i imagemagick10-shlib 1:6.3.5-1017 Image manipulation tools, old version

I constructed a script for building Octave using dependencies managed by Fink. I posted by request earlier today. Its not exactly an impressive effort, but in the event it may be useful to you ...

        
http://www.nabble.com/Re%3A-default-branch-failed-to-build-on-OSX-p18815621.html

Ben




reply via email to

[Prev in Thread] Current Thread [Next in Thread]