OK I made the edit to the Hamlib version in cmakelist.txt to 4.5.3 and was able 
to build 2.6.0 for Mac. A couple of issues I have encountered during building 
the last several versions

Build environment MacOS SDK, Xcode, dependencies in Macports  and Cmake 3.25.1

While building hamlib, I get this error:

/Users/charlesrogers/Build/hamlib-prefix/src/hamlib/src/parallel.h:31:12: fatal 
error: 'linux/parport.h' file not found
#  include <linux/parport.h>

I get around this by going into my build/hamlib-prefix/src/hamlib and running 
./configure

This solves the hamlib problem.

Since upgrading the  MacOS 13 Ventura, I’m getting this error:

/Users/charlesrogers/Build/wsjtx-prefix/src/wsjtx/widgets/mainwindow.cpp:4822:9:
 error: 'sprintf' is deprecated: This function is provided for compatibility 
reasons only.  Due to security concerns inherent in the design of sprintf(3), 
it is highly recommended that you use snprintf(3) instead. 
[-Werror,-Wdeprecated-declarations]
        sprintf(s,"Tx:  %d Slots",foxcom_.nslots);

There is a similar error on line 4824

I’ve gotten around this by changing sprintf to snprintf in both locations and 
rewrite the expression snprintf(s, sizeof(s), "Tx:  %d Slots",foxcom_.nslots);
      } else {
        snprintf(s,sizeof(s),"Tx: %s",msgsent);

I’m providing this info in the event developers wish to update code to resolve 
these errors. I’m still able to build from source with the workaround noted 
above. Thanks to all for this software!

 
> On Jan 6, 2023, at 9:22 AM, Uwe, DG2YCB via wsjt-devel 
> <wsjt-devel@lists.sourceforge.net> wrote:
> 
> Try to download again. I think Sourceforge still had the old copy. But the 
> one I downloaded 1 minute ago has the correct entry.
> 
> 73 de DG2YCB,
> Uwe
> 
> 
> Am 06.01.2023 um 18:07 schrieb Gary Rogers via wsjt-devel:
>> Same issue for me downloaded from new WSJT-X site.
>> 
>>> On Jan 6, 2023, at 8:55 AM, Kari Sillanmäki via wsjt-devel 
>>> <wsjt-devel@lists.sourceforge.net> 
>>> <mailto:wsjt-devel@lists.sourceforge.net> wrote:
>>> 
>>> 
>>> Hi Uwe,
>>> 
>>> I just downloaded the tarball. 
>>> It still has the wrong CmakeLists.txt entry...
>>> 
>>> I used this link to download:
>>> https://sourceforge.net/projects/wsjt/files/wsjtx-2.6.0/wsjtx-2.6.0.tgz
>>> Is this the correct link??
>>> 
>>> 73's de Kari, oh2gqc
>>>  
>>> On 6.1.2023 18.05, Uwe, DG2YCB via wsjt-devel wrote:
>>>> Hi Stefan,
>>>> 
>>>> Yes, it must be 4.5.3. I have updated the tarball. Please download again 
>>>> and see if it works better now.
>>>> 
>>>> 73 de DG2YCB,
>>>> Uwe
>>>> 
>>>> 
>>>> Am 06.01.2023 um 16:57 schrieb Stefan HB9TMC via wsjt-devel:
>>>>> Hi, 
>>>>> 
>>>>> cmake generated an error: 
>>>>> CMake Error at CMakeLists.txt:56 (file): 
>>>>>   file failed to open for reading (No such file or directory): 
>>>>> 
>>>>>     ~/bin/wsjtx-2.6.0/src/hamlib-4.5.tar.gz.md5sum 
>>>>> 
>>>>> 
>>>>> 
>>>>> I think CMakeLists.txt should be: 
>>>>> 6c6 
>>>>> < set (__hamlib_upstream hamlib-4.5.3) 
>>>>> --- 
>>>>> > set (__hamlib_upstream hamlib-4.5) 
>>>>> 
>>>>> 
>>>>> 73 
>>>>> Stefan 
>>>>> 
>>>>> 
>>>>> _______________________________________________ 
>>>>> wsjt-devel mailing list 
>>>>> wsjt-devel@lists.sourceforge.net 
>>>>> <mailto:wsjt-devel@lists.sourceforge.net> 
>>>>> https://lists.sourceforge.net/lists/listinfo/wsjt-devel 
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> wsjt-devel mailing list
>>>> wsjt-devel@lists.sourceforge.net <mailto:wsjt-devel@lists.sourceforge.net>
>>>> https://lists.sourceforge.net/lists/listinfo/wsjt-devel
>>> 
>>> _______________________________________________
>>> wsjt-devel mailing list
>>> wsjt-devel@lists.sourceforge.net <mailto:wsjt-devel@lists.sourceforge.net>
>>> https://lists.sourceforge.net/lists/listinfo/wsjt-devel
>> 
>> 
>> 
>> 
>> _______________________________________________
>> wsjt-devel mailing list
>> wsjt-devel@lists.sourceforge.net <mailto: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

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

Reply via email to