help-octave
[Top][All Lists]
Advanced

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

problems installing pkg general on Windows 7


From: dr g
Subject: problems installing pkg general on Windows 7
Date: Sat, 10 May 2014 21:01:06 -0400

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
                                                                                                                            
>>   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
>>




reply via email to

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