On 2/17/25 7:27 PM, Troels Arvin wrote:
Ubuntu 24 ships mapserver 8. My mapserver 7 package's binaries should still be called "mapserv" 
etc, not "mapserv7". So I want the binaries of my deb package to live in /usr/mapserver7, such that 
"mapserv" exists as /usr/mapserver7/bin/mapserv.

That's a very unusual prefix. I suggest to use /usr/local as that it's the 
library search path by default.

You need to replace the /usr prefix in d/rules (-DCMAKE_INSTALL_PREFIX=/usr & 
-DINSTALL_LIB_DIR="/usr/lib/$(DEB_HOST_MULTIARCH)") and all debian/*.install files.

You also need to rename the packages to make them co-installable, but if you 
don't need to have both installed, don't bother changing the prefix and just 
make an unofficial backport of the mapserver 7 package for your distro.

Kind Regards,

Bas

--
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

Reply via email to