[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60054] feature request: package install with
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #60054] feature request: package install with dependency on java. |
Date: |
Mon, 1 Mar 2021 08:25:36 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.81 |
Follow-up Comment #7, bug #60054 (project octave):
I agree with you that the package manager should probably manage dependencies
between different packages. But Java is no package. It is a different
software.
Other packages depend on some libraries. These library dependencies aren't
managed in the package file either. Some packages use configure scripts to
detect these libraries.
Like Philip already wrote, Java is not bundled with Octave (like it is with
Matlab). It is easy to switch to a different Java version in Octave. If your
package depends on some Java version, it makes much more sense to check that
at runtime (in the PKG_ADD script) instead of at package installation time.
If you need help in figuring out which code you need to write for your PKG_ADD
script, I'm sure there are people that can be helpful (maybe including
myself).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60054>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/