MLstate / opalang

The Opa Language for Web Application Development
http://opalang.org
Other
1.24k stars 125 forks source link

Error: Unbound record field Graph.Graphviz.DotAttributes.sg_parent #161

Closed fanfan1609 closed 9 years ago

fanfan1609 commented 9 years ago

I have found error message after run make

Please help me to fix it

hbbio commented 9 years ago

You need to upgrade ocamlgraph to 1.8.5 or greater.

fanfan1609 commented 9 years ago

Thanks Hbbio , I will try and reply result.

fanfan1609 commented 9 years ago

After I upgrade ocamlgraph to 1.8.5 , I run and get another error as below

File "none", line 1: Error: Files compiler/compilerlib.cmxa and /usr/lib/ocaml/ocamlgraph/graph.cmxa make inconsistent assumptions over interface Graph Command exited with code 2. Compilation unsuccessful after building 1888 targets (1872 cached) in 00:00:30. make: *\ [node] Error 10.

Do you have any suggesttion for this error ?

Thanks

hhugo commented 9 years ago

make clean should do it

fanfan1609 commented 9 years ago

After clean and run, I see some message Warning bsl.projection The bypass bslvalue_record_fold_2_record is second-order and is not a cps-bypass Warning bsl.projection The bypass bslnumber_bslint64_catch is second-order and is not a cps-bypass Warning bsl.projection The bypass bslhashtbl_make is second-order and is not a cps-bypass Warning bsl.projection The bypass bslnet_ssl_make_policy is second-order and is not a cps-bypass Warning bsl.projection The bypass bslnativelib_opa_list_to_ocaml_list is second-order and is not a cps-bypass Warning bsl.projection The bypass bslnet_http_server_web_info_cont is second-order and is not a cps-bypass Warning bsl.projection The bypass bslnet_http_server_web_info_reconstruct is second-order and is not a cps-bypass Warning bsl.projection The bypass session_llsend_then is second-order and is not a cps-bypass Warning bsl.projection The bypass session_llsend is second-order and is not a cps-bypass Warning bsl.projection The bypass session_set_uu is second-order and is not a cps-bypass Warning bsl.projection The bypass bslnet_http_server_get_header_values is second-order and is not a cps-bypass Warning bsl.projection The bypass bslnet_http_server_init_server_cps is second-order and is not a cps-bypass Warning bsl.projection The bypass bslscheduler_at_exit is second-order and is not a cps-bypass Warning bsl.projection The bypass bslsys_process_async_shell_exec is second-order and is not a cps-bypass Warning bsl.projection The bypass bslfile_onchange is second-order and is not a cps-bypass Warning bsl.projection The bypass bslnativelib_opa_list_to_ocaml_list is second-order and is not a cps-bypass Warning bsl.projection The bypass bslnativelib_opa_list_to_ocaml_list is second-order and is not a cps-bypass

It seems still errors I have type opa --version but still not success

Any suggesttion please ? Thanks

hhugo commented 9 years ago

I see only warnings in your post .. What errors do you see ? What's the output of opa --version ?

fanfan1609 commented 9 years ago

Output of opa --version is /usr/local/bin/opa: 23: exec: /usr/local/lib/opa/bin/opa-bin: not found

hhugo commented 9 years ago

have you done make install ? does /usr/local/lib/opa/ exists ?

fanfan1609 commented 9 years ago

It's my mistake . That is great now Thanks for your support