help-octave
[Top][All Lists]
Advanced

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

Re: Octave and the new Mountain Lion Operating System


From: Ben Abbott
Subject: Re: Octave and the new Mountain Lion Operating System
Date: Sat, 04 Aug 2012 17:03:53 -0400

On Aug 4, 2012, at 4:04 PM, pete karousos wrote:

> On Sat, Aug 4, 2012 at 1:59 PM, Ben Abbott <address@hidden> wrote:
> 
>> On Aug 4, 2012, at 1:52 PM, pete karousos wrote:
>> 
>> > On Aug 4, 2012 1:36 PM, "Ben Abbott" <address@hidden> wrote:
>> >
>> >> On Aug 3, 2012, at 11:04 PM, petecasso wrote:
>> >>
>> >> > The dmg file doesn't work with Mountain Lion anymore. It was just 
>> >> > crashing
>> >> > after the upgrade. Not exactly sure why.
>> >> >
>> >> > I downloaded the source code and all requisite libraries and built it
>> >> > myself. I had to make some source code changes though but nothing major.
>> >> > octave is great. If only the plotting were a little better. I'm not a 
>> >> > huge
>> >> > fan of aquaterm though. I prefer to setenv GNUTERM x11 so that I can 
>> >> > zoom in
>> >> > and have the mouse be somewhat functional with the plots.
>> >>
>> >> The DMG would have been dynamically linked to either the Carbon framework 
>> >> or X11.  If the former, Octave called CGDisplayBitsPerPixel which is not 
>> >> present in the Carbon framework for 10.7 or 10.8.  If the latter, you'll 
>> >> need to install X11 as MacOS 10.8 no longer bundles it.
>> >>
>> >> There may be other problems as well.
>> >>
>> >> Ben
>> >
>> > Thanks Ben. I built against X11. I did have to download XQuartz to get it 
>> > to work.
>> >
>> > I used the latest source code for the dependencies as well. When I tried 
>> > to build against the latest SuiteSparse I got undefined symbol errors. I 
>> > think because they moved some functions like SuiteSparse_tic. The 
>> > definitions and declarations of some functions were moved to the 
>> > implementation files (.c) so I moved them back to where I thought made 
>> > sense and it seems to work. Admittedly I did not spend time to make sure 
>> > it was the best solution. I needed octave to help me get some work done so 
>> > I just did what I thought made sense..
>> 
>> My SuiteSparse is version 3.4.0.  I notice that SuiteSparse is up t o 4.0.2. 
>> What version are running?
>> 
>> Regarding the latest sources, do you refer to the last release, or the 
>> developers sources?  If the latter, I would expect them to build under MacOS 
>> 10.8.
>> 
>> Ben
> 
> I am running SuiteSparse 4.0.2. It was the SuiteSparse code I had to change 
> not the Octave code. Once I got SuiteSpace to build everything was fine. I 
> built everything against octave-3.6.2. 

The development sources have been modified to work with the Carbon framework 
for 10.5, 10.6 and 10.7 (I assume 10.8 as well).  If you're interested in the 
cutting edge, the link below provides instructions for obtaining the sources, 
and building the sources.

        http://hg.savannah.gnu.org/hgweb/octave/file/tip/etc/HACKING

Also, you may find the FLTK graphics toolkit preferable as compared to gnuplot 
(it may already be present in the version of Octave  you have).

Regards,
Ben



reply via email to

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