Skip to content

'make install' ignores --prefix for installing the man page #2984

Closed

Description

@SimonSapin

Hi,

Using today’s master from git, I’m running:

./configure --prefix /home/simon/non-packages
make  # fails for some reason
make  # succeeds
make install # without sudo

make fails the first time with this output: http://nopaste.info/d3df650be4.html , but finishes without error the second time. I’m told on IRC that that issue is already reported (edit: #2641).

This issue is with make install. It ignores the prefix and tries (and fails, since I’m not root) to create /usr/local/share/man/man1. It should write to /home/simon/non-packages/share/man/man1 instead.

Activity

  1. SimonSapin commented on Jul 21, 2012

    @SimonSapin
    ContributorAuthor

    I tried to trick Make with a symlink, but now it tries to write to /usr/local/bin/rustc. It appear to ignore the prefix completely.

  2. SimonSapin commented on Jul 21, 2012

    @SimonSapin
    ContributorAuthor

    It worked with --prefix=foo (which is indeed how it appears in the --help message) instead of --prefix foo. My fault for not reading carefully enough, although it would be nice to have both work.

  3. nikomatsakis commented on Jul 23, 2012

    @nikomatsakis
    Contributor

    Seems like the bug has more to do with command-line parsing than installation. Closing the issue.

  4. nikomatsakis commented on Jul 23, 2012

    @nikomatsakis
    Contributor

    I was going to open a bug for support --prefix arg, except that near as I can tell --prefix=arg is the standard form and --prefix arg is not normally accepted in other configure scripts.

  5. added a commit that references this issue on Jul 23, 2023
  6. added a commit that references this issue on Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions