trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2015

Re: [trinity-devel] Compiling tdelibs on FreeBSD stuck on tdehardwaredevices.*

From: Slávek Banko <slavek.banko@...>
Date: Fri, 24 Apr 2015 10:22:22 +0200
On Friday 24 of April 2015 10:15:26 Dr. Nikolaus Klepp wrote:
> Hi all!
>
> I try to compile TDE on FreeBSD. I succeeded on:
> - tqt3
> - tqtinterface
> - arts
> - dbus-tqt
> - dbus-1-tqt
> - libart-lgpl
>
> But now I am stuck at
> - tdelibs
>
> Reason: libudev is not available on FreeBSD. Also there are some linux-only
> includes (e.g. linux/fd.h).
>
> As far as I can tell it's only "tdehardwaredevices.(h|cpp)" that needs
> udev.
>
> Is there an easy way to get rid of the libudev-dependecy and the
> linux-only-stuff? Some cmake defines I am missing?
>
> Nik

You can try to add build option: -DWITH_TDEHWLIB="ON" to disable tdehwlib 
which require udev. And if is on FreeBSD available HAL, you can add build 
option -DWITH_HAL="ON" to enable HAL support.

-- 
Slávek