Skip to content

Installing from Git Clone problem #59

@86andyd

Description

@86andyd

I ran into a problem installing from Git clone using the instructions on the install page here. I would like to use this install method so I can stay updated with a few simple commands in the future. I'm running POPos 22.04.

What should I do?

I'll post my results below, and Thank You!

'git clone https://github.com/linx-systems/clamui.git
cd clamui
./scripts/local-run.sh
Cloning into 'clamui'...
remote: Enumerating objects: 6215, done.
remote: Counting objects: 100% (329/329), done.
remote: Compressing objects: 100% (235/235), done.
remote: Total 6215 (delta 176), reused 186 (delta 93), pack-reused 5886 (from 2)
Receiving objects: 100% (6215/6215), 4.80 MiB | 464.00 KiB/s, done.
Resolving deltas: 100% (4400/4400), done.
Installing dependencies for Debian/Ubuntu...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
gir1.2-gtk-4.0 is already the newest version (4.6.9+ds-0ubuntu0.22.04.2).
gir1.2-adw-1 is already the newest version (1.1.7-0ubuntu0.22.04.1).
python3-gi is already the newest version (3.42.1-0ubuntu1).
python3-gi-cairo is already the newest version (3.42.1-0ubuntu1).
The following packages were automatically installed and are no longer required:
fonts-lyx libboost-dev libboost1.74-dev libjs-jquery-ui liblbfgsb0
libopenblas-dev libopenblas-pthread-dev libopenblas0 libxsimd-dev
python-matplotlib-data python3-attr python3-beniget python3-brotli
python3-cycler python3-dateutil python3-decorator python3-fonttools
python3-fs python3-gast python3-kiwisolver python3-lz4 python3-matplotlib
python3-mpmath python3-ply python3-psutil python3-pythran python3-scipy
python3-sympy python3-ufolib2 python3-unicodedata2 unicode-data
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libcairo2-dev is already the newest version (1.16.0-5ubuntu2).
libcairo2-dev set to manually installed.
pkg-config is already the newest version (0.29.2-1ubuntu3).
python3-dev is already the newest version (3.10.6-1~22.04.1).
python3-dev set to manually installed.
The following packages were automatically installed and are no longer required:
fonts-lyx libboost-dev libboost1.74-dev libjs-jquery-ui liblbfgsb0
libopenblas-dev libopenblas-pthread-dev libopenblas0 libxsimd-dev
python-matplotlib-data python3-attr python3-beniget python3-brotli
python3-cycler python3-dateutil python3-decorator python3-fonttools
python3-fs python3-gast python3-kiwisolver python3-lz4 python3-matplotlib
python3-mpmath python3-ply python3-psutil python3-pythran python3-scipy
python3-sympy python3-ufolib2 python3-unicodedata2 unicode-data
Use 'sudo apt autoremove' to remove them.
Suggested packages:
libgirepository1.0-doc python3-beaker python-mako-doc
The following NEW packages will be installed:
gobject-introspection libgirepository1.0-dev python3-mako python3-markupsafe
0 upgraded, 4 newly installed, 0 to remove and 15 not upgraded.
Need to get 1,217 kB of archives.
After this operation, 13.2 MB of additional disk space will be used.
Get:1 http://apt.pop-os.org/ubuntu jammy/main amd64 python3-markupsafe amd64 2.0.1-2build1 [12.7 kB]
Get:2 http://apt.pop-os.org/ubuntu jammy-security/main amd64 python3-mako all 1.1.3+ds1-2ubuntu0.1 [60.5 kB]
Get:3 http://apt.pop-os.org/ubuntu jammy/main amd64 gobject-introspection amd64 1.72.0-1 [297 kB]
Get:4 http://apt.pop-os.org/ubuntu jammy/main amd64 libgirepository1.0-dev amd64 1.72.0-1 [847 kB]
Fetched 1,217 kB in 2s (777 kB/s)
Selecting previously unselected package python3-markupsafe.
(Reading database ... 339843 files and directories currently installed.)
Preparing to unpack .../python3-markupsafe_2.0.1-2build1_amd64.deb ...
Unpacking python3-markupsafe (2.0.1-2build1) ...
Selecting previously unselected package python3-mako.
Preparing to unpack .../python3-mako_1.1.3+ds1-2ubuntu0.1_all.deb ...
Unpacking python3-mako (1.1.3+ds1-2ubuntu0.1) ...
Selecting previously unselected package gobject-introspection.
Preparing to unpack .../gobject-introspection_1.72.0-1_amd64.deb ...
Unpacking gobject-introspection (1.72.0-1) ...
Selecting previously unselected package libgirepository1.0-dev:amd64.
Preparing to unpack .../libgirepository1.0-dev_1.72.0-1_amd64.deb ...
Unpacking libgirepository1.0-dev:amd64 (1.72.0-1) ...
Setting up python3-markupsafe (2.0.1-2build1) ...
Setting up python3-mako (1.1.3+ds1-2ubuntu0.1) ...
Setting up gobject-introspection (1.72.0-1) ...
Setting up libgirepository1.0-dev:amd64 (1.72.0-1) ...
Processing triggers for man-db (2.10.2-1) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libjpeg-dev is already the newest version (8c-2ubuntu10).
zlib1g-dev is already the newest version (1:1.2.11.dfsg-2ubuntu9.2).
The following packages were automatically installed and are no longer required:
fonts-lyx libboost-dev libboost1.74-dev libjs-jquery-ui liblbfgsb0
libopenblas-dev libopenblas-pthread-dev libopenblas0 libxsimd-dev
python-matplotlib-data python3-attr python3-beniget python3-brotli
python3-cycler python3-dateutil python3-decorator python3-fonttools
python3-fs python3-gast python3-kiwisolver python3-lz4 python3-matplotlib
python3-mpmath python3-ply python3-psutil python3-pythran python3-scipy
python3-sympy python3-ufolib2 python3-unicodedata2 unicode-data
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
Dependencies installed successfully.
Syncing Python dependencies...
Using CPython 3.11.14
Creating virtual environment at: .venv
Resolved 55 packages in 4ms
Built clamui @ file:///home/samsungsmarttv/clamui
Built pycairo==1.29.0
Built pygobject-stubs==2.16.0
× Failed to build pygobject==3.54.5
├─▶ The build backend returned an error
╰─▶ Call to mesonpy.build_wheel failed (exit status: 1)

  [stdout]
  + meson setup
  /home/samsungsmarttv/.cache/uv/sdists-v9/pypi/pygobject/3.54.5/2toq_fODcubFkpG01JWXo/src
  /home/samsungsmarttv/.cache/uv/sdists-v9/pypi/pygobject/3.54.5/2toq_fODcubFkpG01JWXo/src/.mesonpy-hklwv2dy
  -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md
  -Dtests=false -Dwheel=true --wrap-mode=nofallback
  --native-file=/home/samsungsmarttv/.cache/uv/sdists-v9/pypi/pygobject/3.54.5/2toq_fODcubFkpG01JWXo/src/.mesonpy-hklwv2dy/meson-python-native-file.ini
  The Meson build system
  Version: 1.10.1
  Source dir:
  /home/samsungsmarttv/.cache/uv/sdists-v9/pypi/pygobject/3.54.5/2toq_fODcubFkpG01JWXo/src
  Build dir:
  /home/samsungsmarttv/.cache/uv/sdists-v9/pypi/pygobject/3.54.5/2toq_fODcubFkpG01JWXo/src/.mesonpy-hklwv2dy
  Build type: native build
  Project name: pygobject
  Project version: 3.54.5
  C compiler for the host machine: cc (gcc 11.4.0 "cc (Ubuntu
  11.4.0-1ubuntu1~22.04.3) 11.4.0")
  C linker for the host machine: cc ld.bfd 2.38
  Host machine cpu family: x86_64
  Host machine cpu: x86_64
  Program python3 found: YES
  (/home/samsungsmarttv/.cache/uv/builds-v0/.tmpLcDgMz/bin/python)
  Found pkg-config: YES (/usr/bin/pkg-config) 0.29.2
  Run-time dependency python found: YES 3.11
  Found pkg-config: YES (/usr/bin/pkg-config) 0.29.2
  Found CMake: /usr/bin/cmake (3.22.1)
  Run-time dependency girepository-2.0 found: NO (tried pkgconfig and
  cmake)
  Not looking for a fallback subproject for the dependency
  girepository-2.0 because:
  Use of fallback dependencies is disabled.

  ../meson.build:31:9: ERROR: Dependency 'girepository-2.0' is required
  but not found.

  A full log can be found at
  /home/samsungsmarttv/.cache/uv/sdists-v9/pypi/pygobject/3.54.5/2toq_fODcubFkpG01JWXo/src/.mesonpy-hklwv2dy/meson-logs/meson-log.txt

  hint: This usually indicates a problem with the package or the build
  environment.

help: pygobject (v3.54.5) was included because clamui (v0.1.4) depends
on pygobject
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions