Re: Ocaml installing problems on woody - further information
Where is the package ocaml_3.02-3_i386.deb that you are trying to install
coming from? I repeat that the tuareg files are not part of the
official ocaml_3.02-3 package. I just tried on my own machine to purge ocaml,
then to install ocaml. The output is appended below along with yours,
watch the difference in the emacs files written.
Is the package coming directly from one of the official mirror sites, or
is it a locally produced special-purpose package ?
-Ralf.
On Thu, Dec 13, 2001 at 01:54:49PM +0200, Johann Spies wrote:
> Reading Package Lists...
> Building Dependency Tree...
> The following NEW packages will be installed:
> ocaml
> 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B/3785kB of archives. After unpacking 14.6MB will be used.
> Selecting previously deselected package ocaml.
> (Reading database ... 96624 files and directories currently installed.)
> Unpacking ocaml (from .../archives/ocaml_3.02-3_i386.deb) ...
> Setting up ocaml (3.02-3) ...
> install/ocaml: Handling install for emacsen flavor emacs20
> Loading 00debian-vars...
> Loading 50auctex (source)...
> Loading 50dpkg-dev (source)...
> Loading 50gettext (source)...
> Loading 50gnuserv (source)...
> Loading 50haskell-mode (source)...
> Loading 50lbdb (source)...
> Loading 50mgp (source)...
> Loading 50ocaml (source)...
> Loading 50psgml-init (source)...
> Wrote /usr/share/emacs20/site-lisp/ocaml/append-tuareg.elc
> Wrote /usr/share/emacs20/site-lisp/ocaml/caml-compat.elc
> Wrote /usr/share/emacs20/site-lisp/ocaml/caml-font.elc
> Wrote /usr/share/emacs20/site-lisp/ocaml/caml-hilit.elc
> Wrote /usr/share/emacs20/site-lisp/ocaml/caml.elc
> Wrote /usr/share/emacs20/site-lisp/ocaml/camldebug.elc
> Wrote /usr/share/emacs20/site-lisp/ocaml/custom-tuareg.elc
> Wrote /usr/share/emacs20/site-lisp/ocaml/inf-caml.elc
> While compiling toplevel forms in file /usr/share/emacs20/site-lisp/ocaml/sym-lock.el:
> !! File error (("Cannot open load file" "atomic-extents"))
> Wrote /usr/share/emacs20/site-lisp/ocaml/tuareg.elc
> Done
> emacs-package-install: /usr/lib/emacsen-common/packages/install/ocaml emacs20 emacs20 failed at /usr/lib/emacsen-common/emacs-package-install line 30, <TSORT> line 1.
> dpkg: error processing ocaml (--configure):
> subprocess post-installation script returned error exit status 29
> Errors were encountered while processing:
> ocaml
> E: Sub-process /usr/bin/dpkg returned an error code (1)
Here is my log:
seneca:~# apt-get install ocaml
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
ocaml
0 packages upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
Need to get 3785kB of archives. After unpacking 14.6MB will be used.
Get:1 ftp://ftp.fr.debian.org unstable/main ocaml 3.02-3 [3785kB]
Fetched 3785kB in 1m1s (62.0kB/s)
Selecting previously deselected package ocaml.
(Reading database ... 91076 files and directories currently installed.)
Unpacking ocaml (from .../archives/ocaml_3.02-3_i386.deb) ...
Setting up ocaml (3.02-3) ...
install/ocaml: Handling install for emacsen flavor emacs20
Loading 00debian-vars...
Loading 20gnus-init (source)...
Loading 50aribas (source)...
Loading 50auctex (source)...
Loading 50coq (source)...
Loading 50debbugs-el (source)...
Loading 50dpkg-dev-el (source)...
Loading 50gettext (source)...
Loading 50maxima (source)...
Loading 50mozart (source)...
Loading 50ocaml (source)...
Loading 50speedbar (source)...
Wrote /usr/share/emacs20/site-lisp/ocaml/caml-compat.elc
Wrote /usr/share/emacs20/site-lisp/ocaml/camldebug.elc
Wrote /usr/share/emacs20/site-lisp/ocaml/caml.elc
Wrote /usr/share/emacs20/site-lisp/ocaml/caml-font.elc
Wrote /usr/share/emacs20/site-lisp/ocaml/caml-hilit.elc
Wrote /usr/share/emacs20/site-lisp/ocaml/inf-caml.elc
Done
install/ocaml: Handling install for emacsen flavor emacs21
Loading 00debian-vars...
Loading 50aribas (source)...
Loading 50auctex (source)...
Loading 50coq (source)...
Loading 50debbugs-el (source)...
Loading 50dpkg-dev-el (source)...
Loading 50gettext (source)...
Loading 50maxima (source)...
Loading 50mozart (source)...
Loading 50ocaml (source)...
Loading 50speedbar (source)...
Wrote /usr/share/emacs21/site-lisp/ocaml/caml-compat.elc
Wrote /usr/share/emacs21/site-lisp/ocaml/camldebug.elc
Wrote /usr/share/emacs21/site-lisp/ocaml/caml.elc
Wrote /usr/share/emacs21/site-lisp/ocaml/caml-font.elc
Wrote /usr/share/emacs21/site-lisp/ocaml/caml-hilit.elc
Wrote /usr/share/emacs21/site-lisp/ocaml/inf-caml.elc
Done
install/ocaml: Handling install for emacsen flavor xemacs21
Loading /usr/share/emacs/site-lisp/debian-startup...
Loading 00debian...
Loading site-start...
Loading 00debian-vars...
Loading 20gnus-init...
Loading 50aribas...
Loading 50auctex...
Loading 50coq...
Loading 50debbugs-el...
Loading 50dpkg-dev-el...
Loading 50gettext...
Loading 50maxima...
Loading 50mozart...
Loading 50ocaml...
Loading 50speedbar...
Compiling /usr/share/xemacs21/site-lisp/ocaml/caml-compat.el...
Wrote /usr/share/xemacs21/site-lisp/ocaml/caml-compat.elc
Compiling /usr/share/xemacs21/site-lisp/ocaml/camldebug.el...
Wrote /usr/share/xemacs21/site-lisp/ocaml/camldebug.elc
Compiling /usr/share/xemacs21/site-lisp/ocaml/caml.el...
Wrote /usr/share/xemacs21/site-lisp/ocaml/caml.elc
Compiling /usr/share/xemacs21/site-lisp/ocaml/caml-font.el...
Wrote /usr/share/xemacs21/site-lisp/ocaml/caml-font.elc
Compiling /usr/share/xemacs21/site-lisp/ocaml/caml-hilit.el...
Wrote /usr/share/xemacs21/site-lisp/ocaml/caml-hilit.elc
Compiling /usr/share/xemacs21/site-lisp/ocaml/inf-caml.el...
Wrote /usr/share/xemacs21/site-lisp/ocaml/inf-caml.elc
Done
-Ralf.
Reply to: