-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux Packaged Installation Process #138
Comments
Sharing this, in case you haven’t seen it: |
So I'm looking through platforms supported by LabVIEW 2017 and up and we need an rpm and deb for them. I'm going to exclude RHEL 6 as it feels very out of date by this stage. So The lowest glibc requirement for an rpm target is 2.17 on RHEL/Centos 7 and this should be compatible with the oldest supported OpenSuse (glibc 2.19 on 42.1). So for RPM build a centos7 container is probably ideal. Ubuntu is more straightforward given a single supported distro so we will build a debian package against Ubuntu 18. I probably need to start manually and test against these old versions manually to confirm the process. Then integrate it as CI stages to build and capture the deb and rpm for the vipm build. |
Wow cargo-deb is really as simple as advertised. Looks like cargo-generate-rpm (https://github.com/cat-in-136/cargo-generate-rpm) is the answer for rpm distros. I had hoped as it doesn't use the native tools that it might run on any distro but not having any luck with it under ubuntu. Either way all of the older systems are rpm based anyway so likely we will have to run two build processes for packaging. |
OK made some good progress on this but got bogged down in NI/Linux issues and may not be able to pick it up until next week.
|
Running into permissions issues as if LabVIEW is already running it isn't sudo - with community edition I've found running as root causes activation issues. Probably for the first release we can just point Linux users to the package files on github. It actually makes a little more sense anyway as you may need multiple library installs to one proxy install. |
For v3.0.0 I'm going to propose an install from source for the main G-CLI proxy so that isn't delaying things while I work out supporting packaging across supported distros.
We will need to install ourselves though and use a .deb and .rpm package as options. The install process can probably just run like the MSI process for Windows.
The text was updated successfully, but these errors were encountered: