Bug 232 - make install ignores --prefix when trying to install instruments db
Summary: make install ignores --prefix when trying to install instruments db
Alias: None
Product: LinuxSampler
Classification: Unclassified
Component: other (show other bugs)
Version: SVN Trunk
Hardware: PC Linux
: P5 normal
Assignee: Christian Schoenebeck
Depends on:
Reported: 2014-12-07 15:57 CET by Cedric
Modified: 2019-03-10 17:35 CET (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Cedric 2014-12-07 15:57:58 CET
*** LinuxSampler was compiled with instruments DB support and
*** /var/lib/linuxsampler/instruments.db
*** doesn't exist yet, creating it now:
mkdir: cannot create directory ‘/var/lib/linuxsampler’: Permission denied

Although a --prefix was given
Comment 1 Christian Schoenebeck 2019-03-10 17:35:08 CET
The --prefix argument is usually used for specifying the location where the application itself (and its libs and static data) shall be installed to (static application data). This is behaving correctly and in fact is used for many years for packaging the sampler for various distros.

The error you got is the location of the instrument's data base, which is storing the location and meta info of all the user's sounds. So these are pure user data which is dynamically changing. That has nothing to do with the --prefix argument.

You already do have the option though to override the instrument's DB location both at compile time ("./configure --enable-default-instruments-db-location=/some/where/instruments.db") or at runtime when launching the sampler (--instruments-db-location, see "man linuxsampler").

So as far as I can see it, this seems to be behave correctly already and I'm going to close this report due to that reason.