FS#47763 - [octave] please compile with Java support
Attached to Project:
Arch Linux
Opened by Pascal Dupuis (_CdeMills_) - Friday, 15 January 2016, 08:17 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 25 February 2018, 12:08 GMT
Opened by Pascal Dupuis (_CdeMills_) - Friday, 15 January 2016, 08:17 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 25 February 2018, 12:08 GMT
|
Details
Description: Octave package is not compiled with Java
support
I need to process a lot of data in xslx files; I open them with the 'io' package, function 'xlsread', using the Apache POI interface. I rebuilt Octave with Java support, which is not that complicated but long. Maybe another package with a static java dependency should be created ? Additional info: * package version(s) octave 4.0.0-7 * config and/or log files etc. Steps to reproduce: At compile time, the 'configure' script only enable Java if there is an environment variable "JAVA_HOME" under which it can find "libjvm.so". To enable java, the steps are: 1) install it: pacman -Suy jdk8-openjdk 2) export JAVA_HOME=/usr/lib/jvm/java-8-openjdk 3) compile as usual in PKGBUILD, this implies: 1) add 'jdk8-openjdk' to the dependencies 2) change the build step: ./configure --prefix=/usr --libexecdir=/usr/lib \ becomes env JAVA_HOME=/usr/lib/jvm/java-8-openjdk ./configure --prefix=/usr --libexecdir=/usr/lib \ Regards Pascal |
This task depends upon
Closed by Antonio Rojas (arojas)
Sunday, 25 February 2018, 12:08 GMT
Reason for closing: Implemented
Additional comments about closing: octave 4.2.1-9
Sunday, 25 February 2018, 12:08 GMT
Reason for closing: Implemented
Additional comments about closing: octave 4.2.1-9
However this cannot be a replacement solution, since archlinux supports both jre7 and jre8 at the moment. And there is no way to tell what the user may have in his system. A more logical and cleaner way would be to offer 2 separate packages like octave-jre7 and octave-jre8.