[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help in building pytave
From: |
Mike Miller |
Subject: |
Re: Help in building pytave |
Date: |
Thu, 12 May 2016 11:00:19 -0700 |
User-agent: |
Mutt/1.6.0 (2016-04-01) |
On Thu, May 12, 2016 at 10:39:24 -0700, Abhinav Tripathi wrote:
> Sorry, I thought pytave wasn't officially a part of octave. Will remember
> in future.
Let's treat it like it is, and hopefully will become, a built-in part of
Octave in a future version. That's how I'm treating it.
> I have a development version of octave. I'll try to build it. But I don't
> know how to pass that to the make script.... It searches for octave files
> in /usr/include (I guess so because even when liboctave-dev was not
> installed it searched for the files there)... So, would I need to move the
> files there? Is there any command line optione that can be passed to give
> path of my local octave repo?
All that pytave needs is a program called `octave-config` in your PATH.
I would recommend configuring Octave with `--prefix=/opt/octave-dev`, or
some other directory that is *not* on the system default PATH. This has
two distinct advantages:
1. The Octave installed from apt is still the system default
2. You can clean up easily with just `rm -rf /opt/octave-dev`
Then in your ~/.bashrc (or however you like) you can prepend the bin
directory on your PATH:
PATH="/opt/octave-dev/bin:$PATH"
And pytave should now use the development version of Octave that you
installed there. This will also be the version of Octave that gets run
when you execute `mkoctfile`, `octave`, or `octave-cli` from the command
line.
> Definitely. It just was my first time trying to build pytave so wanted to
> try it the shorter way. Will build octave now and reach out if I get
> stuck...
Ok.
--
mike
- Re: Help in building pytave, Mike Miller, 2016/05/12
- Re: Help in building pytave, Abhinav Tripathi, 2016/05/12
- Re: Help in building pytave,
Mike Miller <=
- Re: Help in building pytave, Colin Macdonald, 2016/05/12
- Re: Help in building pytave, Abhinav Tripathi, 2016/05/13
- Re: Help in building pytave, Colin Macdonald, 2016/05/13
- Re: Help in building pytave, Mike Miller, 2016/05/14
- Re: Help in building pytave, Abhinav Tripathi, 2016/05/15