Libkdegames in Mojave (was Re: Jigsaw puzzles)

Ian Wadham iandw.au at gmail.com
Mon Apr 13 02:58:05 UTC 2020


Hi Lenore and Franco,

> On 13 Apr 2020, at 5:18 am, Lenore Horner <LenoreHorner at sbcglobal.net> wrote:
> 
> Ian, 
> Thanks for the help.  Results below.
> 
>> On Apr 12, 2020, at 01:39, Ian Wadham <iandw.au at gmail.com> wrote:
>> 
>> Hi Lenore,
>> 
>> Can you just try something for me on your Mojave system?
>> 
>> In a Terminal window type the command:
>> 
>>    ll /System/Library/Frameworks/OpenAL.framework/Versions

> ls -l /System/Library/Frameworks/OpenAL.framework/Versions
> total 0
> drwxr-xr-x  5 root  wheel  160 Jul 29  2019 A
> lrwxr-xr-x  1 root  wheel    1 Aug 19  2019 Current -> A
> 
> That doesn’t look different here.

That’s odd, I was expecting a B version for whatever Apple OSX is doing now in OpenAL.framework in Mojave, with the A version left as it was.

>> The command is said as “ell ell”, short for “long list”. On my system (High Sierra) I get output:
>> 
>>    drwxr-xr-x  8 root  wheel  256  5 Apr 18:50 A/
>>    lrwxr-xr-x  1 root  wheel    1 19 Nov  2017 Current@ -> A
>> 
>> My guess is that, on Mojave, there will be an extra line, listing directory B/, and Current will point to B.
>> 
>> Please also try the command:
>> 
>>    ls /System/Library/Frameworks/OpenAL.framework/Versions/Current/Headers
>> 
>> I get output:
>> 
>>    MacOSX_OALExtensions.h  al.h
>>    OpenAL.h                alc.h
>> 
>> meaning that the file “al.h” is there to be found.
> ls /System/Library/Frameworks/OpenAL.framework/Versions/Current/Headers
> ls: /System/Library/Frameworks/OpenAL.framework/Versions/Current/Headers: No such file or directory
> 
> Looks like your bet is right.

Not so, I was expecting there to be at least one header, such as OpenAL.h, which incorporates al.h and alc.h (both are referenced by libkdegames code).

Instead we have no headers at all, not even a Headers directory. Weird…

I believe Apple OSX uses OpenAL for its own sounds, which I daresay are still working on Mojave and Catalina, so Apple must have some new way of linking the OpenAL package into apps and other programs.

I will see if I can escalate this problem via Ticket #57294 or the MacPorts Developers’ list, but I have been out of touch with both for a long time.

Cheers, Ian W.

>> What output do you get? My guess is that “al.h” will not be there on your Mojave system.
>> 
>> Cheers, Ian W.
>> 
>>> On 12 Apr 2020, at 1:53 pm, Ian Wadham <iandw.au at gmail.com> wrote:
>>> 
>>> Hi Lenore,
>>> 
>>>> On 12 Apr 2020, at 1:53 am, Lenore Horner <LenoreHorner at sbcglobal.net> wrote:
>>>> 
>>>> Ian, 
>>>> Thanks for a really nice suggestion.
>>> 
>>> Thank you for your kind words, Lenore.
>>> 
>>>> Sadly, libkdegames has had a failure on Mojave for the last 18 months.
>>> 
>>> I am really sorry to hear that. There are so many games in the KDE Games collection that would be good for passing time during “lockdown”, not just Palapeli.
>>> 
>>> I have had a look at MacPorts Ticket #57294 and especially at your comment 12 and attachment.
>>> 
>>> It is certainly odd that KDE’s CMake processing reports, from lines 4163 to 4173, that it has found the OpenAL and SndFile libraries and include files - and where it has found them, see lines 4166 and 4167 - but then the build crashes with
>>> 
>>>    “…/libkdegames-4.14.3/audio/kgopenalruntime_p.h:25:10: fatal error: 'al.h' file not found” in lines 4387 to 4391 inclusive.
>>> 
>>> Unfortunately I only have High Sierra installed (1 OSX release before Mojave) and the last time I built KDE Games from MacPorts was November 2017. However I will see if I can recall how the KDE Games builds work and if I can get up-to-date with MacPorts, selfupdates and upgrades. I must confess I am hopelessly behind with MacPorts maintenance (hell, I’m 82 now), but I did have some experience introducing the use of OpenAL into KDE Games several years ago. I won’t be moving to Mojave any time soon, though.
>>> 
>>> Cheers, Ian W.
>>> 
>>>> There’s a purported solution followed by a comment that it’s not the right way to do things which leaves me debating whether to try a “not right way” solution that is reported to work but will maybe cause strangeness down the road for things that are more critical than a game.
>>>> Lenore
>>>> 
>>>>> On Mar 29, 2020, at 20:03, Ian Wadham <iandw.au at gmail.com> wrote:
>>>>> 
>>>>> If you like jigsaw puzzles and are isolated or stuck at home due to coronavirus and looking for things to do, try the Palapeli port, which is part of KDE Games 4.
>>>>> 
>>>>> ……………….
>>>>> Enjoy,
>>>>> Ian Wadham.



More information about the macports-users mailing list