bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fix for NSProcessInfo under FreeBSD


From: Adam Fedor
Subject: Re: Fix for NSProcessInfo under FreeBSD
Date: Sat, 21 Jun 2003 07:19:59 -0600
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.1) Gecko/20020905



Pete French wrote:
What I have not been able to do - due to my lack of knowledge of configure
and the buold system - is to set it up so it automatically links
all apps against -lkvm ... can one of the gurus out there do this fix for
me please ?


I added a check for libkvm in base/configure, if you can test it out.


>   /* open the kernel */
>   kptr = kvm_open(NULL, "/dev/null", NULL, O_RDONLY, "NSProcessInfo");
>   if(!kptr) {
> fprintf(stderr, "Your system appears to provide libkvm, but the kernel ope
n fails\n");
>     abort();
>   }


It would be nice to say something like

"Please reconfigure gnustep-base with --enable-fake-main to avoid use of kvm."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]