help-octave
[Top][All Lists]
Advanced

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

Re: Need instructions to build Octave on macOS


From: Ben Abbott
Subject: Re: Need instructions to build Octave on macOS
Date: Sat, 14 Apr 2018 08:37:16 -0700

On Apr 13, 2018, at 11:40 PM, Maor Shutman <address@hidden> wrote:

On Sat, Apr 14, 2018 at 5:48 AM, Ben Abbott <address@hidden> wrote:
On Apr 13, 2018, at 10:09, Maor Shutman <address@hidden> wrote:


On Fri, Apr 13, 2018 at 4:35 PM, Ben Abbott <address@hidden> wrote:
On Apr 13, 2018, at 01:25, Maor Shutman <address@hidden> wrote:

I had a problem with building Octave on macOS 10.13.3. please see:

https://savannah.gnu.org/bugs/?53218#postcomment

Do you have a newer version of the build instructions on macOS?


Sebastian’s blog is the most recent, I think.


Ben

Hello Ben,

After running the commands in the blog I get the source in :

/Users/maorshutman/Library/Caches/Homebrew/octave--hg/

When I run ./bootstrap and ./configure I get an error like before.
On the other hand the make-ceck.log file says that octave was build successfully.

Can you elaborate on what to do after the commands in the blog?

Thanks,
Maor

Please reply-all, and respond at the bottom.

After running the commands on the blog, octave will have been installed. You just need to open a terminal window and type “octave —force-gui”

Ben

The problem is that I want to make changes and rebuild. 

Ok. After installing Octave via Homebrew, you’ll have most the dependencies install as well. If you intend to use MacPorts or Fink for dependencies, then you may want to decide which you’d prefer to use and uninstall the others.. I’m using Homebrew. The short instructions below assume you are using Homebrew as well.

There are other dependencies needed. You can install them using the commands below.

## Start with Octave to fulfill most dependencies
brew install octave
brew uninstall octave
## Use Sundails27 instead of Sundials
brew unlink sundials
brew install sundials27
## Add qscintilla2
brew install qscintilla2
## Use Homebrew's texinfo
brew install texinfo
## Use Homebrew's bison
brew install bison

You’ll also want to Install MacTex if building docs is desired.


If you haven’t done so, you’ll need to pull the mercurial sources.

hg clone https://www.octave.org/hg/octave

If you don’t have mercurial installed ...

brew intall mercurial

http://brewformulas.org/Mercurial

Once you have pulled the development sources and run bootstrap, I suggest using a script to configure and make. I’ve attached the versions I’m using.

There are currently two patches that are needed for a working gui. 

https://savannah.gnu.org/bugs/?49053
https://savannah.gnu.org/bugs/?50025

Its possible something above doesn’t work. Recently, Homebrew was reorganized. So it is possible that something changed.

Ben

Attachment: homebrew_configure_octave_v4.sh
Description: Binary data

Attachment: homebrew_make_octave_v2.sh
Description: Binary data



reply via email to

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