octave-maintainers
[Top][All Lists]
Advanced

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

Re: Octave 4.0 on Mac OS Yosemite (with gui!)


From: Alexander Hansen
Subject: Re: Octave 4.0 on Mac OS Yosemite (with gui!)
Date: Mon, 5 Oct 2015 16:46:22 -0700


On Oct 5, 2015, at 16:43, Ben Abbott <address@hidden> wrote:


On Oct 5, 2015, at 7:32 PM, Ben Abbott <address@hidden> wrote:

On Oct 5, 2015, at 5:31 PM, Marius Schamschula <address@hidden> wrote:

On Oct 5, 2015, at 3:05 PM, Dr. Sebastian Schöps <address@hidden> wrote:

The Qt libs for Mac OSX use native graphics, while osmesa support is part of X11. Perhaps this is a problem? Does homebrew have an OSMesa formula? I’ve just installed Fink’s package for osmesa and had to tinker a bit for configure to work.

Initially, I got ...


Hi Ben,

the problem seems to be the order of includes in __osmesa_print__. I did not yet fully understand why. However, I have created a small patch that fixes the problem for me

https://gist.githubusercontent.com/schoeps/3bc5ae93f7580ef88d7a/raw/osmesa.patch

Can you try it, please? (OS X 10.11, Xquartz 2.7.8_rc1)

Sebastian

Sebastian,

I applied the patch under Yosemite, it built w/o any issues, this time no "--without-OSMesa” needed!

Marius
--
Marius Schamschula

Hi Sabastian,

Your patch allowed me to complete a build with osmesa enabled. However, when I tried to print for “visible” = “off” I encountered a seg-fault.

panic: Segmentation fault: 11 -- stopping myself

Were you and/or Marius able to print via osmesa.

Ben

Opps, I configured with the following options, and used Macports osmesa port.

            --without-x \
            --with-OSMesa \
            --with-OSMesa-includedir=/sw/include/mesa \
            --with-OSMesa-libdir=/sw/lib/mesa

$ fink list mesa
Information about 10253 packages read in 14 seconds.
 i   mesa                                 7.0.2-3                     3-D graphics library
     mesa-libglw-openmotif4               7.8.2-1                     Xt / Motif OpenGL widgets
     mesa-libglw-openmotif4-shlibs        7.8.2-1                     Xt / Motif OpenGL widgets
 i   mesa-shlibs                          7.0.2-3                     3-D graphics library
 i   system-pkgconfig-osmesa              8-1                         [virtual pkgconfig package representing osmesa]

Ben


That’d be Fink’s osmesa. :-)

If I get a chance I’ll see about some modernization there to try to get a reasonable Octave 4.x into Fink.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison


reply via email to

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