|
From: | Nicholas Jankowski |
Subject: | Re: Installing packages in Octave 3.8? |
Date: | Tue, 28 Jan 2014 11:45:42 -0500 |
Hi,I have just installed Octave 3.8 on my Windows 7 machine from http://mxeoctave.osuv.de/. It appears as if no packages are installed with Octave and I haven't found a way to download/install all packages at once, so I am doing them one at a time using pkg install -forge <package_name>. It's quite tedious and I have to work through all the dependencies by hand. Is there an easier way?Also, when trying to install parallel, which is required for optim, I got the following error message:>> pkg install -forge parallelsclose.cc:37:24: fatal error: sys/socket.h: No such file or directory#include <sys/socket.h>^compilation terminated.sock-stream.cc: In function 'void handle_errno(std::string, int)':sock-stream.cc:56:10: error: 'ELOOP' was not declared in this scopecase ELOOP:^sock-stream.cc:89:10: error: 'ETXTBSY' was not declared in this scopecase ETXTBSY:^g++: error: sclose.o: No such file or directoryg++: error: sock-stream.o: No such file or directorystrip: 'sclose.oct': No such filemake: *** [sclose.oct] Error 1make: Entering directory `/tmp/oct-11/parallel-2.1.1/src'C:/Octave/Octave-3.8.0/bin/mkoctfile-3.8.0.exe -s sclose.cc sock-stream.ccmake: Leaving directory `/tmp/oct-11/parallel-2.1.1/src'pkg: error running `make' for the parallel package.error: called from 'configure_make' in file C:\Octave\Octave-3.8.0\share\octave\3.8.0\m\pkg\private\configure_make.m near line 82, column 9error: called from:error: C:\Octave\Octave-3.8.0\share\octave\3.8.0\m\pkg\private\install.m at line 199, column 5error: C:\Octave\Octave-3.8.0\share\octave\3.8.0\m\pkg\pkg.m at line 394, column 9Any suggestions on how to work round this?
Thanks,Arnaud
[Prev in Thread] | Current Thread | [Next in Thread] |