package ocamlbrowser

  1. Overview
  2. Docs
On This Page
  1. Error log

ocamlbrowser 4.14.0

Error log

The package failed to build. The error log from opam follows.

[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
=== install 5 packages
  - install conf-pkg-config 4
  - install conf-tcl        1
  - install conf-tk         1
  - install labltk          8.06.12
  - install ocamlbrowser    4.14.0

The following system packages will first need to be installed:
    pkg-config tcl-dev tk-dev

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config" "tcl-dev" "tk-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libbrotli-dev:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18745 files and directories currently installed.)
- Preparing to unpack .../00-libbrotli-dev_1.0.9-2+b6_amd64.deb ...
- Unpacking libbrotli-dev:amd64 (1.0.9-2+b6) ...
- Selecting previously unselected package libexpat1-dev:amd64.
- Preparing to unpack .../01-libexpat1-dev_2.5.0-1+deb12u1_amd64.deb ...
- Unpacking libexpat1-dev:amd64 (2.5.0-1+deb12u1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../02-zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Selecting previously unselected package libpng-dev:amd64.
- Preparing to unpack .../03-libpng-dev_1.6.39-2_amd64.deb ...
- Unpacking libpng-dev:amd64 (1.6.39-2) ...
- Selecting previously unselected package libfreetype-dev:amd64.
- Preparing to unpack .../04-libfreetype-dev_2.12.1+dfsg-5+deb12u3_amd64.deb ...
- Unpacking libfreetype-dev:amd64 (2.12.1+dfsg-5+deb12u3) ...
- Selecting previously unselected package uuid-dev:amd64.
- Preparing to unpack .../05-uuid-dev_2.38.1-5+deb12u3_amd64.deb ...
- Unpacking uuid-dev:amd64 (2.38.1-5+deb12u3) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../06-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../07-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../08-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../09-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Selecting previously unselected package libfontconfig-dev:amd64.
- Preparing to unpack .../10-libfontconfig-dev_2.14.1-4_amd64.deb ...
- Unpacking libfontconfig-dev:amd64 (2.14.1-4) ...
- Selecting previously unselected package libfontconfig1-dev:amd64.
- Preparing to unpack .../11-libfontconfig1-dev_2.14.1-4_amd64.deb ...
- Unpacking libfontconfig1-dev:amd64 (2.14.1-4) ...
- Selecting previously unselected package libpng-tools.
- Preparing to unpack .../12-libpng-tools_1.6.39-2_amd64.deb ...
- Unpacking libpng-tools (1.6.39-2) ...
- Selecting previously unselected package libtcl8.6:amd64.
- Preparing to unpack .../13-libtcl8.6_8.6.13+dfsg-2_amd64.deb ...
- Unpacking libtcl8.6:amd64 (8.6.13+dfsg-2) ...
- Selecting previously unselected package libxrender1:amd64.
- Preparing to unpack .../14-libxrender1_1%3a0.9.10-1.1_amd64.deb ...
- Unpacking libxrender1:amd64 (1:0.9.10-1.1) ...
- Selecting previously unselected package libxft2:amd64.
- Preparing to unpack .../15-libxft2_2.3.6-1_amd64.deb ...
- Unpacking libxft2:amd64 (2.3.6-1) ...
- Selecting previously unselected package x11-common.
- Preparing to unpack .../16-x11-common_1%3a7.7+23_all.deb ...
- Unpacking x11-common (1:7.7+23) ...
- Selecting previously unselected package libxss1:amd64.
- Preparing to unpack .../17-libxss1_1%3a1.2.3-1_amd64.deb ...
- Unpacking libxss1:amd64 (1:1.2.3-1) ...
- Selecting previously unselected package libtk8.6:amd64.
- Preparing to unpack .../18-libtk8.6_8.6.13-2_amd64.deb ...
- Unpacking libtk8.6:amd64 (8.6.13-2) ...
- Selecting previously unselected package libxext-dev:amd64.
- Preparing to unpack .../19-libxext-dev_2%3a1.3.4-1+b1_amd64.deb ...
- Unpacking libxext-dev:amd64 (2:1.3.4-1+b1) ...
- Selecting previously unselected package libxrender-dev:amd64.
- Preparing to unpack .../20-libxrender-dev_1%3a0.9.10-1.1_amd64.deb ...
- Unpacking libxrender-dev:amd64 (1:0.9.10-1.1) ...
- Selecting previously unselected package libxft-dev:amd64.
- Preparing to unpack .../21-libxft-dev_2.3.6-1_amd64.deb ...
- Unpacking libxft-dev:amd64 (2.3.6-1) ...
- Selecting previously unselected package libxss-dev:amd64.
- Preparing to unpack .../22-libxss-dev_1%3a1.2.3-1_amd64.deb ...
- Unpacking libxss-dev:amd64 (1:1.2.3-1) ...
- Selecting previously unselected package tcl8.6.
- Preparing to unpack .../23-tcl8.6_8.6.13+dfsg-2_amd64.deb ...
- Unpacking tcl8.6 (8.6.13+dfsg-2) ...
- Selecting previously unselected package tcl.
- Preparing to unpack .../24-tcl_8.6.13_amd64.deb ...
- Unpacking tcl (8.6.13) ...
- Selecting previously unselected package tcl8.6-dev:amd64.
- Preparing to unpack .../25-tcl8.6-dev_8.6.13+dfsg-2_amd64.deb ...
- Unpacking tcl8.6-dev:amd64 (8.6.13+dfsg-2) ...
- Selecting previously unselected package tcl-dev:amd64.
- Preparing to unpack .../26-tcl-dev_8.6.13_amd64.deb ...
- Unpacking tcl-dev:amd64 (8.6.13) ...
- Selecting previously unselected package tk8.6.
- Preparing to unpack .../27-tk8.6_8.6.13-2_amd64.deb ...
- Unpacking tk8.6 (8.6.13-2) ...
- Selecting previously unselected package tk.
- Preparing to unpack .../28-tk_8.6.13_amd64.deb ...
- Unpacking tk (8.6.13) ...
- Selecting previously unselected package tk8.6-dev:amd64.
- Preparing to unpack .../29-tk8.6-dev_8.6.13-2_amd64.deb ...
- Unpacking tk8.6-dev:amd64 (8.6.13-2) ...
- Selecting previously unselected package tk-dev:amd64.
- Preparing to unpack .../30-tk-dev_8.6.13_amd64.deb ...
- Unpacking tk-dev:amd64 (8.6.13) ...
- Setting up libxrender1:amd64 (1:0.9.10-1.1) ...
- Setting up libpng-tools (1.6.39-2) ...
- Setting up x11-common (1:7.7+23) ...
- invoke-rc.d: could not determine current runlevel
- invoke-rc.d: policy-rc.d denied execution of restart.
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libexpat1-dev:amd64 (2.5.0-1+deb12u1) ...
- Setting up uuid-dev:amd64 (2.38.1-5+deb12u3) ...
- Setting up libtcl8.6:amd64 (8.6.13+dfsg-2) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libxext-dev:amd64 (2:1.3.4-1+b1) ...
- Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up libxss1:amd64 (1:1.2.3-1) ...
- Setting up libxrender-dev:amd64 (1:0.9.10-1.1) ...
- Setting up libbrotli-dev:amd64 (1.0.9-2+b6) ...
- Setting up tcl8.6 (8.6.13+dfsg-2) ...
- Setting up libxft2:amd64 (2.3.6-1) ...
- Setting up tcl8.6-dev:amd64 (8.6.13+dfsg-2) ...
- Setting up libtk8.6:amd64 (8.6.13-2) ...
- Setting up libpng-dev:amd64 (1.6.39-2) ...
- Setting up libxss-dev:amd64 (1:1.2.3-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up libfreetype-dev:amd64 (2.12.1+dfsg-5+deb12u3) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Setting up tcl (8.6.13) ...
- Setting up tk8.6 (8.6.13-2) ...
- Setting up libfontconfig-dev:amd64 (2.14.1-4) ...
- Setting up tcl-dev:amd64 (8.6.13) ...
- Setting up tk (8.6.13) ...
- Setting up libxft-dev:amd64 (2.3.6-1) ...
- Setting up libfontconfig1-dev:amd64 (2.14.1-4) ...
- Setting up tk8.6-dev:amd64 (8.6.13-2) ...
- Setting up tk-dev:amd64 (8.6.13) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-tcl.1  (cached)
-> retrieved conf-tk.1  (cached)
-> installed conf-pkg-config.4
-> installed conf-tcl.1
-> installed conf-tk.1
-> retrieved labltk.8.06.12, ocamlbrowser.4.14.0  (cached)
[ERROR] The installation of labltk failed at "make install".

#=== ERROR while installing labltk.8.06.12 ====================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///src
# path                 ~/.opam/4.14/.opam-switch/build/labltk.8.06.12
# command              /usr/bin/make install
# exit-code            2
# env-file             ~/.opam/log/labltk-113-0b1fdb.env
# output-file          ~/.opam/log/labltk-113-0b1fdb.out
### output ###
# cd support; /usr/bin/make install
# make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/labltk.8.06.12/support'
# ocamlfind install labltk META fileevent.mli protocol.mli textvariable.mli timer.mli rawwidget.mli widget.mli fileevent.cmi protocol.cmi textvariable.cmi timer.cmi rawwidget.cmi widget.cmi tkthread.mli tkthread.cmi tkthread.cmo camltkwrap.cmi liblabltk.a \
#   -optional dlllabltk.so
# Installed /home/opam/.opam/4.14/lib/labltk/liblabltk.a
# Installed /home/opam/.opam/4.14/lib/labltk/camltkwrap.cmi
# Installed /home/opam/.opam/4.14/lib/labltk/tkthread.cmo
# Installed /home/opam/.opam/4.14/lib/labltk/tkthread.cmi
# Installed /home/opam/.opam/4.14/lib/labltk/tkthread.mli
# Installed /home/opam/.opam/4.14/lib/labltk/widget.cmi
# Installed /home/opam/.opam/4.14/lib/labltk/rawwidget.cmi
# Installed /home/opam/.opam/4.14/lib/labltk/timer.cmi
# Installed /home/opam/.opam/4.14/lib/labltk/textvariable.cmi
# Installed /home/opam/.opam/4.14/lib/labltk/protocol.cmi
# Installed /home/opam/.opam/4.14/lib/labltk/fileevent.cmi
# Installed /home/opam/.opam/4.14/lib/labltk/widget.mli
# Installed /home/opam/.opam/4.14/lib/labltk/rawwidget.mli
# Installed /home/opam/.opam/4.14/lib/labltk/timer.mli
# Installed /home/opam/.opam/4.14/lib/labltk/textvariable.mli
# Installed /home/opam/.opam/4.14/lib/labltk/protocol.mli
# Installed /home/opam/.opam/4.14/lib/labltk/fileevent.mli
# Installed /home/opam/.opam/4.14/lib/stublibs/dlllabltk.so
# Installed /home/opam/.opam/4.14/lib/stublibs/dlllabltk.so.owner
# ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.14/lib/stublibs is not mentioned in ld.conf
# Installed /home/opam/.opam/4.14/lib/labltk/META
# liblabltk.a
# make[1]: liblabltk.a: No such file or directory
# make[1]: *** [Makefile:49: install] Error 127
# make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/labltk.8.06.12/support'
# make: *** [Makefile:80: install] Error 2



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - install labltk 8.06.12
+- 
+- The following changes have been performed (the rest was aborted)
| - install conf-pkg-config 4
| - install conf-tcl        1
| - install conf-tk         1
+- 

<><> labltk.8.06.12 troubleshooting <><><><><><><><><><><><><><><><><><><><><><>
=> This package requires Tcl/Tk with its development packages installed on your system
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20250203233836.export"
OCaml

Innovation. Community. Security.