octave-maintainers
[Top][All Lists]
Advanced

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

Re: Mingw Octave-3.4.3 binaries for testing on windows


From: PhilipNienhuis
Subject: Re: Mingw Octave-3.4.3 binaries for testing on windows
Date: Sun, 23 Oct 2011 06:54:34 -0700 (PDT)

Hi Nitzan:


nitnit wrote:
> 
> nitnit wrote:
> <snip>
>   > 2. Did you also include the (some, or all) Java class libs required
> for
> spreadsheet I/O?
>   >    If not, perhaps you can make a note in the README about where these
> can be downloaded.
>   >    Benjamin included them in the 3.2.4 MinGW binary; they have
> GPL-compatible licenses.
> 
> I haven't tested the io functions so I have not noticed that there are
> missing jars. I will add them.
> 

For your convenience, or perhaps for inclusion in the pkgs README (at your
discretion):

The relevant jar files are these:

* Apache POI (for .xls I/O), see:  http://poi.apache.org/download.html
  poi-3.7-20101029.jar
  poi-ooxml-3.7-20101029.jar
  poi-ooxml-schemas-3.7-20101029.jar
-plus-
  dom4j-1.6.1.jar   (http://sourceforge.net/projects/dom4j/files/dom4j/)
  xbean.jar   (part of xmlbeans,
http://apache.xl-mirror.nl/xmlbeans/binaries/)

* JExcelAPI (for .xls I/O, also BIFF5)
  jxl.jar  (http://sourceforge.net/projects/jexcelapi/files/jexcelapi/)

* OpenXLS (.xls I/O, though writing xls with OXS, while implemented, has
been disabled due to bugs in OpenXLS itself so perhaps OpenXLS may not be
useful enough to be included. Yet for .xls *reading* OpenXLS is the fastest
Java (~cross-platform) option)
  OpenXLS-6.0.6.jar   (http://sourceforge.net/projects/openxls/)

* ODF Toolkit (for .ods I/O)
  odfdom-java-0.8.7.jar  (http://odftoolkit.org/projects/odfdom/pages/Home)
  xercesImpl.jar   (http://xerces.apache.org/mirrors.cgi#binary). WATCH OUT
here, the newest version (Nov 26, 2010) doesn't work, an older version (Sep
14, 2007) works OK. A bit typical of the unstable situation of ODF Toolkit
:-( 

* jOpenDOcument (for .ods I/O)
  jOpenDocument-1.2.jar  (http://www.jopendocument.org/downloads.html)


If you do include them (~18 MB extra in the pkgs download), I'd suggest to
also add a section on java.opts (to increase the Java JVM memory allocation)
and classpath.txt  (to set the Java search path):

File "java.opts" can be put in the /share/.../java-1.2.8 subdir, or in the
user's home dir, and might contain just the line:
-Xmx512m

(here setting the default JVM to max 512 MB, to avoid out-of-memory errors
with large spreadsheets)


File classpath.txt can also be put in the user's home dir, or in the java
pkg script file dir (share/.../java-1.2.8/ ) 
Contents of file "classpath.txt":  (Note: Adapt path settings to your
system!)

X:\Octave\Octave3.4.3_gcc4.5.2\lib\poi-3.7-20101029.jar
X:\Octave\Octave3.4.3_gcc4.5.2\lib\poi-ooxml-3.7-20101029.jar
X:\Octave\Octave3.4.3_gcc4.5.2\lib\xbean.jar
X:\Octave\Octave3.4.3_gcc4.5.2\lib\poi-ooxml-schemas-3.7-20101029.jar
X:\Octave\Octave3.4.3_gcc4.5.2\lib\dom4j-1.6.1.jar
X:\Octave\Octave3.4.3_gcc4.5.2\lib\jxl.jar
X:\Octave\Octave3.4.3_gcc4.5.2\lib\OpenXLS-6.0.6.jar
X:\Octave\Octave3.4.3_gcc4.5.2\lib\odfdom-java-0.8.7.jar
X:\Octave\Octave3.4.3_gcc4.5.2\lib\xercesImpl.jar
X:\Octave\Octave3.4.3_gcc4.5.2\lib\jOpenDocument-1.2.jar

This will load the java class libs required for spreadsheet I/O in the
static javaclasspath.

Alternatively, the io pkg function "chk_spreadsheet_support.m" can do this
too but then in the dynamic javaclasspath.




>   > 3. In the packages README, please also mention to do a pkg rebuild
> -noauto oct2mat.
>   >    oct2mat is known to severely affect Octave operation, a.o.,
> plotting.
> 
> I have experienced the oct2mat effect on octave plotting with Benjamins
> 3.2.4 version. I have not experienced any such plotting problems with
> oct2mat with Octave 3.4.2/3.4.3, at least on the two machines I am using.
> 
> On win7-64bit octave loading and plotting is faster than on XP-SP3 but
> even
> on my XP-SP3 machine the slow plotting response is not effected by
> oct2mat.
> 
> Have you or anyone else experienced such problems (with octave 3.4.2 or
> 3.4.3) that are effected by oct2mat ?
> 

The help-octave ML is sprinkled with posts of people who got trapped by
this.
oct2mat really is only useful for porting Octave code to ML, I really think
it is better to have it unloaded by default.


Thanks,

Philip

--
View this message in context: 
http://octave.1599824.n4.nabble.com/Mingw-Octave-3-4-3-binaries-for-testing-on-windows-tp3928387p3930336.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.


reply via email to

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