picdc / ocp-webedit-old

See pcouderc/ocp-webedit for the up-to-date repository
Other
6 stars 0 forks source link

Add build dependencies to README #2

Open Kakadu opened 11 years ago

Kakadu commented 11 years ago

At this moment './configure' script can't find 'js_of_ocaml_compiler' package. Where can I get it? I can't find it in opam.

david-maison commented 11 years ago

js_of_ocaml_compiler and js_of_ocaml_compiler-libs are sources of js_of_ocaml on Github for example. Moreover, they are lots of opam repo (more than the default one). Maybe one of those repo contains these packages.

To add a repo for opam, you can use the command : opam remote add

However, if you want to try ocp-webedit, the pre-alpha version is online : http://edit.ocamlpro.com/

Kakadu commented 11 years ago

I have this repositories added. AFAIU, 'ocsigen' contains most recent versions of js_of_ocaml and other ocsigen packages... Js_of_ocaml doesn't have any optional dependencies and I have no idea why I don't see this problem package in the output of 'opam list -a | grep js_of_ocaml'.

$ opam remote
  40 [git]   perf-annotate     git://github.com/mshinwell/opam-repo-dev
  30 [local]      ostap     /home/kakadu//prog/opam-repo-ostap
  20 [http]     ocsigen     http://ocsigen.org/opam
   0 [http]     default     http://opam.ocamlpro.com
david-maison commented 11 years ago

Try this repo : http://github.com/OCamlPro/opam-repo-dev.git

Kakadu commented 11 years ago

Well, on my machine I can log in to Persona but any next action (selecting text editor, clicking on drop-down) send me back to login window. Is it expected behavior?

david-maison commented 11 years ago

Well that's quite weird. Is the server.conf the good one for your machine ? Can you trace the requests done by the site ?

Kakadu commented 11 years ago

I was testing http://edit.ocamlpro.com/ not local server I will test in on another machine on weekend. It will be buggy there I will test requests too.

david-maison commented 11 years ago

It's really weird, we tested the site on 4 different machines and we didn't have this problem. Maybe your browser don't support some features ? (like webworker but it don't think it's the problem's source) Can you give us your browser 's version ?

Kakadu commented 11 years ago

Firefox 23

Kakadu commented 11 years ago

On another it's buggy too. See output off firebug:

uncaught exception: 0,0,Failure,fail get_element_by_id : tabscleft
POST http://edit.ocamlpro.com/api//login

200 OK
        18.25s  
main.js (line 10776)
POST http://edit.ocamlpro.com/api//project

200 OK
        134ms   
main.js (line 9034)
POST http://edit.ocamlpro.com/api/conf/load

500 Internal Server Error
        66ms    
main.js (line 9034)
"NetworkError: 500 Internal Server Error - http://edit.ocamlpro.com/api/conf/load"
load
uncaught exception: 0,0,Myparser.Bad_conf_file
Kakadu commented 11 years ago

It seems that http://edit.ocamlpro.com/ works okay now