help-octave
[Top][All Lists]
Advanced

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

Re: Octave 3.8.2 package installation problems


From: Philip Nienhuis
Subject: Re: Octave 3.8.2 package installation problems
Date: Wed, 04 Mar 2015 23:17:29 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23

Hello

I am very new to Octave, I am running a GUI version of Octave 3.8.2 on Centos6, 
and trying to run an existing code that needs the statistics package, when I 
try to install it I get this:
statistics needs io >= 1.0.18

and when I try to install io this way:
pkg install -forge io
I get the error: QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch 
failed: No such file or directory

I also downloaded the package io-2.2.6.tar.gz from sourceforge and tried to 
install it in Octave locally using the command line version, but I get a 
segmentation fault and Octave just terminates itself
If I use the Command Window in the Octave GUI, and run this:
pkg install -verbose -forge -local io

I get the following result:

mkdir (/tmp/oct-8si90c)
untar (/home/bayan/Downloads/io-2.2.6.tar.gz, /tmp/oct-8si90c)
make: Entering directory `/tmp/oct-8si90c/io/src'
mkoctfile csvexplode.cc
mkoctfile csv2cell.cc
mkoctfile csvconcat.cc
mkoctfile cell2csv.cc
mkoctfile -c xmlread.cc
mkoctfile -c xmltree_read.c
mkoctfile -c xmltree.c
mkoctfile xmlread.o xmltree_read.o xmltree.o
mkoctfile col2num.cc
mkoctfile num2col.cc
make: Leaving directory `/tmp/oct-8si90c/io/src'
copyfile /tmp/oct-8si90c/io/src/cell2csv.oct /tmp/oct-8si90c/io/src/col2num.oct 
/tmp/oct-8si90c/io/src/csv2cell.oct /tmp/oct-8si90c/io/src/csvconcat.oct 
/tmp/oct-8si90c/io/src/csvexplode.oct /tmp/oct-8si90c/io/src/num2col.oct 
/tmp/oct-8si90c/io/src/xmlread.oct 
/tmp/oct-8si90c/io/inst/x86_64-unknown-linux-gnu-api-v49+
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such 
file or directory
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such 
file or directory
error: couldn't append to
save: unable to open output file ''
error: called from 'install' in file 
/usr/local/share/octave/3.8.2/m/pkg/private/install.m near line 289, column 7
error: called from:
error:   /usr/local/share/octave/3.8.2/m/pkg/private/install.m at line 305, 
column 5
error:   /usr/local/share/octave/3.8.2/m/pkg/pkg.m at line 394, column 9

I went to /tmp/ and there was no such directory called "oct-8si90c"

That's because in the end the "pkg" command cleans up after itself, also in case of errors.

Can I know what the issue might be?

No.

Did you have sufficient credentials to be able to install to /usr/local/share ? (superuser? sudo?) Maybe try "help pkg" to read about the PREFIX options to install in your HOME directory.
That's about all I can suggest.

Philip




reply via email to

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