ocsigen / ocsimore

A wiki in Eliom.
http://ocsigen.org/ocsimore/
Other
7 stars 4 forks source link

opam install fails #2

Closed balat closed 10 years ago

balat commented 10 years ago

The prefix is not given to setup.exe. You can reproduce it manually:

ocsimore (master)$ sh configure --prefix /spdofipsdjflnsdfSD/FsdF/sDF/
ocamlfind ocamlopt -o setup.exe setup.ml || ocamlfind ocamlc -o setup.exe setup.ml || true
rm -f setup.cmi setup.cmo setup.cmx setup.o
./setup.exe -configure --prefix
none: option `--prefix' needs an argument.
kit-ty-kate commented 10 years ago

Did you tried with the latest version ?

balat commented 10 years ago

Yes it is the very last version

balat commented 10 years ago

in file configure, when I replace the last $@ by $*, it works. But configure is generated by oasis.

kit-ty-kate commented 10 years ago

You shouldn't regenerate the files. All the generated files are in the repo and should stay as is except if you changed the _oasis (in which case you need OASIS devel because of this bug)

balat commented 10 years ago

ok so you must change file INSTALL :)

kit-ty-kate commented 10 years ago

Done. I don't know why it was still there. Sorry for the inconvenience.

balat commented 10 years ago

Thank you! But I still wonder why the configure file generated by oasis is wrong?

kit-ty-kate commented 10 years ago

Because I use the compiled_setup_ml AlphaFeature which contains this bug (it was my fault). This is fixed in master by this PR: https://github.com/ocaml/oasis/pull/47

balat commented 10 years ago

ok nice :)