[ocaml-infra] Problem building ocaml.org locally
Sebastien Mondet
sebastien.mondet at gmail.com
Thu Dec 5 15:35:47 GMT 2013
On Thu, Dec 5, 2013 at 10:16 AM, Amir Chaudhry <amc79 at cam.ac.uk> wrote:
> Folks,
>
> I seem to be having problems building ocaml.org locally. None of the
> makefiles seem to have changed so I think this is a problem with my set up
> rather than the site (hence not filing a bug report).
>
> When I run `make` (or `make local`) in a fresh clone I get the following:
>
> =======
> ocaml.org amir$ make
> cd script && \
> ocamlfind ocamlopt -package netstring -linkpkg -annot -g
> relative_urls.ml -o ../"script/relative_urls" && \
> rm -f relative_urls.o relative_urls.cmi relative_urls.cmx
> relative_urls.annot
> /bin/sh: ocamlfind: command not found
>
Wild guess: /bin/sh is being called and your "eval `opam config env`" is
in your .bashrc and in some way the $PATH is not being communicated
I've seen that before but I can't remember in which case (calling make from
vim inside tmux+ssh ... or alike :))
> make: *** [script/relative_urls] Error 127
> ocaml.org amir$
> =======
>
> `make production` also fails but at the rss2html step. I think this is
> something to do with the Path but I'm not clear on how to debug this
> further. My uneducated guess would be something to do with the quote marks.
>
> My opam switch is on 4.01.0 and I have the necessary packages installed
> (although I have `openssl` and `pkg-config` rather than `libssl-dev`). Can
> anyone give me some suggestions as to what I should try next?
>
> Best wishes,
> Amir
>
>
> _______________________________________________
> Infrastructure mailing list
> Infrastructure at lists.ocaml.org
> http://lists.ocaml.org/listinfo/infrastructure
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/infrastructure/attachments/20131205/8a917c7f/attachment.html>
More information about the Infrastructure
mailing list