help-octave
[Top][All Lists]
Advanced

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

Re: problems BUILD_PACKAGES for package general on Windows 7


From: Tatsuro MATSUOKA
Subject: Re: problems BUILD_PACKAGES for package general on Windows 7
Date: Mon, 12 May 2014 04:37:18 +0900 (JST)

--- On Mon, 2014/5/12, dr g  wrote:

> 
> 
> 
> Hello Tatsuro,
> 
> 
> Thank you for getting back to me. 
> 
> 
> Perhaps you quickly read my email or I didn't clearly say that I am *already* 
> using "Build_packages" like your email suggests and for the package install 
> which is giving me errors. 
> 
> 
> The Command Window Octave output for me when I run build_packages.m is next 
> (Any more suggestions?)
> > >>   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
> > >>
> 
>  
> On Sat, May 10, 2014 at 9:55 PM, Tatsuro MATSUOKA <address@hidden> wrote:
> 
> --- 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 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
> > >>

> #********************************************************************
> Perhaps you quickly read my email or I didn't clearly say that I am *already* 
> using "Build_packages" like your email suggests and for the package install 
> which is giving me errors. 

> #********************************************************************

Please also post to the help list for someone else to read discussion.

Yesterday I have uninstalled octave-3.8.1-1 and install octave-3.8.1-2.
As you wrote the octave-3.8.1-2 includes general-1.3.4.tar.gz.
However, for me install of general-1.3.4.tar.gz cause no problem in installing 
packages build_packages script. Therefore, the general-1.3.4.tar.gz itself does 
not have problem.

I do not know why you failed to install the  general-1.3.4 package but 
something might be wrong with your octave-3.8.1 install.  I recommend you to 
try uninstall the octave-3.8.1 and re-install it (octave-3.8.1-2).  If you have 
already done this, I apologize for my less notification.

Regards

Tatsuro



reply via email to

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