Skip to content

Install on Linux Mint 22 - libwebkit2gtk-4.0-dev not installable and declare_dependency error #195

Open
@undecided

Description

@undecided

Describe the bug
Does not install on latest version of Linux Mint (and probably ubuntu) - cannot install dependencies

To Reproduce
Steps to reproduce the behavior:

apt install -y gobject-introspection libgee-0.8-dev libwebkit2gtk-4.0-dev libgtksourceview-3.0-dev libcln-dev libgranite-dev libcurl4-openssl-dev libmpfr-dev intltool meson valac

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libwebkit2gtk-4.0-dev
E: Couldn't find any package by glob 'libwebkit2gtk-4.0-dev'

Available packages: libwebkit2gtk-4.1-dev - however, it doesn't build with that package

WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency webkit2gtk-4.0 found: NO (tried pkgconfig and cmake)

meson.build:89:8: ERROR: Dependency "webkit2gtk-4.0" not found, tried pkgconfig and cmake

If you manage to work around those, finally, subprojects/libqalculate/libqalculate/meson.build raises an error:

subprojects/libqalculate/libqalculate/meson.build:119:26: ERROR: declare_dependency keyword argument 'link_with' was of type array[str] but should have been array[BothLibraries | SharedLibrary | StaticLibrary | CustomTarget | CustomTargetIndex | Jar | Executable | Dependency]

Expected behavior
Installable from instructions in BUILDING.md

Desktop (please complete the following information):

  • OS: Linux Mint 22 ("wilma")
  • Version: master

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions