help-octave
[Top][All Lists]
Advanced

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

Re: Problems installing Octave on osx 10.6.8


From: George Profenza
Subject: Re: Problems installing Octave on osx 10.6.8
Date: Tue, 21 Aug 2012 13:56:38 +0100

Brilliant! That worked!

I did 'locate aquaterm' and found another aquaterm in the gnuplot.app 
I had left over from the bundle/.dmg install. Remove it and all was fine.

Thank you very much Ben !

On Tue, Aug 21, 2012 at 12:02 PM, Ben Abbott <address@hidden> wrote:

On Aug 21, 2012, at 5:29 AM, George Profenza wrote:

> On Sat, Aug 18, 2012 at 5:53 PM, Ben Abbott <address@hidden> wrote:
>
>> On Aug 18, 2012, at 10:39 AM, George Profenza wrote:
>>
>> > On Sat, Aug 18, 2012 at 3:03 PM, Ben Abbott <address@hidden> wrote:
>> >
>> >> On Aug 18, 2012, at 7:29 AM, George Profenza wrote:
>> >>
>> >> > Hello,
>> >> >
>> >> > I'm currently trying to install Octave and am experiencing some issues.
>> >> > Here's what I tried:
>> >> > I've installed Octave via Macports - Octave itself works, but even though Macports reports gnuplot and aquaterm were installed using functions like stem() or plot()
>> >> > seem to be ignored (as if there is no link between Octave and GnuPlot or GnuPlot can't open a window, but I'm not getting any errors)
>> >> >
>> >> > I've also tried the osx bundle and have installed http://www.miscdebris.net/upload/gnuplot-4.2.5-i386.dmg as advised on the wiki,
>> >> > but I got these errors:
>> >> >
>> >> > [code]
>> >> > george-profenzas-macbook:~ george$ exec '/Applications/Octave.app/Contents/Resources/bin/octave'
>> >> > dyld: Symbol not found: __cg_jpeg_resync_to_restart
>> >> >   Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
>> >> >   Expected in: /libJPEG.dylib
>> >> >  in /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
>> >> > /Applications/Octave.app/Contents/Resources/bin/octave: line 68: 26488 Trace/BPT trap          OCTAVE_HOME="${OCTAVE_HOME}" PATH="${PATH}" DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}" CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}" FFLAGS="${FFLAGS}" LDFLAGS="${LDFLAGS}" DL_LDFLAGS="${DL_LDFLAGS}" SED="$SED" MAGICK_HOME="${ROOT}" FONTCONFIG_PATH="${ROOT}/etc/fonts" "${ROOT}/bin/octave-3.4.0" "$@"
>> >> > [/code]
>> >> >
>> >> > I presume the libTIFF and libJPEG bundled in the ImageIO frameworks aren't compatible with Octave ?
>> >> > I should have other version of the dylibs installed by Macports when I installed ffmpeg/opencv.
>> >> > Is there a way to tell Octave to look for the dylibs in /opt/local/lib rather than the system frameworks ?
>> >> >
>> >> > Any hints/tips on how I can get Octave running with Gnuplot ?
>> >> >
>> >> > Thank you for your time,
>> >> > George
>> >>
>> >> We recommend you try MacPorts, Fink, or Homebrew.
>> >>
>> >>         http://wiki.octave.org/Octave_for_MacOS_X
>> >>
>> >> MacPorts does not have an Octave version that is current.  However, the octave-devel port is version 3.4.3, which is more current that the bundle you've tried to install.
>> >>
>> >> Ben
>> >
>> > Hello Ben,
>> >
>> > I will try the develop port.
>>
>> I think that is your best option.
>>
>> > Regarding the wiki (http://wiki.octave.org/Installing_MacOS_X_Bundle) I might have got confused but here's the part I read:
>> > "
>> > NOTE: The following instructions are for the Gnuplot in the 'Extras' folder, which DOES NOT WORK, due to some library version issues. Instead you could install a Gnuplot binary fromhttp://www.miscdebris.net/upload/gnuplot-4.2.5-i386.dmg. Or you could try using MacPorts to install Gnuplot.
>> > Look in the 'Extras' folder and find the gnuplot-4.4.3-aqua-i386.dmg disc image. Double-click this dmg to mount the gnuplot disk image.
>> > "
>> > Which is a bit ambiguous. Do I install 4.2.5 or 4.4.3 ? I've noticed that 4.4.3 comes with the octave dmg so I assumed I must use the 4.2.5 dmg which doesn't.
>> >
>> > Thank you,
>> > George
>>
>> I recommend you also install Gnuplot using MacPorts.
>>
>> Ben
>
> Hello Ben,
>
> Thank you again for the suggestions.
> I've uninstalled,cleaned the previous port
> and (macport) installed octave-devel.
>
> Octave itself seems fine, unfortunately I still can't plot
> anything as aquaterm keeps crashing.
> In octave I get a warning:
> octave:1> plot([1:10])
> warning: no graphical display found
> and the crash doesn't provide any useful information:
> "AquaTerm cannot be opened because of a problem."
>
> I'm guessing octave and gnupot are properly installed,
> but aquaterm is not ? How can I deal with this ?
>
> Thank you,
> George

If you installed an Aquaterm app from a source other than macports, then that is likely the cause.

The MacPorts version will be installed as /Applications/MacPorts/AquaTerm.app.  If you have another, try deleting it before running octave.

Ben



reply via email to

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