[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ubuntu 12.04 "pkg install" does not work
From: |
JasonNicholson |
Subject: |
Ubuntu 12.04 "pkg install" does not work |
Date: |
Thu, 5 Sep 2013 23:08:28 -0700 (PDT) |
*My OS:*
Distributor ID: Ubuntu
Description: Ubuntu 12.04.3 LTS
Release: 12.04
Codename: precise
Problem: pkg install and pkg install -forge do not work
command prompt output:
address@hidden:~$ sudo octave -q
octave:1> pkg install -forge struct
make: /usr/bin/mkoctfile: Command not found
make: *** [fields2cell.oct] Error 127
'make' returned the following error: make: Entering directory
`/tmp/oct-GN9KoL/struct-1.0.10/src'
/usr/bin/mkoctfile -s fields2cell.cc
make: Leaving directory `/tmp/oct-GN9KoL/struct-1.0.10/src'
error: called from `pkg>configure_make' in file
/usr/share/octave/3.6.2/m/pkg/pkg.m near line 1391, column 9
error: called from:
error: /usr/share/octave/3.6.2/m/pkg/pkg.m at line 834, column 5
error: /usr/share/octave/3.6.2/m/pkg/pkg.m at line 383, column 9
octave:1>
octave:1>
octave:1> cd Downloads/
octave:2> pkg install control-2.4.4.tar.gz
make: /usr/bin/mkoctfile: Command not found
make: Entering directory `/tmp/oct-YkHsU1/control/src'
make: /usr/bin/mkoctfile: Command not found
make: /usr/bin/mkoctfile: Command not found
make: /usr/bin/mkoctfile: Command not found
/bin/sh: 1: /usr/bin/mkoctfile: not found
make: *** [slicotlibrary.a] Error 127
'make' returned the following error: tar -xzf slicot.tar.gz
mv slicot/src/*.f .
mv slicot/src_aux/*.f .
cp TG04BX.fortran TG04BX.f
/usr/bin/mkoctfile -c *.f
make: Leaving directory `/tmp/oct-YkHsU1/control/src'
error: called from `pkg>configure_make' in file
/usr/share/octave/3.6.2/m/pkg/pkg.m near line 1391, column 9
error: called from:
error: /usr/share/octave/3.6.2/m/pkg/pkg.m at line 834, column 5
error: /usr/share/octave/3.6.2/m/pkg/pkg.m at line 383, column 9
I don't see the obvious answer. Please impart your wisdom, oh wise ones.
SIncerely,
Jason
--
View this message in context:
http://octave.1599824.n4.nabble.com/Ubuntu-12-04-pkg-install-does-not-work-tp4657080.html
Sent from the Octave - General mailing list archive at Nabble.com.