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

OSX: Make install assumes system has a root group #18

Closed
tmcw opened this issue Oct 29, 2013 · 3 comments
Closed

OSX: Make install assumes system has a root group #18

tmcw opened this issue Oct 29, 2013 · 3 comments

Comments

@tmcw
Copy link

tmcw commented Oct 29, 2013

libosmium➟ make install
install -m 755 -g root -o root -d /usr/include
install: root: Invalid argument
make: *** [install] Error 67

Seems that this is the issue that blocks installing currently on OSX

@tmcw
Copy link
Author

tmcw commented Oct 29, 2013

Hacky changes that made installing work for me: https://gist.github.com/tmcw/7223147

@joto
Copy link
Member

joto commented Oct 30, 2013

Is 'wheel' the group with id 0 on Mac? Is 'wheel' the group things are normally installed under on Mac?

We could use "-g 0" then to do the install with whatever group has id 0. On Linux systems that is root.

@tmcw
Copy link
Author

tmcw commented Oct 30, 2013

Yes, looks like wheel is the default for BSD systems https://github.com/weiss/original-bsd/blame/master/etc/group

@joto joto closed this as completed in 6e92f6c Oct 30, 2013
almccon added a commit to almccon/osmium that referenced this issue Apr 7, 2014
joto added a commit to joto/osmium that referenced this issue Apr 8, 2014
ernstki added a commit to ernstki/symlinks that referenced this issue Sep 24, 2021
- MANDIR was not a directory before; now it is

- macOS has no "root" group, and -g/-o are rarely needed anyway

  - hat tip to osmcode/libosmium#18

- fairly-recent macOS (Mojave) still does not have 'install -D' so do
  'install -d' explicitly for the parent directories, particularly for
  'man8', since that probably won't exist in most people's
  /usr/local/share/man to begin with
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants