93
edits
(More formatting) |
|||
Line 8: | Line 8: | ||
==Octave 3.2.4 for Windows MinGW32== | ==Octave 3.2.4 for Windows MinGW32== | ||
'''Download:''' http://sourceforge.net/projects/octave/files/Octave_Windows%20-%20MinGW/Octave%203.2.4%20for%20Windows%20MinGW32%20Installer/Octave-3.2.4_i686-pc-mingw32_gcc-4.4.0_setup.exe/download | *'''Download:''' http://sourceforge.net/projects/octave/files/Octave_Windows%20-%20MinGW/Octave%203.2.4%20for%20Windows%20MinGW32%20Installer/Octave-3.2.4_i686-pc-mingw32_gcc-4.4.0_setup.exe/download | ||
*'''Maintainer:''' Benjamin Lindner | |||
*'''Latest release:''' 2010-03-25 | |||
===Includes=== | |||
Includes | |||
*GNU Octave, version 3.2.4 (i686-pc-mingw32) | *GNU Octave, version 3.2.4 (i686-pc-mingw32) | ||
Line 88: | Line 86: | ||
**zenity-0.5.7 | **zenity-0.5.7 | ||
Notes | ===Notes=== | ||
*Although there are some remaining known issues, some bugs reported to the octave-3.2.3 have been corrected. In addition, useful octave-forge packages are added (Java, Jhandles, ....). Please see [http://sourceforge.net/projects/octave/files/Octave_Windows%20-%20MinGW/Octave%203.2.4%20for%20Windows%20MinGW32%20Installer/RELEASE_NOTES-3.2.4.txt/download RELEASE_NOTES.txt] for details: | |||
*Although there are some remaining known issues, some bugs reported to the octave-3.2.3 have been corrected. In addition, useful octave-forge packages are added (Java, Jhandles, ....). Please see | *Default Octave install folder changed to e.g. <code>C:\Octave\3.2.4_gcc-4.4.0\</code>. | ||
*Default Octave install folder changed to | *:If you have installed octave in a folder where the path name has whitespace, for example, <code>C:\Program Files\</code>, 'pkg install (package name)' command '''will fail''': See http://sourceforge.net/mailarchive/message.php?msg_name=4A1AF9EF.1000005@hotmail.com for details | ||
Additional important topics found after the release: | '''Additional important topics found after the release:''' | ||
*It is reported that the oct2mat octave-forge package affects plot related commands. The purpose of the package is to convert m-file into matlab-compatible coding style. Please see the documentation of the octave-forge (oct2mat - freetb4matlab) from http://octave.sourceforge.net/functions_by_package.php) | *It is reported that the oct2mat octave-forge package affects plot related commands. The purpose of the package is to convert m-file into matlab-compatible coding style. Please see the documentation of the octave-forge (oct2mat - freetb4matlab) from http://octave.sourceforge.net/functions_by_package.php) | ||
* | **Report for this problem: http://old.nabble.com/Re:-Octave-3.2.4-mingw32-available-p28053703.html | ||
* | **Explanation of the problem: http://old.nabble.com/Re:-Octave-3.2.4-mingw32-available-p28090303.html | ||
* | **Realistic solution at this moment, do not install the oct2mat package when you install octave with octave-forge packages if you do not use this package. Another solution is to execute | ||
pkg rebuild -noauto oct2mat | pkg rebuild -noauto oct2mat | ||
::at the octave prompt and then restart octave. The operation results in the oct2mat package not to be auto-loaded in startup. When you want to use oct2mat, execute | |||
*The plot octave-forge package still have ginput code although the ginput function is now merge into octave itself. Therefore conflict occur if the plot package is installed. To avoid this problem, rename 'ginput.m' in the folder | pkg load oct2mat | ||
*The plot octave-forge package still have ginput code although the ginput function is now merge into octave itself. Therefore conflict occur if the plot package is installed. To avoid this problem, rename 'ginput.m' in the folder <code>..\Octave\3.2.4_gcc-4.4.0\share\octave\packages\plot-1.0.7</code>, for example ginput.ob.m. In some computers which has one core CPU, response of ginput is very slow. In the case, modify '__gnuplot_ginput__.m' according to the following thread. http://old.nabble.com/ginput-on-Octave-3.2.4-mingw32-to28093888.html | |||
*From gnuplot-4.4.0, the default terminal of gnuplot for windows is the wxt terminal. Some users may set the GNUTERM environmental variable for the windows terminal being default. The gnuplot for windows allows to set GNUTERM to 'win' (abbreviated form) but octave does not recognize the abbreviated form for terminal name. If one would like set GNUTERM to windows terminal, one should specify it as 'windows' (full form) but not 'win' (abbreviated form). In detail see the following thread: http://old.nabble.com/flicking-problem-again-Octave-3.2.4-mingw32-td28038688.html | *From gnuplot-4.4.0, the default terminal of gnuplot for windows is the wxt terminal. Some users may set the GNUTERM environmental variable for the windows terminal being default. The gnuplot for windows allows to set GNUTERM to 'win' (abbreviated form) but octave does not recognize the abbreviated form for terminal name. If one would like set GNUTERM to windows terminal, one should specify it as 'windows' (full form) but not 'win' (abbreviated form). In detail see the following thread: http://old.nabble.com/flicking-problem-again-Octave-3.2.4-mingw32-td28038688.html | ||
Line 112: | Line 111: | ||
*Packages are archived by the 7zip. The 7zip software can be download from http://www.7-zip.org/ | *Packages are archived by the 7zip. The 7zip software can be download from http://www.7-zip.org/ | ||
Includes | ===Includes=== | ||
*GNU Octave, version 3.4.2 (i686-pc-mingw32) | *GNU Octave, version 3.4.2 (i686-pc-mingw32) | ||
Line 198: | Line 197: | ||
**zenity-0.5.7 | **zenity-0.5.7 | ||
Installation of the Octave package | ===Installation of the Octave package=== | ||
*Read readme.txt in Octave3.4.2_gcc4.5.2_20110914.7z | *Read readme.txt in Octave3.4.2_gcc4.5.2_20110914.7z | ||
*Unzip to a directory which doesn't have space chars i.e. C:\Octave\Octave3.4.2_gcc4.5.2\ keeping the directory structure in the archive. | *Unzip to a directory which doesn't have space chars i.e. <code>C:\Octave\Octave3.4.2_gcc4.5.2\</code> keeping the directory structure in the archive. | ||
*Copy octave.lnk to any convenient location and edit its properties respectively to point to octave.exe and octave.ico. | *Copy octave.lnk to any convenient location and edit its properties respectively to point to octave.exe and octave.ico. | ||
Installation of the Octave-forge packages | ===Installation of the Octave-forge packages=== | ||
*Read Octave3.4.2_gcc4.5.2_pkgs_readme.txt | *Read <code>Octave3.4.2_gcc4.5.2_pkgs_readme.txt</code>, <code>Octave3.4.2_gcc4.5.2_pkgs_changes.txt</code> in <code>Octave3.4.2_gcc4.5.2_pkgs_20110914.7z</code>. | ||
*In order to update octave_packages database and auto-load most packages (excluding 'ad' and 'windows' which may crash octave when loaded and 'clear all' is executed), launch Octave and execute: | *In order to update octave_packages database and auto-load most packages (excluding 'ad' and 'windows' which may crash octave when loaded and 'clear all' is executed), launch Octave and execute: | ||
Line 213: | Line 212: | ||
*To interactively load or unload a package | *To interactively load or unload a package | ||
pkg load <pkg_name> | pkg load <pkg_name> | ||
pkg unload <pkg_name> | pkg unload <pkg_name> | ||
*To disable auto-load for specific pkg <pkg_name> | *To disable auto-load for specific pkg <pkg_name> | ||
Line 222: | Line 220: | ||
pkg uninstall <pkg_name> | pkg uninstall <pkg_name> | ||
Notes | ===Notes=== | ||
*For details, please see http://old.nabble.com/Octave-3.4.2-mingw-%2B-octaveforge-pkgs-to32394771.html | *For details, please see http://old.nabble.com/Octave-3.4.2-mingw-%2B-octaveforge-pkgs-to32394771.html | ||
*This archive doesn't contain any editor! In order to install Notepad++ (recommended) as an editor: | *This archive doesn't contain any editor! In order to install Notepad++ (recommended) as an editor: | ||
**download the installation package from http://notepad-plus-plus.org/ | **download the installation package from http://notepad-plus-plus.org/ | ||
**install, edit <your octave dir>\share\octave\site\m\startup\octaverc | **install, edit <code><your octave dir>\share\octave\site\m\startup\octaverc</code> | ||
**un-comment the line which sets octave default editor: EDITOR('C:\\Program Files\\Notepad++\\notepad++.exe'); | **un-comment the line which sets octave default editor: | ||
EDITOR('C:\\Program Files\\Notepad++\\notepad++.exe'); | |||
*Octave Binaries are built by Tatsuro Matsuoka (http://www.tatsuromatsuoka.com/octave/Eng/Win/) | *Octave Binaries are built by Tatsuro Matsuoka (http://www.tatsuromatsuoka.com/octave/Eng/Win/) | ||
*Octave manual (octave-3.4.2.pdf.zip, octave-3.4.2.html.zip) can be | *Octave manual (<code>octave-3.4.2.pdf.zip, octave-3.4.2.html.zip</code>) can be downloaded from http://www.tatsuromatsuoka.com/octave/Eng/Win/ | ||
==Octave-3.4.3-mingw + octaveforge pkgs== | ==Octave-3.4.3-mingw + octaveforge pkgs== | ||
Line 241: | Line 240: | ||
*Packages are archived by 7zip. 7zip software can be download from http://www.7-zip.org/ | *Packages are archived by 7zip. 7zip software can be download from http://www.7-zip.org/ | ||
Includes | ===Includes=== | ||
*GNU Octave, version 3.4.3 (i686-pc-mingw32) | *GNU Octave, version 3.4.3 (i686-pc-mingw32) | ||
Line 328: | Line 327: | ||
**zenity-0.5.7 | **zenity-0.5.7 | ||
Installation of the Octave package | ===Installation of the Octave package=== | ||
*Read readme.txt in Octave3.4.3_gcc4.5.2_20111025.7z | *Read <code>readme.txt</code> in <code>Octave3.4.3_gcc4.5.2_20111025.7z</code> | ||
*Unzip to a directory which doesn't have space chars i.e. C:\Octave\Octave3.4.3_gcc4.5.2\ keeping the directory structure in the archive. | *Unzip to a directory which doesn't have space chars i.e. <code>C:\Octave\Octave3.4.3_gcc4.5.2\</code> keeping the directory structure in the archive. | ||
*Copy octave3.4.3_gcc4.5.2.lnk to any convenient location and edit its properties respectively to point to bin\octave.exe and share\octave\3.4.3\imagelib\octave-logo.ico. | *Copy <code>octave3.4.3_gcc4.5.2.lnk</code> to any convenient location and edit its properties respectively to point to <code>bin\octave.exe</code> and <code>share\octave\3.4.3\imagelib\octave-logo.ico</code>. | ||
*Copy octave3.4.3_gcc4.5.2_docs.lnk to any convenient location and edit its properties respectively to point to doc\octave and share\octave\3.4.3\imagelib\octave-logo.ico. | *Copy <code>octave3.4.3_gcc4.5.2_docs.lnk<code> to any convenient location and edit its properties respectively to point to <code>doc\octave</code> and <code>share\octave\3.4.3\imagelib\octave-logo.ico</code>. | ||
Installation of the Octave-forge packages | ===Installation of the Octave-forge packages=== | ||
*Read Octave3.4.3_gcc4.5.2_pkgs_readme.txt in Octave3.4.3_gcc4.5.2_pkgs_20111026.7z. | *Read <code>Octave3.4.3_gcc4.5.2_pkgs_readme.txt</code> in <code>Octave3.4.3_gcc4.5.2_pkgs_20111026.7z</code>. | ||
*In order to update octave_packages database and auto-load most packages (excluding 'ad' and 'windows' which may crash octave when loaded and 'clear all' is executed), launch Octave and execute: | *In order to update octave_packages database and auto-load most packages (excluding 'ad' and 'windows' which may crash octave when loaded and 'clear all' is executed), launch Octave and execute: | ||
pkg rebuild -auto | pkg rebuild -auto | ||
Line 347: | Line 346: | ||
*To interactively load or unload a package | *To interactively load or unload a package | ||
pkg load <pkg_name> | pkg load <pkg_name> | ||
pkg unload <pkg_name> | pkg unload <pkg_name> | ||
*To disable auto-load for specific pkg <pkg_name> | *To disable auto-load for specific pkg <pkg_name> | ||
Line 356: | Line 354: | ||
pkg uninstall <pkg_name> | pkg uninstall <pkg_name> | ||
Notes | ===Notes=== | ||
*This archive doesn't contain any editor! In order to install Notepad++ (recommended) as an editor: | *This archive doesn't contain any editor! In order to install Notepad++ (recommended) as an editor: | ||
**download the installation package from http://notepad-plus-plus.org/ | **download the installation package from http://notepad-plus-plus.org/ | ||
**install, edit <your octave dir>\share\octave\site\m\startup\octaverc | **install, edit <code><your octave dir>\share\octave\site\m\startup\octaverc</code> | ||
**un-comment the line which sets octave default editor: EDITOR('C:\\Program Files\\Notepad++\\notepad++.exe'); | **un-comment the line which sets octave default editor: | ||
EDITOR('C:\\Program Files\\Notepad++\\notepad++.exe'); | |||
Octave Binaries are built using Tatsuro Matsuka OctaveLibs | Octave Binaries are built using Tatsuro Matsuka OctaveLibs.zip and gplibs.zip (http://www.tatsuromatsuoka.com/octave/Eng/Win/) | ||
=Octave on Cygwin= | =Octave on Cygwin= | ||
== Octave 3.4.2 on cygwin== | == Octave 3.4.2 on cygwin== | ||
'''Web-Site:''' http://cygwin.com | *'''Web-Site:''' http://cygwin.com | ||
'''Maintainer:''' Marco Atzeri | *'''Maintainer:''' Marco Atzeri | ||
'''Latest release:''' 2011-10-03 | *'''Latest release:''' 2011-10-03 | ||
*octave 3.4.2-3 | *octave 3.4.2-3 | ||
Line 376: | Line 375: | ||
*:On Cygwin 1.7.9-1 the communication between octave and gnuplot is broken due to a cygwin bug. Please use a cygwin snapshot or 1.7.8-1 until cygwin-1.7.10-1 is released. Cygwin 1.7.8-1 is reported to currently work, but snapshots have notable performance improvements, so they are recommended. | *:On Cygwin 1.7.9-1 the communication between octave and gnuplot is broken due to a cygwin bug. Please use a cygwin snapshot or 1.7.8-1 until cygwin-1.7.10-1 is released. Cygwin 1.7.8-1 is reported to currently work, but snapshots have notable performance improvements, so they are recommended. | ||
Notes | ===Notes=== | ||
*To install a cygwin snapshot: | *To install a cygwin snapshot: | ||
**download cygwin1-20111020.dll.bz2 (current last) from http://cygwin.com/snapshots/ | **download <code>cygwin1-20111020.dll.bz2</code> (current last) from http://cygwin.com/snapshots/ | ||
bunzip2 cygwin1-20111020.dll.bz2 | bunzip2 cygwin1-20111020.dll.bz2 | ||
cp cygwin1-20111020.dll cygwin1.dll | cp cygwin1-20111020.dll cygwin1.dll | ||
cp /bin/cygwin1.dll /bin/cygwin1.dll_backup | cp /bin/cygwin1.dll /bin/cygwin1.dll_backup | ||
**exit all cygwin processes and from windows explorer | **exit all cygwin processes and from windows explorer | ||
**copy the cygwin1.dll snapshot to | **copy the cygwin1.dll snapshot to | ||
Line 389: | Line 387: | ||
(or in the equivalent directory of your cygwin installation). | (or in the equivalent directory of your cygwin installation). | ||
*Graphics is based on X, so to plot you need to start octave within xterm (or similar). | *Graphics is based on X, so to plot you need to start octave within xterm (or similar). | ||
*A new fltk graphics_toolkit is available, and the crash on "print" issue was solved on 3.4.2-3 using the patch proposed here: | *A new fltk graphics_toolkit is available, and the crash on "print" issue was solved on 3.4.2-3 using the patch proposed here: https://savannah.gnu.org/bugs/index.php?31641 | ||
*If a dlls collision arise, the correct invocation of the rebase utility within dash shell is: | *If a dlls collision arise, the correct invocation of the rebase utility within dash shell is: | ||
rebaseall -s "dll|so|oct" | rebaseall -s "dll|so|oct" | ||
:as octave dll's use unexpected ".oct" suffix for its own extension. | |||
*For general build notes, see | *For general build notes, see <code>etc/README.Cygwin</code>. | ||
*When building from development source (default branch) | *When building from development source (default branch) | ||
"make check" | "make check" | ||
:passes almost all the tests. | |||
:Only, and not substantial, failures are: | |||
/pub/hg/octave/src/data.cc : 8 failures due to different handling of complex Inf on sort | /pub/hg/octave/src/data.cc : 8 failures due to different handling of complex Inf on sort | ||
/pub/hg/octave/src/syscalls.cc: 1 failure on fork. This disappears when octave is installed | /pub/hg/octave/src/syscalls.cc: 1 failure on fork. This disappears when octave is installed | ||
Line 415: | Line 412: | ||
$ cygport octave-3.4.2-3.cygport almostall | $ cygport octave-3.4.2-3.cygport almostall | ||
:see cygport documentation for further info. | |||
*currently octave depends on the following packages | *currently octave depends on the following packages |