MLstate / opalang

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

hack to compile with my debian jessie using a recent ocamlgraph package #153

Closed artlog closed 9 years ago

artlog commented 10 years ago

=> I added opa_git_version additionally to ${repo}_git_version to be able to compile.

+ /usr/bin/ocamlc -c -g -thread -warn-error A -w L -w Z -I /usr/lib/ocaml/zip -I /usr/lib/ocaml/ocamlgraph -I /usr/lib/ocaml/ulex -I ocamllib/libbase -I tools -I ocamllib -I lib -I compiler -I tools/build -o tools/odep.cmo tools/odep.ml File "tools/odep.ml", line 103, characters 35-122: Error: Some record fields are undefined: sg_parent

After review it come form a ocamlgraph api changes [ https://github.com/backtracking/ocamlgraph commit e5aa3733de34fc5da4aa3acb82862b3e88a3062a did add sg_parent field, fix code to compile with that change. ]

=> i added sg_parent = None when needed .

( my first pull request so be kind with this post quality ).

hbbio commented 9 years ago

Has been changed in master.

jbcmd commented 9 years ago

I've the same error, but i don't know what should i put in ${repo}_git_version please ?

Thanks

jbcmd commented 9 years ago

ok, i have found my problem. i added two more line in the generate_buildinfos.sh just after <echo "let ${repo}_git_version = 0"> echo "let opa_git_version = 0" echo "let opa_git_sha = \"\""