Bug 317

Summary: LinuxSampler reports /var/lib/linuxsampler as instrument DB directory even if it's installed with prefix
Product: LinuxSampler Reporter: Del Vento <delvento>
Component: otherAssignee: Christian Schoenebeck <cuse>
Status: NEW ---    
Severity: enhancement    
Priority: P5    
Version: 2.0.0   
Hardware: PC   
OS: Linux   

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.