OCaml Forge
SCM

Detail: [#1002] install command wants to copy files to wrong place

Bugs: Browse | Download .csv | Monitor

[#1002] install command wants to copy files to wrong place

Date:
2011-06-24 21:33
Priority:
3
State:
Open
Submitted by:
Ashish Agarwal (ashish_agarwal)
Assigned to:
Nobody (None)
Hardware:
Macintosh
Resolution:
None
Severity:
blocker
Version:
None
Component:
None
Operating System:
MacOS X
Product:
None
 
URL:
Summary:
install command wants to copy files to wrong place

Detailed description
I get the following error when running `ocaml setup.ml -install`.

I: Copying file '/Users/ashish/Software/ocamlify-0.0.1/_build/src/ocamlify' to '/usr/local/bin/ocamlify'
I: Running command 'cp '/Users/ashish/Software/ocamlify-0.0.1/_build/src/ocamlify' '/usr/local/bin/ocamlify''
cp: /usr/local/bin/ocamlify: Permission denied
E: Command 'cp '/Users/ashish/Software/ocamlify-0.0.1/_build/src/ocamlify' '/usr/local/bin/ocamlify'' terminated with error code 1

The cp command is constructed incorrectly. The copying should be to a non-system directory, /Users/ashish/local/godi. Immediately prior to installing ocamlify, I installed several other packages that use oasis generated setup.ml files, and they all installed files to the correct location.

Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item