I'm trying to get GNOME to build on Debian GNU/kFreeBSD. Gnome-control-center requires HAL to build.
I get version 0.5.9 on this Debian (Sid).
So, my problem is a Linux-specific problem like this:
partutil.c:34:25: error: linux/hdreg.h: No such file or directory
Could you fix it?
you have to install the correct kernel header files including linux/hdreg.h. If you build for freeBSD you have maybe to enable the correct backend or you disable parted support --disable-parted.
Obviously, linux/hdreg.h is a Linux-specific kernel header, not to be found on FreeBSD.
So, I will play with the build option to see what I can get out of it, but still, it should build without problems, disabling options not available on a specific arch/OS.
... and using --disable-parted does not even solve the issue (allow to build).
Thanks for your help.
I supplied patches for this exact issue a while back. They're committed to master and hal-0_5_9-branch.
on Jan 24, 2017 at 09:09:56.
(provided by the Example extension).