wdsp icon indicating copy to clipboard operation
wdsp copied to clipboard

make sure /usr/local/include/ exists as a directory when installing

Open human-blip opened this issue 4 years ago • 4 comments

The first time I built and installed wdsp I got caught by that fact that - for some reason - /usr/local/include was not present so the copy of wdsp.h didn't work as expected. The thing is I didn't notice until I tried to build linhdspr and /usr/local/include wdspr.h could not be found.

Makefile.diff.txt

human-blip avatar Jul 26 '20 09:07 human-blip

What Linux distribution are you using?

g0orx avatar Jul 26 '20 11:07 g0orx

debian buster

human-blip avatar Jul 27 '20 03:07 human-blip

I have tried the latest Debian Buster install and it does have /usr/local/include, /usr/local/lib and /usr/local/bin, so not sure why you had this problem. I am not aware of any distribution that does not have /usr/local and it's sub directories.

g0orx avatar Jul 27 '20 08:07 g0orx

Yes it took me by surprise as well. Not sure how it happened. In any case adding the trailing / to the cp would force an error if the directory is not present rather than failing silently.

human-blip avatar Jul 27 '20 10:07 human-blip