Open sandikodev opened 1 year ago
Are you on Linux by any chance? There is no install target for Linux by design: https://github.com/jiixyj/epoll-shim/blob/master/CMakeLists.txt#L47
The only reason to build this project on Linux is for running the test suite in order to verify how the different system calls in the epoll
family behave natively.
Are you on Linux by any chance? There is no install target for Linux by design: https://github.com/jiixyj/epoll-shim/blob/master/CMakeLists.txt#L47
The only reason to build this project on Linux is for running the test suite in order to verify how the different system calls in the
epoll
family behave natively.
my bad, i am sorry.
i try to use libei. then they ask to use epoll-shim
https://gitlab.freedesktop.org/libinput/libei/-/blob/main/meson.build#L77`
...
dep_epoll = dependency('epoll-shim', required: false)
...
even though required: false
by mean optional *maybe
is it safe to me ? to comment this line, and go forward make install
so epoll-shim
can found by env: pkg-config
and cmake
?
what i've done:
[ 81%] Built target rwlock-test
[ 86%] Built target epoll-include-test
[ 90%] Built target epoll-include-c89-test
[ 95%] Built target fcntl-warning
[100%] Built target dlsym-fail
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /usr/local/libdata/pkgconfig/epoll-shim.pc
-- Installing: /usr/local/libdata/pkgconfig/epoll-shim-interpose.pc
CMake Error at cmake_install.cmake:69 (file):
file INSTALL cannot find
"/home/dev/hyper/Hyprland/dep/epoll-shim/build/install-include": No such
file or directory.
make: *** [Makefile:110: install] Error 1
➜ build git:(master) ✗ pwd
/home/dev/hyper/Hyprland/dep/epoll-shim/build
➜ build git:(master) ✗ mkdir install-include
➜ build git:(master) ✗ sudo make install
[ 4%] Built target microatf-c
[ 9%] Built target microatf-translate-signal
[ 11%] Built target rwlock
[ 18%] Built target epoll-test
[ 25%] Built target epoll-test-rdhup-linux-def
[ 30%] Built target timerfd-test
[ 34%] Built target timerfd-root-test
[ 39%] Built target timerfd-mock-test
[ 44%] Built target signalfd-test
[ 48%] Built target perf-many-fds
[ 53%] Built target atf-test
[ 58%] Built target eventfd-ctx-test
[ 62%] Built target pipe-test
[ 67%] Built target socketpair-test
[ 72%] Built target tst-epoll
[ 76%] Built target tst-timerfd
[ 81%] Built target rwlock-test
[ 86%] Built target epoll-include-test
[ 90%] Built target epoll-include-c89-test
[ 95%] Built target fcntl-warning
[100%] Built target dlsym-fail
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Up-to-date: /usr/local/libdata/pkgconfig/epoll-shim.pc
-- Up-to-date: /usr/local/libdata/pkgconfig/epoll-shim-interpose.pc
-- Installing: /usr/local/include/libepoll-shim
-- Installing: /usr/local/lib/cmake/epoll-shim/epoll-shim-targets.cmake
-- Installing: /usr/local/lib/cmake/epoll-shim/epoll-shim-config.cmake
host:
➜ libei git:(main) lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
If you are running Linux, there is no need for epoll-shim
at all. This is why there is the required: false
in dependency('epoll-shim', required: false)
. On Linux, epoll-shim
must not be found, actually.
infact there's no
install:
propertiesMakefile
have