locked Compiling from source code question #linux


Zachrey
 

Hi All!

I just installed Linux Manjaro (Arch based Linux distro??) on a Dell Latitude E7470 laptop and am trying to compile wsjt-x on it.

My first question is where is the sha1sum hash to verify the integrity of the wsjtx-2.5.4.tgz file?

I cloned a git repository from the AUR (Arch User Repository??) called "wsjtx-system-hamlib" with the command:
git clone https://aur.archlinux.org/wsjtx-system-hamlib.git

Then I edited the PKGBUILD file and replaced the version number from 2.4.0 to 2.5.4 and similarly the .SRCINFO file and then tried to compile it with the command:
makepkg -si

and it started doing a WHOLE bunch of stuff and it looked like it was almost done with no errors but failed because, as I anticipated, the sha1sum hash for the wsjtx-2.5.4.tgz is not the same as the hash for the wsjtx-2.4.0.tgz file.

Any suggestions?

Thanks in advance!!

--
Zac Helmberger
W5ZAC


Zachrey
 

OK I tried another package with the command:
git clone https://aur.archlinux.org/wsjtx.git
and then
cd wsjtx
and
makepkg -si

This command produced massive verbiage and it appeared to be compiling all kinds of source code and I thought it was going to complete. But I got the following error messages:

