Hi Gary,

I get the same problem when building on MacOS for Apple Silicon.

I worked around the problem by untangling a header issue.  

You need to overwrite:
hamlib-prefix/src/hamlib/include/hamlib/config.h 

With the one from:
hamlib-prefix/include/hamlib/config.h 

My guess is the build is finding the wrong one and I was too lazy to debug the 
cmake file.
Alex



> On Jun 16, 2022, at 11:56 AM, Gary Rogers via wsjt-devel 
> <wsjt-devel@lists.sourceforge.net> wrote:
> 
> FYI
> 
> Sent from my iPhone
> 
> Begin forwarded message:
> 
>> From: "Gary Rogers via groups.io" <cgaryrogers190=gmail....@groups.io>
>> Date: June 16, 2022 at 10:22:04 AM PDT
>> To: m...@wsjtx.groups.io
>> Subject: [WSJTX] WSJT-X 2.6.0rc1 build error #macOS
>> Reply-To: m...@wsjtx.groups.io
>> 
>> I’ve installed on Windows 10, MacOS 12.4 and Raspberry Pi using the 
>> provided installers. All seem to functioning as intended.
>> 
>> When I try to build from source for MacOS, I get the following fatal error 
>> during the Hamlib build portion:
>> 
>> /Users/charlesrogers/Build/hamlib-prefix/src/hamlib/src/parallel.h:30:12: 
>> fatal error: 'linux/parport.h' file not found
>> #  include <linux/parport.h>
>>           ^~~~~~~~~~~~~~~~~
>> 1 error generated.
>> make[5]: *** [dummy.lo] Error 1
>> make[5]: *** Waiting for unfinished jobs....
>> make[4]: *** [all-recursive] Error 1
>> make[3]: *** [hamlib-prefix/src/hamlib-stamp/hamlib-build] Error 2
>> make[2]: *** [CMakeFiles/hamlib-install.dir/all] Error 2
>> make[1]: *** [CMakeFiles/package.dir/rule] Error 2
>> make: *** [package] Error 2
>> 
>> Any thoughts on how to resolve?
>> 
>> 
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Groups.io Links: You receive all messages sent to this group.
>> View/Reply Online (#35422): https://WSJTX.groups.io/g/main/message/35422
>> Mute This Topic: https://groups.io/mt/91804625/406120
>> Mute #macos:https://WSJTX.groups.io/g/main/mutehashtag/macos
>> Group Owner: main+ow...@wsjtx.groups.io
>> Unsubscribe: 
>> https://WSJTX.groups.io/g/main/leave/4029737/406120/1666241859/xyzzy 
>> [cgaryrogers...@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>> 
>> 
> _______________________________________________
> wsjt-devel mailing list
> wsjt-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel



_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to