Image package

Thomas Treichl Thomas.Treichl at gmx.net
Tue Dec 9 02:16:18 CST 2008


Robert Fong-tom schrieb:
> On Dec 5, 2008, at 4:31 PM, Thomas Treichl wrote:
>> In the file 'src/Makefile' of the package image-1.0.8.tar.gz it is not 
>> enough to get back the --cppflags and --ldflags from Magick++-config. 
>> At least on a Mac (but I expect this won't make any difference on 
>> Linux, too) it is necessary to get back --libs, otherwise the 
>> installation of image-1.0.8 fails because of the linker error Bob 
>> reported before.
>>
>> I changed the following line in 'src/Makefile'
>>
>>   __magick_read__.oct: __magick_read__.cc
>>         $(MKOCTFILE) $< `Magick++-config --cppflags` `Magick++-config 
>> --ldflags`
>>
>> into
>>
>>   __magick_read__.oct: __magick_read__.cc
>>         $(MKOCTFILE) $< `Magick++-config --cppflags --ldflags --libs`
>>
>> and then was able to successfully install image-1.0.8.tar.gz in 
>> Octave.app, too.
>>
>> Bob, I send you a modified package offside any mailing-list. Please 
>> try to install that one instead and report back if this works for you 
>> so that we can think about making a modification in the sources.

Hi again,

Bob told me, that -after another trial- he was able to install my modified 
image-1.0.8.tar.gz package with Octave.app 3.0.3, too. Is there any reason why 
we should *not* change the Makefile of the image package like I suggested 
before? Can I commit that changes?

   Thomas


More information about the Help-octave mailing list