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

Bug#613948: libocamlviz.cma and toplevel.



Package: ocamlviz
Version: 1.01-2+3.12.0+1
Severity: normal


Trying to load ocamlviz in the toplevel gives the following:

It seems to me that this is because you have both the Ocamlviz
module and Ocamlviz_threads module in the .cma file, and somehow
they both try to run through the init_sock () call. Trying to
launch two ocamlviz servers, one fails.

yziquel@seldon:~$ ocaml
        Objective Caml version 3.12.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 = ()
# #thread;;        
/usr/lib/ocaml/threads: added to search path
/usr/lib/ocaml/unix.cma: loaded
/usr/lib/ocaml/threads/threads.cma: loaded
# #require "ocamlviz";;
/usr/lib/ocaml/ocamlviz: added to search path
/usr/lib/ocaml/ocamlviz/libocamlviz.cma: loaded
run: couldn't run the server


-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (700, 'stable'), (500, 'oldstable'), (500, 'stable'), (90, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ocamlviz depends on:
ii  graphviz               2.26.3-5          rich set of graph drawing tools
ii  libatk1.0-0            1.30.0-1          The ATK accessibility toolkit
ii  libc6                  2.11.2-10         Embedded GNU C Library: Shared lib
ii  libcairo2              1.8.10-6          The Cairo 2D vector graphics libra
ii  libfontconfig1         2.8.0-2.1         generic font configuration library
ii  libfreetype6           2.4.2-2.1         FreeType 2 font engine, shared lib
ii  libglib2.0-0           2.24.2-1          The GLib library of C routines
ii  libgtk2.0-0            2.20.1-2          The GTK+ graphical user interface 
ii  libpango1.0-0          1.28.3-1+squeeze1 Layout and rendering of internatio

Versions of packages ocamlviz recommends:
ii  libocamlviz-ocaml-dev    1.01-2+3.12.0+1 real-time profiling tools for Obje

ocamlviz suggests no packages.

-- no debconf information



Reply to: