mtytel / vital

Spectral warping wavetable synth
GNU General Public License v3.0
1.58k stars 151 forks source link

build system hardcodes /usr as installation path #5

Open Be-ing opened 3 years ago

Be-ing commented 3 years ago

There does not seem to be any way to specify where to install the build.

Be-ing commented 3 years ago

Fixed in my fork: https://github.com/Be-ing/vital/tree/build_system

magnetophon commented 3 years ago

@mtytel Thanks a ton for open sourcing Vital!

@Be-ing Thanks for the build fix. When I try to build that branch, I get:

make[1]: Entering directory '/build/source/standalone/builds/linux'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/build/source/standalone/builds/linux'
install -d /usr/share/icons/hicolor//16x16/apps /usr/share/icons/hicolor//22x22/apps /usr/share/icons/hicolor//24x24/apps /usr/share/icons/hicolor//32x32/apps
install: cannot create directory '/usr': Permission denied

I am building commit adfe8804c943a5124fc9990c1341b2ca37457c6c and I have DESTDIR set.

taylordotfish commented 3 years ago

@magnetophon If you're still having trouble, you might want to try my fork of Vital, which, among various fixes, uses /usr/local as the default installation prefix and allows it to be configured via the PREFIX variable, and also disables the install_icons target from running automatically.

magnetophon commented 3 years ago

@taylordotfish Thanks, compiling as we speak!