Re: Ocaml installing problems on woody - further information
Further information. Reinstalling emacs would not work until I removed
lablgl lablgtk libxlib-ocaml ocaml ocamltk ocaml-tools
Trying to reinstall them resulted in:
$ sudo apt-get install lablgl lablgtk
Reading Package Lists... Done
Building Dependency Tree... Done
Package lablgtk has no available version, but exists in the database.
This typically means that the package was mentioned in a dependency and
never uploaded, has been obsoleted or is not available with the contents
of sources.list
E: Package lablgtk has no installation candidate
I purged all the ocaml files. The problem directory in previous
installations was /usr/share/emacs/site-lisp/ocaml
After purging ocaml the directory was removed:
---------------------------------------------
13:49:37 js@bywoner:/usr/share/emacs/20.7/site-lisp$ls -laprt
total 36
-rw-r--r-- 1 root root 106 Aug 18 17:18 subdirs.el
drwxr-xr-x 6 root root 4096 Dec 13 13:34 ../
drwxr-xr-x 2 root root 4096 Dec 13 13:38 lbdb/
drwxr-xr-x 2 root root 4096 Dec 13 13:38 gettext/
-rw-r--r-- 1 root root 2433 Dec 13 13:38
debian-startup.elc
drwxr-xr-x 3 root root 4096 Dec 13 13:38 auctex/
drwxr-xr-x 2 root root 4096 Dec 13 13:38 gnuserv/
drwxr-xr-x 2 root root 4096 Dec 13 13:39 psgml/
drwxr-xr-x 7 root root 4096 Dec 13 13:49 ./
-------------------------------------------------
Then I ran apt-get install ocaml:
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)
---------------------------------------------------------------------
The problem seems to be in the ocaml package.
13:52:02 js@bywoner:/usr/share/emacs/20.7/site-lisp$ ls -laprt
total 40
-rw-r--r-- 1 root root 106 Aug 18 17:18 subdirs.el
drwxr-xr-x 6 root root 4096 Dec 13 13:34 ../
drwxr-xr-x 2 root root 4096 Dec 13 13:38 lbdb/
drwxr-xr-x 2 root root 4096 Dec 13 13:38 gettext/
-rw-r--r-- 1 root root 2433 Dec 13 13:38
debian-startup.elc
drwxr-xr-x 3 root root 4096 Dec 13 13:38 auctex/
drwxr-xr-x 2 root root 4096 Dec 13 13:38 gnuserv/
drwxr-xr-x 2 root root 4096 Dec 13 13:39 psgml/
drwxr-xr-x 8 root root 4096 Dec 13 13:51 ./
drwxr-xr-x 2 root root 4096 Dec 13 13:52 ocaml/
13:53:49 js@bywoner:/usr/share/emacs/20.7/site-lisp$ ls -la ocaml/
total 460
drwxr-xr-x 2 root root 4096 Dec 13 13:52 .
drwxr-xr-x 8 root root 4096 Dec 13 13:51 ..
-rw-r--r-- 1 root root 508 Dec 13 13:51 append-tuareg.el
-rw-r--r-- 1 root root 1040 Dec 13 13:51
append-tuareg.elc
-rw-r--r-- 1 root root 793 Dec 13 13:51 caml-compat.el
-rw-r--r-- 1 root root 1181 Dec 13 13:51 caml-compat.elc
-rw-r--r-- 1 root root 3955 Dec 13 13:51 caml-font.el
-rw-r--r-- 1 root root 3484 Dec 13 13:51 caml-font.elc
-rw-r--r-- 1 root root 1751 Dec 13 13:51 caml-hilit.el
-rw-r--r-- 1 root root 2001 Dec 13 13:51 caml-hilit.elc
-rw-r--r-- 1 root root 64925 Dec 13 13:51 caml.el
-rw-r--r-- 1 root root 47609 Dec 13 13:51 caml.elc
-rw-r--r-- 1 root root 31430 Dec 13 13:51 camldebug.el
-rw-r--r-- 1 root root 23191 Dec 13 13:51 camldebug.elc
-rw-r--r-- 1 root root 1449 Dec 13 13:51 custom-tuareg.el
-rw-r--r-- 1 root root 1288 Dec 13 13:51
custom-tuareg.elc
-rw-r--r-- 1 root root 4050 Dec 13 13:51 inf-caml.el
-rw-r--r-- 1 root root 3554 Dec 13 13:51 inf-caml.elc
-rw-r--r-- 1 root root 64 Dec 13 13:51 path.el
-rw-r--r-- 1 root root 12320 Dec 13 13:51 sym-lock.el
-rw-r--r-- 1 root root 111912 Dec 13 13:51 tuareg.el
-rw-r--r-- 1 root root 91224 Dec 13 13:52 tuareg.elc
-------------------------------------------
Regards.
Johann
--
Johann Spies Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch
"For thou art my hope, O Lord GOD; thou art my trust
from my youth." Psalms 71:5
Reply to: