Skip to content

Cannot run makefile/run manual installation #534

@TheMin3s

Description

@TheMin3s

I described it kind of badly, but I can't get the app to run at all.
Logs are after running uv run python server_main.py --port 6400 --reload and going through the full installation process

[username]@MacBook-Pro ChatDev-main % uv run python server_main.py --port 6400 --reload
  × Failed to build `pycairo==1.29.0`
  ├─▶ The build backend returned an error
  ╰─▶ Call to `mesonpy.build_wheel` failed (exit status: 1)

      [stdout]
      + meson setup /Users/alex/.cache/uv/sdists-v9/pypi/pycairo/1.29.0/KVIH2rUdOWEevW8NxXeGp/src
      /Users/alex/.cache/uv/sdists-v9/pypi/pycairo/1.29.0/KVIH2rUdOWEevW8NxXeGp/src/.mesonpy-umo9bcvf
      -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md -Dwheel=true -Dtests=false
      --native-file=/Users/alex/.cache/uv/sdists-v9/pypi/pycairo/1.29.0/KVIH2rUdOWEevW8NxXeGp/src/.mesonpy-umo9bcvf/meson-python-native-file.ini
      The Meson build system
      Version: 1.10.1
      Source dir: /Users/alex/.cache/uv/sdists-v9/pypi/pycairo/1.29.0/KVIH2rUdOWEevW8NxXeGp/src
      Build dir: /Users/alex/.cache/uv/sdists-v9/pypi/pycairo/1.29.0/KVIH2rUdOWEevW8NxXeGp/src/.mesonpy-umo9bcvf
      Build type: native build
      Project name: pycairo
      Project version: 1.29.0
      C compiler for the host machine: cc (clang 17.0.0 "Apple clang version 17.0.0 (clang-1700.6.3.2)")
      C linker for the host machine: cc ld64 1230.1
      Host machine cpu family: aarch64
      Host machine cpu: aarch64
      Program python3 found: YES (/Users/alex/.cache/uv/builds-v0/.tmpyXrOda/bin/python)
      Compiler for C supports arguments -Wall: YES
      Compiler for C supports arguments -Warray-bounds: YES
      Compiler for C supports arguments -Wcast-align: YES
      Compiler for C supports arguments -Wconversion: YES
      Compiler for C supports arguments -Wextra: YES
      Compiler for C supports arguments -Wformat=2: YES
      Compiler for C supports arguments -Wformat-nonliteral: YES
      Compiler for C supports arguments -Wformat-security: YES
      Compiler for C supports arguments -Wimplicit-function-declaration: YES
      Compiler for C supports arguments -Winit-self: YES
      Compiler for C supports arguments -Wmissing-format-attribute: YES
      Compiler for C supports arguments -Wmissing-noreturn: YES
      Compiler for C supports arguments -Wnested-externs: YES
      Compiler for C supports arguments -Wold-style-definition: YES
      Compiler for C supports arguments -Wpacked: YES
      Compiler for C supports arguments -Wpointer-arith: YES
      Compiler for C supports arguments -Wreturn-type: YES
      Compiler for C supports arguments -Wshadow: YES
      Compiler for C supports arguments -Wsign-compare: YES
      Compiler for C supports arguments -Wstrict-aliasing: YES
      Compiler for C supports arguments -Wundef: YES
      Compiler for C supports arguments -Wunused-but-set-variable: YES
      Compiler for C supports arguments -Wswitch-default: YES
      Compiler for C supports arguments -Wno-missing-field-initializers: YES
      Compiler for C supports arguments -Wno-unused-parameter: YES
      Compiler for C supports arguments -fno-strict-aliasing: YES
      Compiler for C supports arguments -fvisibility=hidden: YES
      Did not find pkg-config by name 'pkg-config'
      Found pkg-config: NO
      Did not find CMake 'cmake'
      Found CMake: NO
      Run-time dependency cairo found: NO (tried framework)

      ../cairo/meson.build:31:12: ERROR: Dependency lookup for cairo with method 'pkgconfig' failed: Pkg-config for
      machine host machine not found. Giving up.

      A full log can be found at
      /Users/alex/.cache/uv/sdists-v9/pypi/pycairo/1.29.0/KVIH2rUdOWEevW8NxXeGp/src/.mesonpy-umo9bcvf/meson-logs/meson-log.txt

      hint: This usually indicates a problem with the package or the build environment.
  help: `pycairo` (v1.29.0) was included because `devall` (v0.1.0) depends on `xhtml2pdf` (v0.2.17) which depends on
        `svglib` (v1.6.0) which depends on `rlpycairo` (v0.4.0) which depends on `pycairo`

macOS 26.2
Macbook Pro Apple M4 Max
all dependencies were installed (make dev returns a very similar output)

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