ocaml-maint team mailing list archive
-
ocaml-maint team
-
Mailing list archive
-
Message #00058
[Bug 516212] [NEW] wrong shebang line in camlp4rf
Public bug reported:
Binary package hint: ocaml
Trying to run camlp4rf but getting a "bad interpreter" error.
error
------
$ camlp4rf
bash: /usr/local/bin/camlp4rf: /usr/local/bin/ocamlrun:
bad interpreter: No such file or directory
workaround
---------------
fix the shebang, or create a link:
$ head -n 1 /usr/local/bin/camlp4rf
#!/usr/local/bin/ocamlrun
sudo ln -s /usr/bin/ocamlrun /usr/local/bin/
reproduction
----------------
$ sudo apt-get install ocaml-nox
$ camlp4rf
bash: /usr/local/bin/camlp4rf: /usr/local/bin/ocamlrun:
bad interpreter: No such file or directory
specs
--------
### ocaml
$ ocamlc -v
The Objective Caml compiler, version 3.11.1
Standard library directory: /usr/lib/ocaml
### ubuntu
$ lsb_release -d
Description: Ubuntu 9.10
** Affects: ocaml (Ubuntu)
Importance: Undecided
Status: New
--
wrong shebang line in camlp4rf
https://bugs.launchpad.net/bugs/516212
You received this bug notification because you are a member of Debian
OCaml Maintainers, which is subscribed to ocaml in ubuntu.
Status in “ocaml” package in Ubuntu: New
Bug description:
Binary package hint: ocaml
Trying to run camlp4rf but getting a "bad interpreter" error.
error
------
$ camlp4rf
bash: /usr/local/bin/camlp4rf: /usr/local/bin/ocamlrun:
bad interpreter: No such file or directory
workaround
---------------
fix the shebang, or create a link:
$ head -n 1 /usr/local/bin/camlp4rf
#!/usr/local/bin/ocamlrun
sudo ln -s /usr/bin/ocamlrun /usr/local/bin/
reproduction
----------------
$ sudo apt-get install ocaml-nox
$ camlp4rf
bash: /usr/local/bin/camlp4rf: /usr/local/bin/ocamlrun:
bad interpreter: No such file or directory
specs
--------
### ocaml
$ ocamlc -v
The Objective Caml compiler, version 3.11.1
Standard library directory: /usr/lib/ocaml
### ubuntu
$ lsb_release -d
Description: Ubuntu 9.10
Follow ups
References