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

Staged installation of 3.10beta #4225

Closed
vicuna opened this issue Mar 11, 2007 · 1 comment
Closed

Staged installation of 3.10beta #4225

vicuna opened this issue Mar 11, 2007 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Mar 11, 2007

Original bug ID: 4225
Reporter: gerd
Assigned to: ertai
Status: closed (set by @xavierleroy on 2009-03-31T11:06:07Z)
Resolution: fixed
Priority: high
Severity: minor
Version: 3.10+dev
Fixed in version: 3.10.0
Category: ~DO NOT USE (was: OCaml general)
Related to: #4255
Monitored by: ertai

Bug description

In previous versions of ocaml it was possible to do a staged installation by setting PREFIX (or the triple BINDIR, LIBDIR, MANDIR) when installing ocaml, like in

make install PREFIX=stagedir

This is no longer possible in 3.10 because camlp4 and ocamlbuild are installed from a shell script that directly sources config/config.sh to get these variables, and overriding on the command line has no effect.

Of course, this is an undocumented feature, but nevertheless worth keeping it. All packagers will be thankful if this could be fixed.

Additional information

The fix could be to pass PREFIX, BINDIR, LIBDIR, MANDIR explicitly from Makefile to the script.

@vicuna
Copy link
Author

vicuna commented Mar 21, 2007

Comment author: ertai

Fixed in CVS

@vicuna vicuna closed this as completed Mar 31, 2009
@vicuna vicuna added the bug label Mar 19, 2019
dra27 pushed a commit to dra27/ocaml that referenced this issue Feb 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant