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

Use of 'install' is specific to GNU implementation, so fails on macOS #17

Open
duncanmmacleod opened this issue Aug 24, 2021 · 4 comments

Comments

@duncanmmacleod
Copy link

This usage of the install command in Makefile relies on the -D flag only available in the GNU implementation, so this fails by default on macOS:

install -D -m 444 60-osg.conf $(DESTDIR)/etc/cvmfs/default.d
install -D -m 444 config-osg.opensciencegrid.org.conf $(DESTDIR)/etc/cvmfs/config.d
install -D -m 444 opensciencegrid.org.pub $(DESTDIR)/etc/cvmfs/keys/opensciencegrid.org

Is there a chance to update the calls to work with all implementations?

@DrDaveD
Copy link
Collaborator

DrDaveD commented Aug 24, 2021

Sure, that could be done. Do you want to submit a PR? Install is just a convenience tool and everything it does can be done by other shell commands, I believe.

Does the rest of cvmfs work on macOS well, though? I doubt cvmfs-x509-helper has been ported, for instance.

@b4rlw
Copy link

b4rlw commented Mar 8, 2022

By simply removing the -D flags from the Makefile, things seem to install and work as expected for me on macOS Monterey 12.2.1.

@DrDaveD
Copy link
Collaborator

DrDaveD commented Mar 8, 2022

Ok but will it work without -D on Linux? Looks like what it does is mkdir -p $(dirname dest) so that could be separately implemented.

@b4rlw
Copy link

b4rlw commented Mar 8, 2022

Not sure! I've never had to use cvmfs on Linux before, so I'll leave that one to the better informed.

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

3 participants