QM-Format error
make[5]: *** [CMakeFiles/wsjtx.dir/build.make:234: qt_it.qm] Error 2
make[5]: *** Waiting for unfinished jobs....
[ 91%] Building required Qt translations for language zh_TW
make[4]: *** [CMakeFiles/Makefile2:1379: CMakeFiles/wsjtx.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
[ 91%] Linking CXX executable message_aggregator
[ 91%] Built target message_aggregator
make[3]: *** [Makefile:156: all] Error 2
make[2]: *** [CMakeFiles/wsjtx-build.dir/build.make:73: wsjtx-prefix/src/wsjtx-stamp/wsjtx-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:279: CMakeFiles/wsjtx-build.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

It is SOOOO Close!! Any suggestions?
--
Zac Helmberger
W5ZAC


Roger
 

On 11/05/2022 07:52, Zachrey via groups.io wrote:
OK I tried another package with the command:
git clone https://aur.archlinux.org/wsjtx.git
and then
cd wsjtx
and
makepkg -si
This command produced massive verbiage and it appeared to be compiling all kinds of source code and I thought it was going to complete. But I got the following error messages:
QM-Format error
make[5]: *** [CMakeFiles/wsjtx.dir/build.make:234: qt_it.qm] Error 2
make[5]: *** Waiting for unfinished jobs....
[ 91%] Building required Qt translations for language zh_TW
make[4]: *** [CMakeFiles/Makefile2:1379: CMakeFiles/wsjtx.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
[ 91%] Linking CXX executable message_aggregator
[ 91%] Built target message_aggregator
make[3]: *** [Makefile:156: all] Error 2
make[2]: *** [CMakeFiles/wsjtx-build.dir/build.make:73: wsjtx-prefix/src/wsjtx-stamp/wsjtx-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:279: CMakeFiles/wsjtx-build.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
It is SOOOO Close!! Any suggestions?
It looks like you're missing a language package. Try searching for zh_TW in your package manager and installing whatever language package that comes up which seems likely.

Why are you not installing a pre-compiled package?

73
Roger
G4HZA


Zachrey
 

I also tried this simple command:
pamac build wsjtx

And it looked like it gave the exact same result. Tons of encouraging verbiage but same error:

[ 91%] Building required Qt translations for language es
[ 91%] Building required Qt translations for language it
[ 91%] Building required Qt translations for language ja
QM-Format error
make[5]: *** [CMakeFiles/wsjtx.dir/build.make:234: qt_it.qm] Error 2
make[5]: *** Waiting for unfinished jobs....
[ 91%] Building required Qt translations for language zh_TW
make[4]: *** [CMakeFiles/Makefile2:1379: CMakeFiles/wsjtx.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
[ 91%] Linking CXX executable message_aggregator
[ 91%] Built target message_aggregator
make[3]: *** [Makefile:156: all] Error 2
make[2]: *** [CMakeFiles/wsjtx-build.dir/build.make:73: wsjtx-prefix/src/wsjtx-stamp/wsjtx-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:279: CMakeFiles/wsjtx-build.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
[zachrey@zachrey-latitudee7470 ~]$ pamac build wsjtx


--
Zac Helmberger
KI5SOH


Robert Bower
 

Zac,

Once I installed all the dependencies listed in the INSTALL document I was able to compile from source on my Debian based machines.

Looking at your errors I am wondering if you are missing one of the dependencies. I would double check the install document and see if you installed everything.

On 2022-05-11 12:22, Zachrey via groups.io wrote:
I also tried this simple command:
pamac build wsjtx
And it looked like it gave the exact same result. Tons of encouraging
verbiage but same error:
[ 91%] Building required Qt translations for language es
[ 91%] Building required Qt translations for language it
[ 91%] Building required Qt translations for language ja
QM-Format error
make[5]: *** [CMakeFiles/wsjtx.dir/build.make:234: qt_it.qm] Error 2
make[5]: *** Waiting for unfinished jobs....
[ 91%] Building required Qt translations for language zh_TW
make[4]: *** [CMakeFiles/Makefile2:1379: CMakeFiles/wsjtx.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
[ 91%] Linking CXX executable message_aggregator
[ 91%] Built target message_aggregator
make[3]: *** [Makefile:156: all] Error 2
make[2]: *** [CMakeFiles/wsjtx-build.dir/build.make:73:
wsjtx-prefix/src/wsjtx-stamp/wsjtx-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:279: CMakeFiles/wsjtx-build.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
[zachrey@zachrey-latitudee7470 ~]$ pamac build wsjtx
--
Zac Helmberger
KI5SOH
--
Thanks,

Robert Bower
W9RWB
WRPH745


Karza
 

Hi Zac,

I also tried this simple command:
pamac build wsjtx

And it looked like it gave the exact same result. Tons of encouraging verbiage but same error:

[ 91%] Building required Qt translations for language es
[ 91%] Building required Qt translations for language it
[ 91%] Building required Qt translations for language ja
QM-Format error
make[5]: *** [CMakeFiles/wsjtx.dir/build.make:234: qt_it.qm] Error 2
make[5]: *** Waiting for unfinished jobs....
[ 91%] Building required Qt translations for language zh_TW
make[4]: *** [CMakeFiles/Makefile2:1379: CMakeFiles/wsjtx.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
[ 91%] Linking CXX executable message_aggregator
[ 91%] Built target message_aggregator
make[3]: *** [Makefile:156: all] Error 2
make[2]: *** [CMakeFiles/wsjtx-build.dir/build.make:73: wsjtx-prefix/src/wsjtx-stamp/wsjtx-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:279: CMakeFiles/wsjtx-build.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
[zachrey@zachrey-latitudee7470 ~]$ pamac build wsjtx

Have a look at this message: https://wsjtx.groups.io/g/main/message/32940

Perhaps that can help you to fix the problem...

73's de Kari, oh2gqc


Zachrey
 

YYEEEEEEHHAAAAAAWWWWWWW!!!

It actually worked!!!

In my case, it aborted at the translations for Japanese. So I renamed both the "ja" files and the "it" files just in case, got some toast and came back to a new application on Manjaro!!

sudo mv /usr/share/qt/translations/qtbase_it.qm /usr/share/qt/translations/qtbase_it.qm.bak
sudo mv /usr/share/qt/translations/qtbase_ja.qm /usr/share/qt/translations/qtbase_ja.qm.bak

sudo mv /usr/share/qt/translations/qt_it.qm /usr/share/qt/translations/qt_it.qm.bak
sudo mv /usr/share/qt/translations/qt_ja.qm /usr/share/qt/translations/qt_ja.qm.bak

then I simply typed in
pamac build wsjtx

and let 'er rip!


--
Zac Helmberger
W5ZAC


Zachrey
 

Hi Robert!

I just installed Manjaro Linux and I could not find a pre-compiled version for Manjaro. I am a real noob here...
I tried the amazingly simple command
pamac build wsjtx and it produced what appeared to be an identical result. Then Karza suggested renaming the offending file for Japanese translations and it worked!

Here is what I did:
sudo mv /usr/share/qt/translations/qtbase_it.qm /usr/share/qt/translations/qtbase_it.qm.bak
sudo mv /usr/share/qt/translations/qtbase_ja.qm /usr/share/qt/translations/qtbase_ja.qm.bak

sudo mv /usr/share/qt/translations/qt_it.qm /usr/share/qt/translations/qt_it.qm.bak
sudo mv /usr/share/qt/translations/qt_ja.qm /usr/share/qt/translations/qt_ja.qm.bak

then I simply typed in
pamac build wsjtx

and let 'er rip!

--
Zac Helmberger
W5ZAC