Re: Need instructions to build Octave on macOS

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Need instructions to build Octave on macOS

bpabbott
Administrator
On Apr 13, 2018, at 10:09, Maor Shutman <[hidden email]> wrote:

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








On Fri, Apr 13, 2018 at 4:35 PM, Ben Abbott <[hidden email]> wrote:
On Apr 13, 2018, at 01:25, Maor Shutman <[hidden email]> 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

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


Reply | Threaded
Open this post in threaded view
|

Re: Need instructions to build Octave on macOS

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

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

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








On Fri, Apr 13, 2018 at 4:35 PM, Ben Abbott <[hidden email]> wrote:
On Apr 13, 2018, at 01:25, Maor Shutman <[hidden email]> 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

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



Reply | Threaded
Open this post in threaded view
|

Re: Need instructions to build Octave on macOS

bpabbott
Administrator
On Apr 13, 2018, at 11:40 PM, Maor Shutman <[hidden email]> wrote:

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


On Fri, Apr 13, 2018 at 4:35 PM, Ben Abbott <[hidden email]> wrote:
On Apr 13, 2018, at 01:25, Maor Shutman <[hidden email]> 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.


If you don’t have mercurial installed ...

brew intall 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. 


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

Ben







homebrew_configure_octave_v4.sh (2K) Download Attachment
homebrew_make_octave_v2.sh (259 bytes) Download Attachment