discuss-gnustep
[Top][All Lists]
Advanced

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

Re: CoreBase from SVN fails to configure due to wrong libdispatch


From: Stefan Bidigaray
Subject: Re: CoreBase from SVN fails to configure due to wrong libdispatch
Date: Sat, 31 Jan 2015 10:56:16 -0600

So I did some searching and found that there are 2 versions of libdispatch floating around.  The official version, which is included as part of Debian, Ubuntu and most other distros (https://libdispatch.macosforge.org/) and a version by nickhutchinson which includes dispatch_get_main_queue_eventfd_np() (https://github.com/nickhutchinson/libdispatch).  The problem is that the official version of the library does not include this function, only nickhutchinson's version, and since his version is not what is currently distributed with distributions, this function doesn't exist for most people, even though they have the latest version of libdispatch.

Is there any other way we can support this functionality without the use of the _np functions?  My search also found we are the only project that actually uses it, so it did not gain wide support.

On Sat, Jan 31, 2015 at 9:52 AM, Luboš Doležel <lubos@dolezel.info> wrote:
On 01/30/2015 10:38 PM, Stefan Bidigaray wrote:
> I committed a hack to disable the broken check for GCD altogether until
> this can be sorted out.
>
> I forgot to reply to all on my other message that said:
>
> So I went hunting for what is happening and found a reference that says
> the configure script is broken
> (http://wiki.inkscape.org/wiki/index.php/CrossCompilingOsX#Building_gnustep-corebase).
> I haven't gone through this particular area in a long time (haven't
> build with libdispatch in over a year).
>
> It seems we only use GCD in CFRunLoop and it's not entirely clear to me
> what it's doing here (again, need Lubos' input).  For now, my suggestion
> is to pass --without-gcd.  CFStream should still work without GCD
> support, although I'm not sure how CFRunLoop will be impacted.
>

Hi,

CFRunLoop is supposed to be integrated with libdispatch because that's
how it is on OS X.

dispatch_get_main_queue_eventfd_np() is needed for working integration.
I've checked the package available in Ubuntu and it's either broken or
ancient, because this symbol is not present.

So I'd suggest removing your hack and using --without-gcd if your distro
has old/broken libdispatch.

--
Luboš Doležel

_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


reply via email to

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