Products > Test Equipment
Open source lxi-tools and liblxi v1.0 released for GNU/Linux
crispus:
Do you have /var or /tmp as symbolic link?
lundmar:
--- Quote from: ralphrmartin on December 25, 2017, 05:32:54 pm ---I'm using
GNU/Linux testing Stretch
and
snap 2.21-2+b1
I've realised that testing with Stretch is now a bit outdated, so have changed just to testing. Having done that, all seems OK. :-+
--- End quote ---
Good :)
--- Quote from: ralphrmartin on December 25, 2017, 05:32:54 pm ---Oops, spoke too soon. While snap install worked OK, I now get
bash: lxi: command not found
Am I doing something silly?
--- End quote ---
I don't think so. Actually, the snap binaries are prefixed with the name of the snap. So in case of lxi-tools the lxi binary is named "lxi-tools.lxi". However, the lxi-tools snap recently gained support for adding the automatic alias lxi -> lxi-tools.lxi when installing so the lxi command should just work.
You can list the installed aliases like so:
--- Code: ---snap aliases
--- End code ---
If the alias is not listed you can install it manually:
--- Code: ---snap alias lxi-tools.lxi lxi
--- End code ---
You might also consider using Debian stable. I mean, Debian testing can include broken stuff :)
lundmar:
FYI - lxi-tools was recently picked up by a Debian package maintainer so I expect to see it available in Debian stable in about 1 year or so :)
Of course, it will be available in unstable/testing long before that.
ralphrmartin:
Hmm
snap aliases
gives
Command Alias Notes
lxi-tools.lxi lxi -
so that does not seem to be the problem.
Neither /var nor /tmp are aliases.
snap version
now gives
snap version
snap 2.27.6-2
snapd 2.27.6-2
series 16
debian unknown
kernel 4.13.0-1-amd64
Any either ideas on how to get this to run? Even trying to run it as root gives permission errors - and it is not on my path...
lundmar:
--- Quote from: ralphrmartin on December 26, 2017, 10:09:24 pm ---Hmm
snap aliases
gives
Command Alias Notes
lxi-tools.lxi lxi -
so that does not seem to be the problem.
Neither /var nor /tmp are aliases.
snap version
now gives
snap version
snap 2.27.6-2
snapd 2.27.6-2
series 16
debian unknown
kernel 4.13.0-1-amd64
Any either ideas on how to get this to run? Even trying to run it as root gives permission errors - and it is not on my path...
--- End quote ---
The permission denied errors are likely somehow related to the fact that snaps are running in security confinement. You can try disable this confinement like so:
--- Code: ---$ snap refresh lxi-tools --devmode
--- End code ---
Or
--- Code: ---$ snap refresh lxi-tools --classic
--- End code ---
Either way, I think your best option is to use Debian stable since it includes the latest snap version (2.29.x) which is tested to work.
However, if you don't feel like distro downgrading/upgrading you can always compile and install it manually from source as described in the top post of this thread (see e.g. git build steps).
If you feel brave I have also attached the pre-release .deb packages that I got from the Debian maintainer - I have tested them with Debian 9.3.
P.s. If you get it up and running feel free to let us know what specific instruments you might have tested successfully. Thanks.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version