Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

configure: locate: invalid option -- n on MacOS X #844

Closed
invenio-developers opened this Issue · 1 comment

1 participant

invenio-developers
invenio-developers
Collaborator

Originally by adeiana (@Osso) on 2011-11-09

When running the configure script, we can see this error:

checking for OpenOffice.org Python binary... locate: invalid option -- n
Usage: locate [-d path | --database=path] [-e | -E | --[non-]existing]
[-i | --ignore-case] [-w | --wholename] [-b | --basename]
[--limit=N | -l N] [-S | --statistics] [-0 | --null] [-c | --count]
[-P | -H | --nofollow] [-L | --follow] [-m | --mmap ] [ -s | --stdio ]
[-A | --all] [-p | --print] [-r | --regex ] [--regextype=TYPE]
[--max-database-age D] [--version] [--help]
pattern...

It seems the option -n is named --limit on MacOS.

invenio-developers
Collaborator

Originally by Tibor Simko tibor.simko@cern.ch on 2011-11-15

In [93a082e]:

#CommitTicketReference repository="" revision="93a082ea6c671c584089b902817bf6f97374a5b8"
installation: fix 'locate' call

- Use 'locate -l' instead of 'locate -N' for Mac OS compatibility.
  (closes #844)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.