[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem in OPAM installation



Seems that you don't have the right OCaml version. You need 3.12.1 to build 
OPAM.

--
Thomas

On Jul 20, 2012, at 1:40 PM, Yiming Zhang wrote:

> I encountered a problem during installing OPAM in Ubuntu 1004 (as listed 
> below). Can somebody help me figure out the problem? Thanks!
> 
> Yiming 
> -------------------------
> [723.1] BEGIN 'ocamlc.opt' '-c' '-o' '/root/opam/_obuild/723/debcudf.cmo' 
> '-for-pack' 'Debian' '-I' './_obuild/dose/Debian' '-I' './_obuild/dose' '-I' 
> './src_ext' '-I' './_obuild/extlib' '-I' './_obuild/cudf' '-I' 
> './_obuild/graph' '-I' './_obuild/re_perl' '-I' '.' '-pp' 'camlp4o 
> Camlp4MacroParser.cmo' 'src_ext/dose/deb/debcudf.ml'
> [723.1]   END ocamlc.opt -c -o /root/opam/_obuild/723/debcudf.cmo -for-pack 
> Debian -I ./_obuild/dose/Debian -I ./_obuild/dose -I ./src_ext -I 
> ./_obuild/extlib -I ./_obuild/cudf -I ./_obuild/graph -I ./_obuild/re_perl -I 
> . -pp camlp4o Camlp4MacroParser.cmo src_ext/dose/deb/debcudf.ml
> Command stderr:
> File "src_ext/dose/deb/debcudf.ml", line 194, characters 13-26:
> Error: Unbound value SMap.bindings
> [723.1] ERROR in project dose
> Error, exception Unix_error(No such file or directory, stat, 
> _obuild/dose/Debian/debcudf.cmo) in rule_executed
> Warning: 380 rules waiting in queue !
> 2 errors. 429 commands executed, 561 files generated.
> Error:
> Target _obuild/dose/Debian/debcudf.cmo not built
> Error:
> [723.1] ocamlc.opt -c -o /root/opam/_obuild/723/debcudf.cmo -for-pack Debian 
> -I ./_obuild/dose/Debian -I ./_obuild/dose -I ./src_ext -I ./_obuild/extlib 
> -I ./_obuild/cudf -I ./_obuild/graph -I ./_obuild/re_perl -I . -pp camlp4o 
> Camlp4MacroParser.cmo src_ext/dose/deb/debcudf.ml
> File "src_ext/dose/deb/debcudf.ml", line 194, characters 13-26:
> Error: Unbound value SMap.bindings
> 
> 




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.