|
From: Marco C. <PY...@ou...> - 2025-09-19 02:40:46
|
Arkadiusz, Your suggestion has not worked here! In order to resolve my problem, I had to install the older cmake version to succeed with WSJTX source code compilation. /*sudo zypper in --oldpackage cmake3-3.31.8-2.8.x86_64.rpm */ IMHO it's unpleasant that a software update (in this case cmake) could broke the way we were using to do a particular thing! It should be nice if the WSJTX Dev team, could find a solution so that CMakeLists.txt, or maybe (additional source files) being compliant with newest building software as cmake. Regards, P.S. Thanks to the several OM which provided me answers about this issue! --- *73 de Marco, PY1ZRJ (former IK5BCU)* ** Il 18/09/25 15:12, Marco Calistri via wsjt-devel ha scritto: > Thank you a lot for your time! > > I tried something similar yesterday night and I get the code was > building correctly, but then it failed when I attempted to install, > using my usual method with --target install. > > In any case, I was really tired of the too many attempts, then it's > possible I did something wrong. > > So I will try again. > > Regards, > > Inviato da Outlook per Android <https://aka.ms/AAb9ysg> > ------------------------------------------------------------------------ > *From:* Arkadiusz Miśkiewicz via wsjt-devel > <wsj...@li...> > *Sent:* Thursday, September 18, 2025 2:57:03 PM > *To:* wsj...@li... <wsj...@li...> > *Cc:* Arkadiusz Miśkiewicz <ar...@ma...> > *Subject:* Re: [wsjt-devel] Candidate Release WSJT-X 3.0.0-rc1 > On 18/09/2025 18:45, Marco Calistri via wsjt-devel wrote: > > This is the main reason, since apparently cmake 4.1.1 has changed some > > requirements. > > Looked at this: > > CMake Error at CMakeLists.txt:199 (add_custom_target): > The target name "install" is reserved or not valid for certain CMake > features, such as generator expressions, and may result in undefined > behavior. > > change > > > diff --git a/CMakeLists.txt b/CMakeLists.txt > index bc179d8..93011e2 100755 > --- a/CMakeLists.txt > +++ b/CMakeLists.txt > @@ -196,7 +196,7 @@ add_dependencies (wsjtx-package hamlib-install) > > # export traditional targets > add_custom_target (build ALL DEPENDS wsjtx-build) > -add_custom_target (install DEPENDS wsjtx-install) > +add_custom_target (pkginstall DEPENDS wsjtx-install) > add_custom_target (package DEPENDS wsjtx-package) > > and it should work with your procedure > plus -DCMAKE_POLICY_VERSION_MINIMUM=3.5 > > -- > Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org ) > > > _______________________________________________ |