Closed ehaucourt closed 11 years ago
How did you install ocamlduce? I think it is not the same version as the ocaml installed by OPAM. Is there a --no-ocamlduce
in tyxml
configuration ?
You were right. I had ocamlduce installed on my system. I removed both ocsigen and ocamlduce from it then it works smoothly. Thanks a lot. :-)
Emmanuel
On 21/12/2012 09:25, Thomas Gazagnaire wrote:
How did you install ocamlduce? I think it is not the same version as the ocaml installed by OPAM. Is there a |--no-ocamlduce| in |tyxml| configuration ?
— Reply to this email directly or view it on GitHub https://github.com/OCamlPro/opam/issues/346#issuecomment-11606001.
I'm tracking this improvement in OCamlPro/opam-repository#256, so I'm closing the issue here.
Cannot install tyxml package using OPAM...
emmanuel@is010299:~$ opam install tyxml The following actions will be performed:
=-=-= tyxml.2.2.0 =-=-= The archive for tyxml.2.2.0 is in the local cache. Extracting /home/emmanuel/.opam/archives/tyxml.2.2.0+opam.tar.gz Build commands: make make install Uninstalling tyxml.2.2.0 The compilation of tyxml.2.2.0 failed in /home/emmanuel/.opam/4.00.1/build/tyxml.2.2.0.
[ERROR] while installing tyxml.2.2.0 = [RUN] "make" = [CWD] "/home/emmanuel/.opam/4.00.1/build/tyxml.2.2.0" = CAML_LD_LIBRARY_PATH=/home/emmanuel/.opam/4.00.1/lib/stublibs = MANPATH=/home/emmanuel/.opam/4.00.1/man: = SSH_AGENT_PID=2489 = GPG_AGENT_INFO=/run/user/emmanuel/keyring-XeqMKB/gpg:0:1 = TERM=xterm = SHELL=/bin/bash = XDG_SESSION_COOKIE=f0a944a06e97f0690a1d240000000008-1356076186.375858-1954661609 = WINDOWID=90177542 = OLDPWD=/home/emmanuel/Bureau/wip/alcool/people/ehaucourt/finite_loopfree_categories = GNOME_KEYRING_CONTROL=/run/user/emmanuel/keyring-XeqMKB = GTK_MODULES=canberra-gtk-module:canberra-gtk-module:overlay-scrollbar = OCAML_TOPLEVEL_PATH=/home/emmanuel/.opam/4.00.1/lib/toplevel = USER=emmanuel = LSCOLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arj=01;31:.taz=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lz=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.axv=01;35:.anx=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.axa=00;36:.oga=00;36:.spx=00;36:_.xspf=00;36: = XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 = XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 = SSH_AUTH_SOCK=/run/user/emmanuel/keyring-XeqMKB/ssh = SESSION_MANAGER=local/is010299:@/tmp/.ICE-unix/2448,unix/is010299:/tmp/.ICE-unix/2448 = DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path = XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg = PATH=/home/emmanuel/.opam/4.00.1/bin:/home/emmanuel/.opam/4.00.1/bin:/home/emmanuel/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games = DESKTOP_SESSION=ubuntu = LC_MESSAGES=fr_FR.UTF-8 = LC_COLLATE=fr_FR.UTF-8 = PWD=/home/emmanuel = GNOME_KEYRING_PID=2437 = LANG=fr_FR.UTF-8 = MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path = UBUNTU_MENUPROXY=libappmenu.so = COMPIZ_CONFIG_PROFILE=ubuntu = GDMSESSION=ubuntu = SHLVL=1 = HOME=/home/emmanuel = LANGUAGE=fr_FR:en = GNOME_DESKTOP_SESSION_ID=this-is-deprecated = LOGNAME=emmanuel = XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/ = DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-uEa9ipj9Ow,guid=663012a3992634252a4930cf50d4149c = LC_CTYPE=fr_FR.UTF-8 = LESSOPEN=| /usr/bin/lesspipe %s = XDG_RUNTIME_DIR=/run/user/emmanuel = DISPLAY=:0 = XDG_CURRENTDESKTOP=Unity = LESSCLOSE=/usr/bin/lesspipe %s %s = COLORTERM=gnome-terminal = XAUTHORITY=/home/emmanuel/.Xauthority = =/usr/local/bin/opam
= CAML_LD_LIBRARY_PATH=/home/emmanuel/.opam/4.00.1/lib/stublibs
. sed -e s%LIBNAME%tyxml%g \ . -e s%PACKAGENAME%tyxml%g \ . -e s%LIBDIR%% \ . -e s%SYNTAXDIR%% \ . files/META.in > files/META . sed -e s%LIBNAME%tyxml%g \ . -e s%PACKAGENAME%tyxml%g \ . -e s%LIBDIR%directory\ =\ \"..\/lib\"% \ . -e s%SYNTAXDIR%directory\ =\ \"..\/syntax\"% \ . files/META.in > files/META.tyxml . make -C syntax byte opt . make[1]: entrant dans le répertoire « /home/emmanuel/.opam/4.00.1/build/tyxml.2.2.0/syntax » . ocamlfind ocamlc -package camlp4 -pp "camlp4of -loc loc" -c pa_tyxml.mli . ocamllex xmllexer.mll . 93 states, 803 transitions, table size 3770 bytes . ocamlfind ocamlc -package camlp4 -pp "camlp4of -loc loc" -c xmllexer.ml . ocamlfind ocamlc -package camlp4 -pp "camlp4rf -loc loc" -c basic_types.ml . ocamllex camllexer.mll . 18 states, 260 transitions, table size 1148 bytes . ocamlfind ocamlc -package camlp4 -pp "camlp4of -loc loc" -c camllexer.ml . ocamlfind ocamlc -package camlp4 -pp "camlp4rf -loc loc" -c xhtmlparser.ml . ocamlfind ocamlc -package camlp4 -pp "camlp4rf -loc loc" -c xhtmlsyntax.ml . ocamlfind ocamlc -package camlp4 -pack -o pa_tyxml.cmo xmllexer.cmo basic_types.cmo camllexer.cmo xhtmlparser.cmo xhtmlsyntax.cmo . ocamlfind ocamlc -package camlp4 -pp "camlp4of -loc loc" -c simplexmlparser.mli . ocamlfind ocamlc -package camlp4 -pp "camlp4rf -loc loc" -c simplexmlparser.ml . ocamlfind ocamlopt -package camlp4 -pp "camlp4of -loc loc" -c xmllexer.ml . ocamlfind ocamlopt -package camlp4 -pp "camlp4rf -loc loc" -c simplexmlparser.ml . ocamlfind ocamlopt -package camlp4 -shared -linkall -o xmllexer.cmxs xmllexer.cmx . ocamlfind ocamlopt -package camlp4 -shared -linkall -o simplexmlparser.cmxs simplexmlparser.cmx . make[1]: quittant le répertoire « /home/emmanuel/.opam/4.00.1/build/tyxml.2.2.0/syntax » . make -C lib byte opt . make[1]: entrant dans le répertoire « /home/emmanuel/.opam/4.00.1/build/tyxml.2.2.0/lib » . ocamlfind ocamlc -package netstring -c xml_sigs.mli . ocamlfind ocamlc -package netstring -c xml_iter.mli . ocamlfind ocamlc -package netstring -c xml_iter.ml . ocamlfind ocamlc -package netstring -c xml_print.mli . ocamlfind ocamlc -package netstring -c xml_print.ml . ocamlfind ocamlc -package netstring -c xhtml_types.mli . ocamlfind ocamlc -package netstring -c xhtml_sigs.mli . ocamlfind ocamlc -package netstring -c xhtml_f.mli . ocamlfind ocamlc -package netstring -c xhtml_f.ml . ocamlfind ocamlc -package netstring -c svg_types.mli . ocamlfind ocamlc -package netstring -c svg_sigs.mli . ocamlfind ocamlc -package netstring -c svg_f.mli . ocamlfind ocamlc -package netstring -c svg_f.ml . ocamlfind ocamlc -package netstring -c html5_types.mli . ocamlfind ocamlc -package netstring -c html5_sigs.mli . ocamlfind ocamlc -package netstring -c html5_f.mli . ocamlfind ocamlc -package netstring -c html5_f.ml . ocamlfind ocamlc -package netstring -c xml.mli . ocamlfind ocamlc -package netstring -c xml.ml . ocamlfind ocamlc -package netstring -c xhtml.mli . ocamlfind ocamlc -package netstring -c xhtml.ml . ocamlfind ocamlc -package netstring -c svg.mli . ocamlfind ocamlc -package netstring -c svg.ml . ocamlfind ocamlc -package netstring -c html5.mli . ocamlfind ocamlc -package netstring -c html5.ml . ocamlfind ocamlc -a xml_iter.cmo xml_print.cmo xhtml_f.cmo svg_f.cmo html5_f.cmo xml.cmo xhtml.cmo svg.cmo html5.cmo -o tyxml.cma . ocamlfind ocamlc -a xml_iter.cmo xml_print.cmo xhtml_f.cmo svg_f.cmo html5_f.cmo -o tyxml_f.cma . ocamlducefind ocamlc -thread -package netstring -c xml_sigs_duce.mli . make[1]: quittant le répertoire « /home/emmanuel/.opam/4.00.1/build/tyxml.2.2.0/lib »