[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: octave-4.0.1-installer-w64-3
From: |
Tatsuro MATSUOKA |
Subject: |
Re: octave-4.0.1-installer-w64-3 |
Date: |
Sat, 16 Apr 2016 10:23:45 +0900 (JST) |
----- Original Message -----
> From: Martin Kunz
> To: help-octave
> Cc:
> Date: 2016/4/15, Fri 21:18
> Subject: Re: octave-4.0.1-installer-w64-3
>
> Am 15.04.2016 um 03:41 schrieb Tatsuro MATSUOKA:
>> I have upload 64 bit binaries of octave-4.0.1 for windows (release 3).
>> http://www.tatsuromatsuoka.com/octave/Eng/Win/
> Apparently there is something wrong with this build:
>
>>> help nchoosek
> syntax error at C:\Octave\Octave-4.0.1\bin\makeinfo line 54,
> near "my "
> Global symbol "$package" requires explicit package name at
> C:\Octave\Octave-4.0.1\bin\makeinfo line 54.
> Global symbol "$package" requires explicit package name at
> C:\Octave\Octave-4.0.1\bin\makeinfo line 70.
> Global symbol "$package" requires explicit package name at
> C:\Octave\Octave-4.0.1\bin\makeinfo line 72.
> BEGIN not safe after errors--compilation aborted at
> C:\Octave\Octave-4.0.1\bin\makeinfo line 104.
> warning: help: Texinfo formatting filter exited abnormally; raw Texinfo
> source of help text follows...
> 'nchoosek' is a function from the file
> C:\Octave\Octave-4.0.1\share\octave\4.0.1\m\specfun\nchoosek.m
>
>
>
> Additional help for built-in functions and operators is
> available in the online version of the manual. Use the command
> 'doc <topic>' to search the manual index.
>
> Help and information about Octave is also available on the WWW
> at http://www.octave.org and via the address@hidden
> mailing list.
>
>
>
> A similar error occurs when I try to run the build_packages script:
>
>>> build_packages
>
> ## cd to script directory as the packages files are in the same place
> packagedir = fileparts (mfilename ("fullpathext"));
> if length (packagedir) > 0
> cd (packagedir);
> endif;
> cd (packagedir);
> ## helper function to try install a package, and recover
>
> function try_install (pkgname)
> currdir = pwd ();
> try
> pkg ('install', pkgname, '-noauto')
> catch err
> warning (err.identifier, err.message);
> end_try_catch;
> cd (currdir);
> endfunction;
>
> ;
> ## install the packages
> try_install ('general-2.0.0.tar.gz')
> syntax error at C:\Octave\Octave-4.0.1\bin\makeinfo line 54,
> near "my "
> Global symbol "$package" requires explicit package name at
> C:\Octave\Octave-4.0.1\bin\makeinfo line 54.
> Global symbol "$package" requires explicit package name at
> C:\Octave\Octave-4.0.1\bin\makeinfo line 70.
> Global symbol "$package" requires explicit package name at
> C:\Octave\Octave-4.0.1\bin\makeinfo line 72.
> BEGIN not safe after errors--compilation aborted at
> C:\Octave\Octave-4.0.1\bin\makeinfo line 104.
> warning: doc_cache_create: unusable help text found in file 'adresamp2'
> syntax error at C:\Octave\Octave-4.0.1\bin\makeinfo line 54,
> near "my "
> Global symbol "$package" requires explicit package name at
> C:\Octave\Octave-4.0.1\bin\makeinfo line 54.
> Global symbol "$package" requires explicit package name at
> C:\Octave\Octave-4.0.1\bin\makeinfo line 70.
> Global symbol "$package" requires explicit package name at
> C:\Octave\Octave-4.0.1\bin\makeinfo line 72.
> [and so on]
>
> Do you have any idea how to fix this?
I cannot reproduce the above
>> more off
>> help nchoosek
'nchoosek' is a function from the file
C:\octave\Octave-4.0.1-w64\share\octave\4.0.1\m\specf
un\nchoosek.m
-- Function File: C = nchoosek (N, K)
-- Function File: C = nchoosek (SET, K)
Compute the binomial coefficient of N or list all possible
combinations of a SET of items.
If N is a scalar then calculate the binomial coefficient of N and
K which is defined as
/ \
| n | n (n-1) (n-2) ... (n-k+1) n!
| | = ------------------------- = ---------
| k | k! k! (n-k)!
\ /
This is the number of combinations of N items taken in groups of
size K.
If the first argument is a vector, SET, then generate all
combinations of the elements of SET, taken K at a time, with one
row per combination. The result C has K columns and
`nchoosek (length (SET), K)' rows.
<snip>
and also
build_packages.m works as well
Please try uninstall octave-4.0.1, reboot your PC and re-install.
Tatsuro