m2-farzan / ros2-galactic-PKGBUILD

AUR Package for ROS 2 Galactic
11 stars 11 forks source link

<sys/sysctl.h> not found when building OGRE #32

Open juanmed opened 1 year ago

juanmed commented 1 year ago

Hi,

Thanks for sharing this package. I am new to building on arch and tried your ros2-galatic package with pamac build ros2-galactic. In the middle of the process I get an error

OgreMain/src/OgrePlatformInformation.cpp:46:18: fatal error: sys/sysctl.h: No such file or directory
   46 |         #include <sys/sysctl.h>

Searching on the internet I found that <sys/sysctl.h> might not be necessary and apparently only needed for MacOS. I am not sure how to fix this. Could you please provide some guidance. Thanks!

m2-farzan commented 1 year ago

Hi, thanks for reporting the issue. The problem seems to be from an external AUR package that we just depend on. You should probably ask the corresponding maintainer to fix it.