sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
The package failed to build. The error log from opam follows.
[NOTE] Package dune is already installed (current version is 3.17.2). The following actions will be performed: === install 35 packages - install base v0.17.1 - install bigarray-compat 1.1.0 - install conf-cuda 1 - install conf-cuda-config 1 - install conf-libffi 2.0.0 - install conf-pkg-config 4 - install csexp 1.5.2 - install ctypes 0.23.0 - install ctypes-foreign 0.23.0 - install cudajit 0.4.1 - install dune-configurator 3.17.2 - install integers 0.7.0 - install jane-street-headers v0.17.0 - install jst-config v0.17.0 - install ocaml-compiler-libs v0.12.4 - install ocaml_intrinsics_kernel v0.17.1 - install ppx_assert v0.17.0 - install ppx_base v0.17.0 - install ppx_cold v0.17.0 - install ppx_compare v0.17.0 - install ppx_derivers 1.2.1 - install ppx_enumerate v0.17.0 - install ppx_expect v0.17.2 - install ppx_globalize v0.17.0 - install ppx_hash v0.17.0 - install ppx_here v0.17.0 - install ppx_inline_test v0.17.0 - install ppx_optcomp v0.17.0 - install ppx_sexp_conv v0.17.0 - install ppxlib 0.35.0 - install ppxlib_jane v0.17.0 - install sexplib0 v0.17.0 - install stdio v0.17.0 - install stdlib-shims 0.3.0 - install time_now v0.17.0 The following system packages will first need to be installed: libffi-dev pkg-config <><> 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" "libffi-dev" "pkg-config" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libffi-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 ... 18776 files and directories currently installed.) - Preparing to unpack .../libffi-dev_3.4.4-1_amd64.deb ... - Unpacking libffi-dev:amd64 (3.4.4-1) ... - Selecting previously unselected package libpkgconf3:amd64. - Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ... - Unpacking libpkgconf3:amd64 (1.8.1-1) ... - Selecting previously unselected package pkgconf-bin. - Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ... - Unpacking pkgconf-bin (1.8.1-1) ... - Selecting previously unselected package pkgconf:amd64. - Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ... - Unpacking pkgconf:amd64 (1.8.1-1) ... - Selecting previously unselected package pkg-config:amd64. - Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ... - Unpacking pkg-config:amd64 (1.8.1-1) ... - Setting up libffi-dev:amd64 (3.4.4-1) ... - Setting up libpkgconf3:amd64 (1.8.1-1) ... - Setting up pkgconf-bin (1.8.1-1) ... - Setting up pkgconf:amd64 (1.8.1-1) ... - Setting up pkg-config:amd64 (1.8.1-1) ... - Processing triggers for libc-bin (2.36-9+deb12u9) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved bigarray-compat.1.1.0 (cached) -> retrieved csexp.1.5.2 (cached) -> retrieved base.v0.17.1 (cached) -> installed conf-cuda-config.1 -> installed conf-pkg-config.4 -> retrieved ctypes.0.23.0, ctypes-foreign.0.23.0 (cached) -> installed bigarray-compat.1.1.0 -> retrieved cudajit.0.4.1 (cached) -> installed csexp.1.5.2 -> installed conf-libffi.2.0.0 -> retrieved integers.0.7.0 (cached) -> retrieved jane-street-headers.v0.17.0 (cached) [ERROR] The compilation of conf-cuda.1 failed at "sh -exc cc -c $CFLAGS -I/usr/local/cuda/include test.c". -> retrieved jst-config.v0.17.0 (cached) -> retrieved ocaml-compiler-libs.v0.12.4 (cached) -> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached) -> retrieved ppx_assert.v0.17.0 (cached) -> retrieved ppx_base.v0.17.0 (cached) -> retrieved ppx_cold.v0.17.0 (cached) -> retrieved ppx_compare.v0.17.0 (cached) -> retrieved ppx_derivers.1.2.1 (cached) -> retrieved ppx_enumerate.v0.17.0 (cached) -> retrieved ppx_globalize.v0.17.0 (cached) -> retrieved ppx_expect.v0.17.2 (cached) -> retrieved ppx_hash.v0.17.0 (cached) -> retrieved ppx_here.v0.17.0 (cached) -> retrieved ppx_inline_test.v0.17.0 (cached) -> retrieved ppx_optcomp.v0.17.0 (cached) -> retrieved dune-configurator.3.17.2 (cached) -> installed jane-street-headers.v0.17.0 -> installed ocaml-compiler-libs.v0.12.4 -> installed ocaml_intrinsics_kernel.v0.17.1 -> installed ppx_derivers.1.2.1 -> retrieved ppx_sexp_conv.v0.17.0 (cached) -> retrieved ppxlib.0.35.0 (cached) -> retrieved ppxlib_jane.v0.17.0 (cached) -> retrieved sexplib0.v0.17.0 (cached) -> retrieved stdio.v0.17.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved time_now.v0.17.0 (cached) -> installed stdlib-shims.0.3.0 -> installed sexplib0.v0.17.0 -> installed integers.0.7.0 -> installed dune-configurator.3.17.2 -> installed ctypes.0.23.0 -> installed base.v0.17.1 -> installed stdio.v0.17.0 -> installed ctypes-foreign.0.23.0 -> installed ppxlib.0.35.0 -> installed ppxlib_jane.v0.17.0 -> installed ppx_optcomp.v0.17.0 -> installed ppx_cold.v0.17.0 -> installed ppx_here.v0.17.0 -> installed ppx_globalize.v0.17.0 -> installed ppx_enumerate.v0.17.0 -> installed ppx_compare.v0.17.0 -> installed ppx_sexp_conv.v0.17.0 -> installed ppx_hash.v0.17.0 -> installed ppx_assert.v0.17.0 -> installed ppx_base.v0.17.0 -> installed jst-config.v0.17.0 -> installed time_now.v0.17.0 -> installed ppx_inline_test.v0.17.0 -> installed ppx_expect.v0.17.2 #=== ERROR while compiling conf-cuda.1 ========================================# # context 2.3.0 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src # path ~/.opam/5.1/.opam-switch/build/conf-cuda.1 # command /usr/bin/sh -exc cc -c $CFLAGS -I/usr/local/cuda/include test.c # exit-code 1 # env-file ~/.opam/log/conf-cuda-113-56a6ee.env # output-file ~/.opam/log/conf-cuda-113-56a6ee.out ### output ### # + cc -c -I/usr/local/cuda/include test.c # test.c:1:14: fatal error: cuda.h: No such file or directory # 1 | #include "cuda.h" # | ^~~~~~~~ # compilation terminated. <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build conf-cuda 1 +- +- The following changes have been performed (the rest was aborted) | - install base v0.17.1 | - install bigarray-compat 1.1.0 | - install conf-cuda-config 1 | - install conf-libffi 2.0.0 | - install conf-pkg-config 4 | - install csexp 1.5.2 | - install ctypes 0.23.0 | - install ctypes-foreign 0.23.0 | - install dune-configurator 3.17.2 | - install integers 0.7.0 | - install jane-street-headers v0.17.0 | - install jst-config v0.17.0 | - install ocaml-compiler-libs v0.12.4 | - install ocaml_intrinsics_kernel v0.17.1 | - install ppx_assert v0.17.0 | - install ppx_base v0.17.0 | - install ppx_cold v0.17.0 | - install ppx_compare v0.17.0 | - install ppx_derivers 1.2.1 | - install ppx_enumerate v0.17.0 | - install ppx_expect v0.17.2 | - install ppx_globalize v0.17.0 | - install ppx_hash v0.17.0 | - install ppx_here v0.17.0 | - install ppx_inline_test v0.17.0 | - install ppx_optcomp v0.17.0 | - install ppx_sexp_conv v0.17.0 | - install ppxlib 0.35.0 | - install ppxlib_jane v0.17.0 | - install sexplib0 v0.17.0 | - install stdio v0.17.0 | - install stdlib-shims 0.3.0 | - install time_now v0.17.0 +- <><> conf-cuda-config.1 installed successfully ><><><><><><><><><><><><><><><><> => NOTE: assuming CUDA will be installed under /usr/local/cuda <><> conf-cuda.1 troubleshooting ><><><><><><><><><><><><><><><><><><><><><><><> => Execute: $ sudo add-apt-repository multiverse; sudo apt update; sudo apt-get install nvidia-cuda-dev nvidia-cuda-toolkit => Alternatively: manually install CUDA or verify that CUDA_PATH is set properly, and re-install opam package conf-cuda-config. See: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html # 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/5.1/.opam-switch/backup/state-20250206030614.export"