Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

epoll-shim.pc isn't compiled or builded #27

Open
ahmadraniri1994 opened this issue Mar 21, 2021 · 5 comments
Open

epoll-shim.pc isn't compiled or builded #27

ahmadraniri1994 opened this issue Mar 21, 2021 · 5 comments

Comments

@ahmadraniri1994
Copy link

Compiling fuzzel brought me here to satisfy one of its dependency (epoll-shim / epoll-shim.pc) , then I compiled epoll-shim and succesfully compiled but I can't find "epoll-shim.pc" though I know there is a "epollshim.pc.cmakein" . Any advice?

@ahmadraniri1994
Copy link
Author

quick update , when I ran "cmake --build . -t install" I got "gmake: *** No rule to make target 'install'. Stop." .

@jiixyj
Copy link
Owner

jiixyj commented Mar 21, 2021

Are you on Linux? In that case, there is nothing to install, because Linux provides epoll and friends out of the box.

Because of this, it looks like fuzzel's build system has epoll-shim as an optional dependency. On Linux, epoll-shim shouldn't be found.

@jiixyj
Copy link
Owner

jiixyj commented Mar 21, 2021

I should add that the reason anything builds on Linux at all is that there are a whole bunch of tests for epoll, timerfd, signalfd, eventfd etc. that are also useful on Linux.

Installation is disabled here in the CMakeLists.txt:

if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
return()
endif()

@ahmadraniri1994
Copy link
Author

Yes, I am on linux.

@dnkl
Copy link

dnkl commented Mar 23, 2021

epoll-shim is not needed when building fuzzel on Linux. It's only needed when building on *BSD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants