DragonFly users List (threaded) for 2010-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: kdebase-workspace4 error gmake[1]: *** [libs/ksysguard/processcore/CMakeFiles/ksysguardprocesslist_helper.dir/all] Error 2
I had a nightmare trying to compile pkgsrc stuff on DFBSD 2.8. I gave up
with KDE and Gnome, even MWM is not working right. I didn't try the
pre-compiled packages, but I decided to switched for a while to WindowMaker.
While working on a port to DFBSD, I'm getting this often as a result:
if defined(__FreeBSD__) | defined(__NetBSD__) | defined(__OpenBSD__) |
defined(__Darwin__) | defined(__DragonFly__)
Linux on it's side is using only one define, for a way larger market.
Even if BSDs remains different among each others, I think they should
try to be more source compatible to ease the ports and clean up the
source codes.
The pkgsrc manual suggests this:
«To distinguish between 4.4 BSD-derived systems and the rest of the
world, you should use the following code.
#include <sys/param.h>
#if (defined(BSD) && BSD >= 199306)
/* BSD-specific code goes here */
#else
/* non-BSD-specific code goes here */
#endif
If this distinction is not fine enough, you can also test for the
following macros.
FreeBSD __FreeBSD__
DragonFly __DragonFly__
Interix __INTERIX
IRIX __sgi (TODO: get a definite source for this)
Linux linux, __linux, __linux__
NetBSD __NetBSD__
OpenBSD __OpenBSD__
Solaris sun, __sun»
Ref: http://www.netbsd.org/docs/pkgsrc/fixes.html#fixes.build.cpp
SR
Le 2010-12-13 07:01, Hasso Tepper a écrit :
> On 13.12.10 13:18, Siju George wrote:
>> I get this error during bmake update
>>
>> EP' was not declared in this scope
>> /usr/pkgobj/bootstrap/work/pkgsrc/x11/kdebase-workspace4/work/kdebase-
>> workspace-4.4.5/libs/ksysguard/processcore
>> /processes_freebsd_p.cpp:134:
>> error: 'SWAIT' was not declared in this scope
>
> Please, someone write reasonable support for DragonFly - separate files,
> no messing with FreeBSD specific files etc. I promise I'll blow the dust
> away from my DragonFly machine and will commit it into the upstream.
>
>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]