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
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.
On Friday 24 of April 2015 10:22:22 Slávek Banko wrote:
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.
ehm, of course -DWITH_TDEHWLIB="OFF"
Am Freitag, 24. April 2015 schrieb Slávek Banko:
On Friday 24 of April 2015 10:22:22 Slávek Banko wrote:
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.
ehm, of course -DWITH_TDEHWLIB="OFF"
Thank you, that part works :-)
BTW, what do I loose when I build with -DWHITH_INOTIFY=OFF ?
Nik
2015-04-24 12:34 GMT+03:00 Dr. Nikolaus Klepp office@klepp.biz:
Am Freitag, 24. April 2015 schrieb Slávek Banko:
Thank you, that part works :-)
BTW, what do I loose when I build with -DWHITH_INOTIFY=OFF ?
Nik
Inotify is used to monitor changes on the file system. There are also several alternatives: dnotify (old linux kernels), gamin (aka FAM, an old userspace daemon originated from gnome, I don't know if it's available on FreeBSD), and stat(2) as a generic fallback. So if you haven't enabled any of WHITH_INOTIFY, WHITH_INOTIFY or WITH_GAMIN kde will periodically stat files it monitors which will lead for a bit larger overhead...
Am Sonntag, 17. Mai 2015 schrieb Fat-Zer:
2015-04-24 12:34 GMT+03:00 Dr. Nikolaus Klepp office@klepp.biz:
Am Freitag, 24. April 2015 schrieb Slávek Banko:
Thank you, that part works :-)
BTW, what do I loose when I build with -DWHITH_INOTIFY=OFF ?
Nik
Inotify is used to monitor changes on the file system. There are also several alternatives: dnotify (old linux kernels), gamin (aka FAM, an old userspace daemon originated from gnome, I don't know if it's available on FreeBSD), and stat(2) as a generic fallback. So if you haven't enabled any of WHITH_INOTIFY, WHITH_INOTIFY or WITH_GAMIN kde will periodically stat files it monitors which will lead for a bit larger overhead...
Thank you for the explanation. FreeBSD comes with gamin, so I'll give WITH_GAMIN a try :-)
Nik