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

chamo doesn't install #184

Closed
maattdd opened this issue Nov 15, 2012 · 5 comments
Closed

chamo doesn't install #184

maattdd opened this issue Nov 15, 2012 · 5 comments
Labels

Comments

@maattdd
Copy link

maattdd commented Nov 15, 2012

Hi,

I get an error trying to install chamo

opam install chamo

Result:

  • findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /usr/lib/ocaml/compiler-libs, >/usr/lib/ocaml
  • File "ed_layout.ml", line 25, characters 0-8:
  • Error: Unbound module Xml
  • make[1]: *** [ed_layout.cmx] Error 2
  • make: *** [src] Error 2
    'opam install chamo' failed
@samoht
Copy link
Member

samoht commented Nov 15, 2012

Hum, I have the same problem ... @zoggy an idea ?

@zoggy
Copy link
Contributor

zoggy commented Nov 15, 2012

An old reference to Xml module from xml-light was remaining (just an open), not spotted because xml-light was installed on my machine. I uploaded a new tarball for release 2.01 and updated url checksum in opam accordingly.
this should be fixed. Please note that .glade and image files for chamo are not yet handled in opam package, but it works since files are copied by the install process (opam is just not aware of it).

@samoht
Copy link
Member

samoht commented Nov 15, 2012

It compiles and install fine now, thanks!

@samoht samoht closed this as completed Nov 15, 2012
@maattdd
Copy link
Author

maattdd commented Nov 16, 2012

Well the Xml module bug is corrected but now chamo tries to install its executable in /usr/bin instead of opam prefix

  • Installed /home/matthieu/.opam/system/lib/chamo/chamo.cmxa
  • Installed /home/matthieu/.opam/system/lib/chamo/META
  • cp: cannot create regular file ‘/usr/bin/chamo’: Permission denied
  • cp: cannot create regular file ‘/usr/bin/chamo.byte’: Permission denied
  • cp: cannot create regular file ‘/usr/bin/mk-chamo’: Permission denied

I would expect it to be in ~/.opam/system, as utop for example

⌁ [matthieu:~] 2 % which utop
/home/matthieu/.opam/system/bin/utop

It works as root obviously, but that's not an acceptable solution

@zoggy
Copy link
Contributor

zoggy commented Nov 16, 2012

Well, I don't know why it installs in /usr/bin. On my installation, it installs into .opam/system/bin with no specific command.

@ghost ghost mentioned this issue Jul 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants