Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make 4.3 gives white space warning #234

Open
psd opened this issue Aug 21, 2024 · 0 comments
Open

Make 4.3 gives white space warning #234

psd opened this issue Aug 21, 2024 · 0 comments
Assignees

Comments

@psd
Copy link
Member

psd commented Aug 21, 2024

$ make
Makefile:12: extraneous text after 'else' directive

$ make --version
GNU Make 4.3
Built for x86_64-pc-linux-gnu

Also the SPATIAL to find the shared library installed might not work in the way intended:

SPATIAL := $(shell ls /usr/lib/x86_64-linux-gnu/*spatialite* 2> /dev/null)

There's always more than one file matching that pattern, more on a machine that's been updated:

$ ls /usr/lib/x86_64-linux-gnu/*spatialite*
/usr/lib/x86_64-linux-gnu/libspatialite.so.8	  /usr/lib/x86_64-linux-gnu/mod_spatialite.so	 /usr/lib/x86_64-linux-gnu/mod_spatialite.so.8.1.0
/usr/lib/x86_64-linux-gnu/libspatialite.so.8.1.0  /usr/lib/x86_64-linux-gnu/mod_spatialite.so.8

Suggest replacing the wildcard with just mod_spatialite.so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants