help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Installing packages in Octave 3.8?


From: Arnaud Miege
Subject: Installing packages in Octave 3.8?
Date: Tue, 28 Jan 2014 16:30:19 +0000

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 parallel
sclose.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 scope
     case ELOOP:
          ^
sock-stream.cc:89:10: error: 'ETXTBSY' was not declared in this scope
     case ETXTBSY:
          ^
g++: error: sclose.o: No such file or directory
g++: error: sock-stream.o: No such file or directory
strip: 'sclose.oct': No such file
make: *** [sclose.oct] Error 1
make: 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.cc
make: 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 9
error: called from:
error:   C:\Octave\Octave-3.8.0\share\octave\3.8.0\m\pkg\private\install.m at line 199, column 5
error:   C:\Octave\Octave-3.8.0\share\octave\3.8.0\m\pkg\pkg.m at line 394, column 9

Any suggestions on how to work round this?

Thanks,

Arnaud



reply via email to

[Prev in Thread] Current Thread [Next in Thread]