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

Re: [MirageOS-devel] Problem compiling Jitsu



Ah- I believe a recent release of irmin changed the api and jitsu may not have been updated yet. In the meantime, using opam to pin irmin to a previous version should provide a workaround.

On 9 Oct 2015 6:00 p.m., "Heikki Mahkonen" <heikki.mahkonen@xxxxxxxxx> wrote:
Hi guys,

Can anybody help with this? I have problem compiling mirage/jitsu on Ubuntu.

Here is the screen grab.

user@xendev:~$Â opam switch
--ÂÂÂÂ -- 3.11.2Â Official 3.11.2 release
--ÂÂÂÂ -- 3.12.1Â Official 3.12.1 release
--ÂÂÂÂ -- 4.00.0Â Official 4.00.0 release
--ÂÂÂÂ -- 4.00.1Â Official 4.00.1 release
4.01.0Â I 4.01.0Â Official 4.01.0 release
4.02.0Â I 4.02.0Â Official 4.02.0 release
4.02.1Â I 4.02.1Â Official 4.02.1 release
--ÂÂÂÂ -- 4.02.2Â Official 4.02.2 release
4.02.3Â I 4.02.3Â Official 4.02.3 release
system C system System compiler (4.02.3)
# 124 more patched or experimental compilers, use '--all' to show
user@xendev:~$ opam switch 4.01.0
# To setup the new switch in the current shell, you need to run:
eval `opam config env`
user@xendev:~$ eval `opam config env`
user@xendev:~$ opam install jitsu
The following actions will be performed:
 â install jitsu 0.2

=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[jitsu] Archive in cache

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ERROR] The compilation of jitsu failed at "make".

#=== ERROR while installing jitsu.0.2 =========================================#
# opam-version 1.2.2
# osÂÂÂÂÂÂÂÂÂÂ linux
# commandÂÂÂÂÂ make
# pathÂÂÂÂÂÂÂÂ /home/user/.opam/4.01.0/build/jitsu.0.2
# compilerÂÂÂÂ 4.01.0
# exit-codeÂÂÂ 2
# env-fileÂÂÂÂ /home/user/.opam/4.01.0/build/jitsu.0.2/jitsu-20310-1872ec.env
# stdout-file /home/user/.opam/4.01.0/build/jitsu.0.2/jitsu-20310-1872ec.out
# stderr-file /home/user/.opam/4.01.0/build/jitsu.0.2/jitsu-20310-1872ec.err
### stdout ###
# mkdir -p /home/user/.opam/4.01.0/build/jitsu.0.2/bin
# cd /home/user/.opam/4.01.0/build/jitsu.0.2/src ; ocamlfind ocamlopt -w A-4-44 -package lwt.syntax,lwt,dns.lwt,libvirt,cmdliner,ezxmlm,ipaddr,str,conduit,conduit.lwt-unix,xen-api-client,xen-api-client.lwt,irmin.unix,xenstore,xenstore_transport,xenstore_transport.lwt,uuidm,xenlight,xenlight.xentoollog -linkpkg -g vm_stop_mode.ml vm_state.ml xenstore.ml backends.mli options.ml rumprun.ml libvirt_backend.ml xapi_backend.ml libxl_backend.ml irmin_backend.mli dns_helpers.ml irmin_backend.ml synjitsu.mli synjitsu.ml jitsu.mli jitsu.ml main.ml -o /home/user/.opam/4.01.0/build/jitsu.0.2/bin/jitsu -syntax camlp4o
### stderr ###
# File "irmin_backend.ml", line 39, characters 65-88:
# Error: Unbound type constructor Irmin.t
# make: *** [/home/user/.opam/4.01.0/build/jitsu.0.2/bin/jitsu] Error 2



=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions failed
 â install jitsu 0.2
No changes have been performed

=-=- jitsu.0.2 troobleshooting =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=> This package relies on external (system) dependencies that may be missing.
ÂÂ `opam depext jitsu.0.2' may help you find the correct installation for your
ÂÂ system.
user@xendev:~$ opam depext jitsu.0.2
# Detecting depexts using flags: x86_64 linux ubuntu
# The following system packages are needed:
#Â - libgmp-dev
#Â - libpcre3-dev
#Â - libssl-dev
#Â - libvirt-bin
#Â - libvirt-dev
#Â - libxen-dev
#Â - m4
#Â - pkg-config
#Â - time
#Â - uuid-dev
#Â - zlib1g-dev
# All required OS packages found.
user@xendev:~$

Ubuntu version:
user@xendev:~$ lsb_release -a
No LSB modules are available.
Distributor ID:ÂÂÂ Ubuntu
Description:ÂÂÂ Ubuntu 14.04.3 LTS
Release:ÂÂÂ 14.04
Codename:ÂÂÂ trusty

Thank you!

BR,

Heikki Mahkonen

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

 


Rackspace

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