build.rs should use $OCTAVE and $OCTAVEBUILD
ctaggart opened this issue · 1 comments
ctaggart commented
Instructions and getting and building Octave would be useful. Their should probably be environments to set the source directory for Ocatave as well as a separate build directory.
Installing Octave Dependencies on Ubuntu
switch to root
sudo -u root -i
edit sources.list and enable all deb-src
nano /etc/apt/sources.list
apt-get update
apt-get build-dep -y octave
apt-get install -y bison sed
see what is installed
apt-cache show octave
Download & build Octave from source
curl -L -o octave.tar.xz http://ftp.gnu.org/gnu/octave/octave-4.2.1.tar.xz
mkdir octave
tar xf octave.tar.xz -C octave --strip-components 1
It takes about an hour on my VM to build.
mkdir octave-build
cd octave-build
../octave/configure
time make
ctaggart commented
Once I get it working on any platform, let's revisit.