[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Package installation difficulty
From: |
Marco atzeri |
Subject: |
Re: Package installation difficulty |
Date: |
Fri, 09 Sep 2011 18:49:13 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1 |
On 9/9/2011 6:39 PM, 2NinerRomeo wrote:
I'm moving this from the thread:
http://octave.1599824.n4.nabble.com/octave-3-4-0-and-octave-forge-20110226-for-cygwin-released-tt3336262.html
octave 3.4.0 and octave-forge-20110226 for cygwin released
In summary, I have attempted to install the control-2.1.55 package after
downloading, which failed.
At Marco's suggestion, I have attempted moving the .gz package to /usr/src,
changed the permissions to 666 and attempted the install with -nomanual and
-verbose switches, which yielded the following output, which is exactly the
same as the original errors, but interleaved with what I presume are
scripted commands being echoed to the console:
octave:2> pkg install -noauto -verbose /usr/src/control-2.1.55.tar.gz
make: *** /tmp/oct-2899b8.1/control/src: No such file or directory. Stop.
mkdir (/tmp/oct-2899b8.1)
untar (/usr/src/control-2.1.55.tar.gz, /tmp/oct-2899b8.1)
have you checked tmp is accessible and control-2.1.55.tar.gz is not
damaged ?
ls -l /tmp
tar -tjf control-2.1.55.tar.gz
'make' returned the following error:
error: called from `pkg>configure_make' in file
/usr/share/octave/3.4.2/m/pkg/pkg.m near line 1339, column 9
error: called from:
error: /usr/share/octave/3.4.2/m/pkg/pkg.m at line 790, column 5
error: /usr/share/octave/3.4.2/m/pkg/pkg.m at line 361, column 9
Marco also pointed out that the control-2.1.52 is part of the octave-forge
package, which I installed from the cygwin installer, and checked as
instructed, which appears to show the installation
$ cygcheck -c -d |grep octave
octave 3.4.2-1
octave-devel 3.4.2-1
octave-doc 3.4.2-1
octave-forge 20110730-1
additionally a "ver" command also shows the presence of control-2.1.52
...
combinatorics | 1.0.9 |
/usr/share/octave/packages/combinatorics-1.0.9
control | 2.1.52 | /usr/share/octave/packages/control-2.1.52
data-smoothing | 1.2.0 |
/usr/share/octave/packages/data-smoothing-1.2.0
...
however, attempting to access a control function, for example 'tf' gets a
"not found" response.
on cygwin no package is automatically loaded, so
you need the command
pkg load control
before using the control functions.
See "help pkg"
Regards
Marco