Hi Søren,
Op Di, 21 december, 2010 11:48 pm schreef Søren Hauberg:
> tir, 21 12 2010 kl. 23:39 +0100, skrev Philip Nienhuis:
>> Currently I cannot get the Java package compiled with octave-3.3.54+
>> (many octave-forge io functions depend on Java). That has to be resolved
>> first before I can test the octave-forge io package with 3.4 release
>> candidates.
>
> Philip, can you test with the current SVN version of the 'java' package?
> I've just made some changes that allows me to compile it with 3.3.54+.
Sorry, I couldn't keep my promise to check last week, I had only little
time for experiments.
What I did:
I downloaded a GNU tarball from SVN (not ideal, but it always worked
before) *)
It didn't compile at all first; it turned out I had to add "configure"
into ./src from another java-1.2.8 pkg I had lying around (actually one
that Martin Hepperle sent me and that installed OK).
Then, on my laptop's Mandriva 2010.1, using OpenJDK 1.6.0.0, the pkg
compiles fairly clean (I couldn't spot any compile errors and/or warnings)
and it installed w/o a hitch:
octave-3.3.54+:10> pkg list
Package Name | Version | Installation directory
--------------+---------+-----------------------
java *| 1.2.8 | /usr/local/share/octave/packages/java-1.2.8
octave-3.3.54+:11>
But....
On restarting Octave-3.3.54+, I get:
error:
/usr/local/libexec/octave/packages/java-1.2.8/i686-pc-linux-gnu-api-v42+/__java__.oct:
failed to load:
/usr/local/libexec/octave/packages/java-1.2.8/i686-pc-linux-gnu-api-v42+/__java__.oct:
undefined symbol: _ZNK17octave_base_value14function_valueEb
error: ignoring octave_execution_exception while preparing to exit
[r...@jvc741 octave-forge]#
(BTW I need root acess to install into /usr/local/...)
Subsequent use of java pkg functions (javaclasspathm, javamem.m) yield the
same errors.
It may be due using to OpenJDK rather than Sun Java. But previous package
versions ran OK w OpenJDK.
Only after New Years Eve I'll have a bit more time (& Internet access) to
look into this.
*) Currently I do not know how to download a proper pkg from svn (Tortoise
SVN complains about the URL when I try a check out).
Perhaps you can send me your patched java pkg, if you think that will be
cleaner?
Thank you & best wishes for 2011,
Philip
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev