jonaburg / picom

A lightweight compositor for X11 (previously a compton fork)
Other
954 stars 99 forks source link

a proplem with a shered lib #21

Open aagradwan opened 3 years ago

aagradwan commented 3 years ago

mint 20 amd64 out put : `❯ meson --buildtype=release . build The Meson build system Version: 0.53.2 Source dir: /home/radwan/picom Build dir: /home/radwan/picom/build Build type: native build Project name: picom Project version: 7 C compiler for the host machine: cc (gcc 9.3.0 "cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0") C linker for the host machine: cc ld.bfd 2.34 Host machine cpu family: x86_64 Host machine cpu: x86_64 Program git found: YES (/usr/bin/git) Has header "stdc-predef.h" : YES Compiler for C supports arguments -Wall: YES meson.build:63: WARNING: Consider using the built-in warning_level option instead of using "-Wall". Compiler for C supports arguments -Wcast-function-type: YES Compiler for C supports arguments -Wignored-qualifiers: YES Compiler for C supports arguments -Wmissing-parameter-type: YES Compiler for C supports arguments -Wnonnull: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wno-type-limits -Wtype-limits: YES Compiler for C supports arguments -Wold-style-declaration: YES Compiler for C supports arguments -Woverride-init: YES Compiler for C supports arguments -Wsign-compare: YES Compiler for C supports arguments -Wtype-limits: YES Compiler for C supports arguments -Wuninitialized: YES Compiler for C supports arguments -Wshift-negative-value: YES Compiler for C supports arguments -Wunused-but-set-parameter: YES Compiler for C supports arguments -Wunused-parameter: YES Compiler for C supports arguments -Wimplicit-fallthrough: YES Compiler for C supports arguments -Wno-unknown-warning-option -Wunknown-warning-option: NO Compiler for C supports arguments -Wno-missing-braces -Wmissing-braces: YES Compiler for C supports arguments -Wconversion: YES Compiler for C supports arguments -Wempty-body: YES

Executing subproject test.h method meson
Project name: test.h
Project version: undefined
C compiler for the host machine: cc (gcc 9.3.0 "cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0")
C linker for the host machine: cc ld.bfd 2.34
Build targets in project: 0
Subproject test.h finished.

Found pkg-config: /usr/bin/pkg-config (0.29.1) Found CMake: /usr/bin/cmake (3.16.3) Run-time dependency libev found: NO (tried pkgconfig and cmake) Library ev found: YES Library m found: YES Run-time dependency x11 found: YES 1.6.9 Run-time dependency x11-xcb found: YES 1.6.9 Run-time dependency xcb-renderutil found: YES 0.3.9 Run-time dependency xcb-image found: YES 0.4.0 Run-time dependency xext found: YES 1.3.4 Run-time dependency pixman-1 found: YES 0.38.4 Run-time dependency xcb-render found: YES 1.14 Run-time dependency xcb-damage found: YES 1.14 Run-time dependency xcb-randr found: YES 1.14 Run-time dependency xcb-sync found: YES 1.14 Run-time dependency xcb-composite found: YES 1.14 Run-time dependency xcb-shape found: YES 1.14 Run-time dependency xcb-xinerama found: YES 1.14 Run-time dependency xcb-xfixes found: YES 1.14 Run-time dependency xcb-present found: YES 1.14 Run-time dependency xcb found: YES 1.14 Has header "uthash.h" : YES Run-time dependency libconfig found: YES 1.5 Run-time dependency libpcre found: NO (tried pkgconfig and cmake)

src/meson.build:47:1: ERROR: Dependency "libpcre" not found, tried pkgconfig and cmake

A full log can be found at /home/radwan/picom/build/meson-logs/meson-log.txt

picom on  next took 6s ❯ ninja -C build ninja: Entering directory `build' ninja: error: loading 'build.ninja': No such file or directory

picom on  next ❯ # To install the binaries in /usr/local/bin (optional)

picom on  next ❯ sudo ninja -C build install ` what should i do ???

unai-ndz commented 3 years ago

You need to install the dependencies.

mzh5167x commented 3 years ago

I get the same problem even though I had installed libpcre2-dev as it was stated among the dependencies.

$ sudo apt install libpcre2-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libpcre2-dev is already the newest version (10.34-7).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mzh5167x commented 3 years ago

The problem have to do with library version, I guess. Installing libpcre3-dev solved it for me

unai-ndz commented 3 years ago

I guess the readme needs to be updated then but this must be an upstream issue. You should open this issue there picom

mzh5167x commented 3 years ago

Thanks