[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
help installing control 2.4.4 in in non-standard path installation of 3.
From: |
Troy Lutes |
Subject: |
help installing control 2.4.4 in in non-standard path installation of 3.6.3 on RHEL6 |
Date: |
Thu, 22 Aug 2013 11:04:55 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 |
Greetings,
I have Octave 3.6.3 installed in /usr/local/octave-3.6.3 on an NFS
exported dirve. It was built with "./configure
--prefix=/usr/local/octave-3.6.3" so that it created subdirectories like
this /usr/local/octave-3.6.3/usr/local/share/octave/3.6.3.
When I try to make /usr/local/octave-3.6.3/control-2.4.4, I get this error:
address@hidden control]# make
make[1]: Entering directory `/usr/local/octave-3.6.3/control/doc'
make[1]: *** No rule to make target `all'. Stop.
make[1]: Leaving directory `/usr/local/octave-3.6.3/control/doc'
make: *** [pre-pkg] Error 2
Also "pkg install - forge control" fails like this:
octave:1> pkg install -forge control
warning: creating installation directory /usr/local/share/octave/packages
error: could not create installation directory: No such file or directory
error: called from:
error: /usr/local/octave-3.6.3/scripts/pkg/pkg.m at line 659, column 7
error: /usr/local/octave-3.6.3/scripts/pkg/pkg.m at line 383, column 9
If I create /usr/local/octave/packages, I get this error:
octave:1> pkg install -forge control
make: /usr/local/bin/mkoctfile-3.6.3: Command not found
make: Entering directory `/tmp/oct-osSKzL/control/src'
make: /usr/local/bin/mkoctfile-3.6.3: Command not found
make: /usr/local/bin/mkoctfile-3.6.3: Command not found
make: /usr/local/bin/mkoctfile-3.6.3: Command not found
/bin/sh: /usr/local/bin/mkoctfile-3.6.3: No such file or directory
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/local/bin/mkoctfile-3.6.3 -c *.f
make: Leaving directory `/tmp/oct-osSKzL/control/src'
error: called from `pkg>configure_make' in file
/usr/local/octave-3.6.3/scripts/pkg/pkg.m near line 1385, column 9
error: called from:
error: /usr/local/octave-3.6.3/scripts/pkg/pkg.m at line 827, column 5
error: /usr/local/octave-3.6.3/scripts/pkg/pkg.m at line 383, column 9
This is because /usr/local/bin is an NFS mounted resource where
lrwxrwxrwx 1 root root 28 Dec 18 2012 /usr/local/bin/octave ->
/usr/local/octave/run-octave
lrwxrwxrwx 1 root root 12 Dec 18 2012 /usr/local/octave -> octave-3.6.3
Is there a way to pass a "--prefix=<path>" to control or for it to use
the output of the configure script from the 3.6.3 installation so it
knows where it's dependencies are?
Thanks,
Troy
--
Troy Lutes
Linux System Administrator
- help installing control 2.4.4 in in non-standard path installation of 3.6.3 on RHEL6,
Troy Lutes <=