caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Beginner's troubles with ocsigen
@ 2014-04-17  9:37 Raphael Bauduin
  2014-04-17 10:03 ` Kakadu
  0 siblings, 1 reply; 2+ messages in thread
From: Raphael Bauduin @ 2014-04-17  9:37 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 1034 bytes --]

Hi,

I'm a beginner Ocaml developer, and wanted to start experimenting with
Ocsigen. However, I have troubles preventing me to run even the simplest
example...
I have installed eliom 3.0.3, js_of_ocaml 1.4.0 and all needed packages
with opam (running ocaml 4.01.0).
I'm trying the examples at https://github.com/db0company/Ocsigen-Quick-Howto

./make.sh page results in an error, of which this is an excerpt:

eliomc -infer  example.eliom
eliomc -c -noinfer  example.eliom
ocamlc.opt: unknown option `-noinfer'.

Trying the instructions at
http://ocsigen.org/eliom/manual/workflow-compilation I get :

js_of_eliom -o example.js example.eliom
Missing primitives:
  caml_ml_output_char
  caml_sys_exit

This is referenced here: https://github.com/ocsigen/js_of_ocaml/issues/20
But this is some months old and would think the packages I installed with
opam would work.

Anyone having suggestions?

Thanks

Raph

PS: if there is an ocsigen mailing list, I'll gladly switch the discussion
over there, but I didn't find any on the website.

[-- Attachment #2: Type: text/html, Size: 1390 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] Beginner's troubles with ocsigen
  2014-04-17  9:37 [Caml-list] Beginner's troubles with ocsigen Raphael Bauduin
@ 2014-04-17 10:03 ` Kakadu
  0 siblings, 0 replies; 2+ messages in thread
From: Kakadu @ 2014-04-17 10:03 UTC (permalink / raw)
  To: Raphael Bauduin; +Cc: Caml List, ocsigen

Raphael,

I'm adding ocsigen's mail list to CC.

I think that the best way to try eliom is to add ocsigen development
[1] opam repository [2] and install eliom-base-app from there. You
will need to hack your local postgresql installation but it is not
very difficult. See you at  #ocsigen channel of Freenode's IRC

Happy hacking!

[1] https://github.com/ocsigen/opam-ocsigen
[2] http://opam.ocaml.org/

On Thu, Apr 17, 2014 at 1:37 PM, Raphael Bauduin <rblists@gmail.com> wrote:
>
> Hi,
>
> I'm a beginner Ocaml developer, and wanted to start experimenting with
> Ocsigen. However, I have troubles preventing me to run even the simplest
> example...
> I have installed eliom 3.0.3, js_of_ocaml 1.4.0 and all needed packages with
> opam (running ocaml 4.01.0).
> I'm trying the examples at https://github.com/db0company/Ocsigen-Quick-Howto
>
> ./make.sh page results in an error, of which this is an excerpt:
>
> eliomc -infer  example.eliom
> eliomc -c -noinfer  example.eliom
> ocamlc.opt: unknown option `-noinfer'.
>
> Trying the instructions at
> http://ocsigen.org/eliom/manual/workflow-compilation I get :
>
> js_of_eliom -o example.js example.eliom
> Missing primitives:
>   caml_ml_output_char
>   caml_sys_exit
>
> This is referenced here: https://github.com/ocsigen/js_of_ocaml/issues/20
> But this is some months old and would think the packages I installed with
> opam would work.
>
> Anyone having suggestions?
>
> Thanks
>
> Raph
>
> PS: if there is an ocsigen mailing list, I'll gladly switch the discussion
> over there, but I didn't find any on the website.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-17 10:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-17  9:37 [Caml-list] Beginner's troubles with ocsigen Raphael Bauduin
2014-04-17 10:03 ` Kakadu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).