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

Suggestion on enhancing installation-related parameter values #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Suggestion on enhancing installation-related parameter values #81

wants to merge 1 commit into from

Conversation

QubitPi
Copy link

@QubitPi QubitPi commented Dec 10, 2017

On linux, if we default PREFIX to /usr/local in Makefile.base, then user can invoke all MDBM command-line tools anywhere right after make install. Whereas if we use PREFIX ?= /tmp/install, auto-complete command using tab is not working.

A Troubleshooting section is added to README.build to make it easier for user to install MDBM.

@QubitPi QubitPi mentioned this pull request Dec 10, 2017
@hawk259
Copy link

hawk259 commented Nov 12, 2018

Can you update PR so it builds with current code? Thanks!

@timrc-git
Copy link

timrc-git commented Mar 22, 2020

Hi @QubitPi if you do something like:
PREFIX=/usr/local/ make
You'll get what you want.
The whole point of VAR ?= value vs VAR = value is that the former only sets the value if it's not already set. So that block of conditional sets that you changed was to allow overrides from the commandline. e.g. PREFIX=/usr/local PERL_PREFIX=/opt make would let you install most things to /usr/local, but put the perl stuff in /opt.

Note: I added the other changes to timrc-git/mdbm.

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

Successfully merging this pull request may close these issues.

None yet

3 participants