help-octave
[Top][All Lists]
Advanced

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

Problem installing package


From: David
Subject: Problem installing package
Date: Wed, 21 Jan 2015 17:07:21 -0500

Hi!

I'm having a problem installing the 'control' package under Windows 7 (64 bit). I'm running version 3.8.1 of Octave. I ran the following command (from within the GUI command window):

>> pkg install -forge control
unpack: unarchiving program exited with status: 127
tar: control: Cannot mkdir: No such file or directory
tar: control/COPYING: Cannot open: No such file or directory
tar: control/DESCRIPTION: Cannot open: No such file or directory
tar: control/doc: Cannot mkdir: No such file or directory
tar: control/doc/control.pdf: Cannot open: No such file or directory
tar: control/doc/control.tex: Cannot open: No such file or directory
tar: control/doc/functions.texi: Cannot open: No such file or directory
tar: control/doc/gpl.texi: Cannot open: No such file or directory
tar: control/doc/octave_forge_specific_api.txt: Cannot open: No such file or directory
tar: control/doc/references.txt: Cannot open: No such file or directory
tar: control/doc/slicot_readme.txt: Cannot open: No such file or directory
etc.

I was able to install the 'general' package using the same method, so I think I've got Octave installed properly. Could the archive file be corrupted?

I also tried installing the 'control' package from within the CLI interface, and got this result.

octave:1> pkg install -forge control
c:/apps/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot find -lgfortran
collect2.exe: error: ld returned 1 exit status
make: *** [__control_slicot_functions__.oct] Error 1
make: Entering directory `/tmp/oct-2/control/src'
tar -xzf slicot.tar.gz
mkdir sltmp
mv slicot/src/*.f ./sltmp
mv slicot/src_aux/*.f ./sltmp
cp TG04BX.fortran ./sltmp/TG04BX.f
cd sltmp; C:/Apps/Octave-3.8.1/bin/mkoctfile-3.8.1.exe -c *.f
ar -rc slicotlibrary.a ./sltmp/*.o
rm -rf sltmp slicot
LFLAGS="-LC:\Apps\Octave-3.8.1\lib\octave\3.8.1 -LC:\Apps\Octave-3.8.1\lib -llap
ack -lblas -L/home/markuman/n/mxe-octave/usr/i686-w64-mingw32/lib -L/home/markum
an/n/mxe-octave/usr/lib/gcc/i686-w64-mingw32/4.9.0 -L/home/markuman/n/mxe-octave
/usr/lib/gcc/i686-w64-mingw32/4.9.0/../../../../i686-w64-mingw32/lib/../lib -L/h
ome/markuman/n/mxe-octave/usr/lib/gcc/i686-w64-mingw32/4.9.0/../../../../i686-w6
4-mingw32/lib -lm -lgfortran -lmingw32 -lmoldname -lmingwex -lmsvcrt -lquadmath
-ladvapi32 -lshell32 -luser32 -lkernel32" \
    C:/Apps/Octave-3.8.1/bin/mkoctfile-3.8.1.exe __control_slicot_functions__.cc
 common.cc slicotlibrary.a
make: Leaving directory `/tmp/oct-2/control/src'

pkg: error running `make' for the control package.
error: called from 'configure_make' in file C:\Apps\Octave-3.8.1\share\octave\3.
8.1\m\pkg\private\configure_make.m near line 82, column 9
error: called from:
error:   C:\Apps\Octave-3.8.1\share\octave\3.8.1\m\pkg\private\install.m at line 199, column 5
error:   C:\Apps\Octave-3.8.1\share\octave\3.8.1\m\pkg\pkg.m at line 394, column 9

I have MinGW installed, although I'm not sure which version (how can I tell?). Maybe I need to install a newer version of MinGW? Anyone have any suggestions?

Thanks.



reply via email to

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