Bug 317 - LinuxSampler reports /var/lib/linuxsampler as instrument DB directory even if it's installed with prefix
Summary: LinuxSampler reports /var/lib/linuxsampler as instrument DB directory even if...
Status: NEW
Alias: None
Product: LinuxSampler
Classification: Unclassified
Component: other (show other bugs)
Version: 2.0.0
Hardware: PC Linux
: P5 enhancement
Assignee: Christian Schoenebeck
URL:
Depends on:
Blocks:
 
Reported: 2021-11-23 20:26 CET by Del Vento
Modified: 2021-11-26 13:25 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Del Vento 2021-11-23 20:26:44 CET
Note: this might be related to https://bugs.linuxsampler.org/cgi-bin/show_bug.cgi?id=315

Looking at the install-data-local Makefile target, ilt looks like DESTDIR is supported for installing the DB in non-global locations. With the workaround of bug #315 that succeeds, however LinuxSampler still attempt to use the global location as follows:

$ telnet localhost 8888
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
LIST DB_INSTRUMENT_DIRECTORIES '/'
ERR:0:Instruments DB directory '/var/lib/linuxsampler' does not exist!
Comment 1 Christian Schoenebeck 2021-11-26 13:25:16 CET
Like already explained in #315, the problem is that there is currently no distinguishing between a temporary installation directory and final installation directory for the instruments DB.