Octave for Microsoft Windows: Difference between revisions

Line 678: Line 678:


=Octave on Cygwin=
=Octave on Cygwin=
== Octave 3.6.4 on cygwin==
== Octave 3.8.1 on cygwin==


*'''Web-Site:''' http://cygwin.com  
*'''Web-Site:''' http://cygwin.com  
*'''Maintainer:''' Marco Atzeri  
*'''Maintainer:''' Marco Atzeri  
*'''Latest release:''' 2013-02-23
*'''Latest release:''' 2014-03-17


*Latest packages:
*Latest packages:
:octave-3.6.4-1
 
:octave-forge-octave-forge-20130223-1
:octave-3.8.1-1
:Its announce on cygwin mailing list[http://cygwin.com/ml/cygwin-announce/2014-03/msg00009.html]
 
:octave-forge is not anymore monolithic but splitted in the several package
:Its announce on cygwin mailing list[http://cygwin.com/ml/cygwin-announce/2014-02/msg00017.html]


*To install :  
*To install :  
Line 696: Line 700:
:  These 2 package will pull all the functional Xserver.  
:  These 2 package will pull all the functional Xserver.  
:  Otherwise the only graphics will be ASCI art ;-)
:  Otherwise the only graphics will be ASCI art ;-)
*The fltk graphics_toolkit is available, but due to a bug in Xserver WGL (MS integrated OpenGL implementation)
:  as reported
:  https://mailman.cae.wisc.edu/pipermail/help-octave/2013-June/059461.html
:you have two choices, for a full functional graphics:
: 1) use the gnuplot graphics_toolkit
: 2) run the Xserver with "Xwin -multiwindow -nowgl"
: Number 1 is current default


===Notes===
===Notes===
*Not needed anymore, but just in case you want to try one cygwin snapshot.
:HOWTO install a cygwin snapshot:
:download <code>cygwin1-20130619.dll.bz2</code> (current last) from http://cygwin.com/snapshots/
    bunzip2 cygwin1-20130619.dll.bz2
    cp cygwin1-20130619.dll cygwin1.dll
    cp /bin/cygwin1.dll /bin/cygwin1.dll_backup
:exit all cygwin processes and from windows explorer
:copy the cygwin1.dll snapshot to
    c:\cygwin\bin
    (or in the equivalent directory of your cygwin installation).
*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.  
:passes almost all the tests.  
:Only, and not substantial, failures are:
:Only, and not substantial, failures are:
     /pub/hg/octave/src/data.cc : 8 failures due to different handling of complex Inf on sort
     <nowiki>/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
     /pub/hg/octave/scripts/sparse/svds.m: 1 failure due to test sensitivity on starting point. See  
     /pub/hg/octave/scripts/sparse/svds.m: 1 failure due to test sensitivity on starting point. See  
     https://mailman.cae.wisc.edu/pipermail/octave-maintainers/2011-September/024715.html
     https://mailman.cae.wisc.edu/pipermail/octave-maintainers/2011-September/024715.html</nowiki>


*To build from cygwin source package, you need to install "cygport" and the relevant development libraries
*To build from cygwin source package, you need to install "cygport" and the relevant development libraries
    $ tar -xvjf octave-3.6.4-1-src.tar.bz2
    <nowiki>$ tar -xvjf octave-3.8.1-1-src.tar.bz2  
    gl2ps-print.patch
    $ cygport octave-3.8.1-1.cygport almostall</nowiki>
    octave-3.6.4-1.cygport
    octave-3.6.4-1.cygwin.patch
    octave-3.6.4-1.src.patch
    octave-3.6.4.tar.bz2
 
    $ cygport octave-3.6.4-1.cygport almostall


:see cygport documentation for further info.
:see cygport documentation for further info.
22

edits