installing packages in octave-upm

226 views
Skip to first unread message

gbkr...@gmail.com

unread,
Mar 20, 2013, 6:09:31 PM3/20/13
to octav...@googlegroups.com
Hi everyone,
I'm trying to install additional packages to octave-upm on Windows7(x64), but somehow it doesn't work.
Namely, I want to install "financial-0.4.0.tar.gz" package to fetch the data from yahoo:
[d f] = fetch(yahoo(), "yhoo", "01-Jul-2005", "10-Jul-2012");
 
Because of the missing dependencies signalled during installation, I also added:
io-1.2.1
general-1.3.2
Still, when trying to get the quotes with the above line (example taken from the fetch.m), I'm getting:
 
C:\projects\Octave:[8]> [d f] = fetch(yahoo(), "yhoo", "01-Jul-2005", "10-Jul-2012")
error: `csv2cell' undefined near line 61 column 9
error: called from:
error:   C:\Octave\Octave-UPM-R7\share\octave\packages\financial-0.4.0\private\fetch_yahoo.m at line 61, column 7
error:   C:\Octave\Octave-UPM-R7\share\octave\packages\financial-0.4.0\fetch.m at line 124, column 21
C:\projects\Octave:[8]>
On my work PC, where I did several other trials, the error is something like: ".....csv2cell.oct missing" or similar.
 
For octave 4.6.2 mingw version and packages taken from:
the installation was a snap and this example works without problems.
 
Could someone describe in steps, what is the correct procedure of installing packages for octave-upm?
 
Thanks in advance
Greg
 

Israel Herraiz

unread,
Mar 21, 2013, 2:09:36 PM3/21/13
to gbkrzyzan, octave-upm
Excerpts from gbkrzyzan's message of Wed Mar 20 23:09:31 +0100 2013:
> Hi everyone,
> I'm trying to install additional packages to octave-upm on Windows7(x64),
> but somehow it doesn't work.

You need to setup a compiler to be able to install packages on
Windows. And that is not an easy task at all (plus, you will need
Visual Studio, because that's what I use to compile Octave UPM).

Alternatively, you can try to install these binaries packages, and
then copy & paste into the Octave UPM installation directory. After
that, execute "pkg rebuild -all"

http://sourceforge.net/projects/octave/files/Octave%20Windows%20binaries/Octave%203.6.2%20for%20Windows%20Microsoft%20Visual%20Studio/

In the next release of Octave UPM, I will add the option to add
binary packages when installing Octave UPM.

Cheers,
Israel
Reply all
Reply to author
Forward
0 new messages