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

Bug#531360: libcamlpdf-ocaml-dev: unzip interface conflicts with extlib



Romain Beauxis a écrit :
	Hi !

Le Monday 01 June 2009 00:47:44 Guillaume Yziquel, vous avez écrit :
When trying to use both extlib and camlpdf on the toplevel, they disagree
on the interface to module unzip:

CamlPDF in debian is patched to build against the unzip module shipped by debian. Does this mean that extlib has a different unzip module than the one shipped as a package ?


Romain

In the toplevel, zip/extlib is compatible, zip/camlpdf is also OK, but extlib/camlpdf is not:

yziquel@seldon:~$ ocaml
        Objective Caml version 3.11.0

# #use "topfind";;
- : unit = ()
Findlib has been successfully loaded. Additional directives:
  #require "package";;      to load a package
  #list;;                   to list the available packages
  #camlp4o;;                to load camlp4 (standard syntax)
  #camlp4r;;                to load camlp4 (revised syntax)
  #predicates "p,q,...";;   to set these predicates
  Topfind.reset();;         to force that packages will be reloaded
  #thread;;                 to enable threads

- : unit = ()
# #require "zip";;
/usr/lib/ocaml/3.11.0/unix.cma: loaded
/usr/lib/ocaml/3.11.0/zip: added to search path
/usr/lib/ocaml/3.11.0/zip/zip.cma: loaded
# #require "camlpdf";;
/usr/lib/ocaml/3.11.0/bigarray.cma: loaded
/usr/lib/ocaml/3.11.0/str.cma: loaded
/usr/lib/ocaml/3.11.0/camlpdf: added to search path
/usr/lib/ocaml/3.11.0/camlpdf/camlpdf.cma: loaded
#
yziquel@seldon:~$ ocaml
        Objective Caml version 3.11.0

# #use "topfind";;
- : unit = ()
Findlib has been successfully loaded. Additional directives:
  #require "package";;      to load a package
  #list;;                   to list the available packages
  #camlp4o;;                to load camlp4 (standard syntax)
  #camlp4r;;                to load camlp4 (revised syntax)
  #predicates "p,q,...";;   to set these predicates
  Topfind.reset();;         to force that packages will be reloaded
  #thread;;                 to enable threads

- : unit = ()
# #require "zip";;
/usr/lib/ocaml/3.11.0/unix.cma: loaded
/usr/lib/ocaml/3.11.0/zip: added to search path
/usr/lib/ocaml/3.11.0/zip/zip.cma: loaded
# #require "extlib";;
/usr/lib/ocaml/3.11.0/extlib: added to search path
/usr/lib/ocaml/3.11.0/extlib/extLib.cma: loaded
#
yziquel@seldon:~$ ocaml
        Objective Caml version 3.11.0

# #use "topfind";;
- : unit = ()
Findlib has been successfully loaded. Additional directives:
  #require "package";;      to load a package
  #list;;                   to list the available packages
  #camlp4o;;                to load camlp4 (standard syntax)
  #camlp4r;;                to load camlp4 (revised syntax)
  #predicates "p,q,...";;   to set these predicates
  Topfind.reset();;         to force that packages will be reloaded
  #thread;;                 to enable threads

- : unit = ()
# #require "camlpdf";;
/usr/lib/ocaml/3.11.0/unix.cma: loaded
/usr/lib/ocaml/3.11.0/bigarray.cma: loaded
/usr/lib/ocaml/3.11.0/str.cma: loaded
/usr/lib/ocaml/3.11.0/camlpdf: added to search path
/usr/lib/ocaml/3.11.0/camlpdf/camlpdf.cma: loaded
# #require "extlib";;
/usr/lib/ocaml/3.11.0/extlib: added to search path
/usr/lib/ocaml/3.11.0/extlib/extLib.cma: loaded
The files /usr/lib/ocaml/3.11.0/extlib/extLib.cma
and /usr/lib/ocaml/3.11.0/camlpdf/camlpdf.cma
disagree over interface Unzip
#

Guillaume.



Reply to: