ocsigenserver
ocsigenserver copied to clipboard
$ make run.{opt,}.local on OSX
$ make run.{opt,}.local fails on OXS with the following error:
CAML_LD_LIBRARY_PATH=src/server:/Users/rgrinberg/.opam/4.02.1/lib/stublibs src/server/ocsigenserver.opt -c local/etc/ocsigenserver.conf
ocsigenserver.opt: ocsigen:main: Fatal - Findlib package ocsigenserver.polytables not found: maybe you forgot <findlib path="..."/>?
make: *** [run.opt.local] Error 53
It seems that you can work around this issue by removing the following two lines from local/etc/ocsigenserver
<findlib path="/Users/rgrinberg/reps/ocsigen/ocsigenserver/src/files/"/>
<findlib path="/Users/rgrinberg/reps/ocsigen/ocsigenserver/src/extensions/files/"/>
Does not work on OS X 10.10.3 with OCaml 4.02.1 and OPAM 1.2.0 Here is the log
If you just remove the trailing / after src/files/, does it works ?
The absence or presence of leading slashes does not seem to affect anything
Tried last night. Made no difference
So, I investigated, This two lines were probably there before the directory structure of ocsigenserver was changed, and everything was in a single directory. I don't see a single reason why this two lines would work currently.
More importantly, I don't see how to fix it except by asking the user to install ocsigenserver. :(
@Drup I forgot to mention that one of the paths, namely:
<findlib path="/Users/rgrinberg/reps/ocsigen/ocsigenserver/src/extensions/files/"/>
Doesn't event exist.
Btw, how do you explain that it works on Linux?
Yes, I noticed.