[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems installing pkg general on Windows 7
From: |
Tatsuro MATSUOKA |
Subject: |
Re: problems installing pkg general on Windows 7 |
Date: |
Sun, 11 May 2014 10:55:28 +0900 (JST) |
--- On Sun, 2014/5/11, dr g wrote:
>
>
> Hello Octave Help,
>
> I would like to resolve a problem I have been having with installing packages
> to Octave 3.8 under windows. I need signal package but have to get 'general'
> working for the dependency. Packages worked on 3.64 for me, now they don't. I
> believe the directions for Windows users which I have seen online suggest
> using the build_packages.m script which I have tried to use both unmodified
> and modified as below.
>
> The orginal code
> [packagedir] = fileparts(mfilename("fullpathext"))
> if length(packagedir) > 0
> endif
>
> kicked me out with a zero length path.
> Commenting out this part of the script
> and adding
> cd('C:\Octave\Octave-3.8.1\src');
> pkg install general-1.3.4.tar.gz -verbose
>
>
> Gives an error long message below.
> (# pkg install general-1.3.2.tar.gz -verbose also fails.)From the web, I see
> on the web that there was some sort of a bug fix/update for general-1.3.4.
> Was this not resolved?
> What else does it take to get this working on Windows?
>
> any ideas???
> david
>
At C:\Octave\Octave-3.8.1\src you can install packages easily using
build_packages.m script.
Try just
>> cd C:\octave\Octave-3.8.1\src
>> build_packages
My results are
octave:1> pkg list
Package Name | Version | Installation directory
---------------------+---------+-----------------------
actuarial *| 1.1.0 | ...\share\octave\packages\actuarial-1.1.0
communications | 1.2.0 | ...\share\octave\packages\communications-1.2.0
control *| 2.6.2 | ...\share\octave\packages\control-2.6.2
data-smoothing | 1.3.0 | ...\share\octave\packages\data-smoothing-1.3.0
dicom *| 0.1.1 | ...\share\octave\packages\dicom-0.1.1
fits | 1.0.3 | ...\share\octave\packages\fits-1.0.3
fl-core *| 1.0.0 | ...\share\octave\packages\fl-core-1.0.0
fuzzy-logic-toolkit | 0.4.2 | ...\octave\packages\fuzzy-logic-toolkit-0.4.2
general | 1.3.4 | ...\share\octave\packages\general-1.3.4
geometry | 1.7.0 | ...\share\octave\packages\geometry-1.7.0
image | 2.2.0 | ...\share\octave\packages\image-2.2.0
io | 2.0.2 | ...\share\octave\packages\io-2.0.2
linear-algebra | 2.2.0 | ...\share\octave\packages\linear-algebra-2.2.0
miscellaneous | 1.2.0 | ...\share\octave\packages\miscellaneous-1.2.0
netcdf | 1.0.2 | ...\share\octave\packages\netcdf-1.0.2
odepkg *| 0.8.4 | ...\share\octave\packages\odepkg-0.8.4
optim | 1.2.2 | ...\share\octave\packages\optim-1.2.2
quaternion *| 2.2.0 | ...\share\octave\packages\quaternion-2.2.0
signal | 1.3.0 | ...\share\octave\packages\signal-1.3.0
sockets | 1.0.8 | ...\share\octave\packages\sockets-1.0.8
specfun | 1.1.0 | ...\share\octave\packages\specfun-1.1.0
statistics | 1.2.3 | ...\share\octave\packages\statistics-1.2.3
struct | 1.0.10 | ...\share\octave\packages\struct-1.0.10
tsa | 4.2.7 | ...\share\octave\packages\tsa-4.2.7
windows | 1.2.1 | ...\share\octave\packages\windows-1.2.1
zenity | 0.5.7 | ...\share\octave\packages\zenity-0.5.7
# Note that after execution of build_packages I executed "pkg rebuild odepkg
-auto" for
the odepkg package being autoloaded.
If you want deleted (an) unnecessary package(s), use pkg uninstall command.
Hope this helps.
Tatsuro
> >> cd('C:\Octave\Octave-3.8.1\src');
> >> pkg install general-1.3.4.tar.gz -verbose
> mkdir (C:\Users\home\AppData\Local\Temp\oct-22)
> untar (general-1.3.4.tar.gz, C:\Users\home\AppData\Local\Temp\oct-22)
> make: Entering directory `C:/Users/home/AppData/Local/Temp/oct-22/general/src'
> C:/Octave/Octave-3.8.1/bin/mkoctfile-3.8.1.exe unpackfields.cc
> C:/Users/home/gcc/i686-pc-mingw32/lib/dllcrt2.o:crtdll.c:(.text+0x8f):
> undefined reference to `NtCurrentTeb'
> collect2.exe: error: ld returned 1 exit status
> make: *** [unpackfields.oct] Error 1
> make: Leaving directory `C:/Users/home/AppData/Local/Temp/oct-22/general/src'
> pkg: error running `make' for the general package.
> error: called from 'configure_make' in file
> C:\Octave\Octave-3.8.1\share\octave\3.8.1\m\pkg\private\configure_make.m near
> lin
> e 82, column 9
> error: called from:
> error: C:\Octave\Octave-3.8.1\share\octave\3.8.1\m\pkg\private\install.m at
> line 199, column 5
> error: C:\Octave\Octave-3.8.1\share\octave\3.8.1\m\pkg\pkg.m at line 394,
> column 9
> >>
>
>
>