05-26-2019, 04:07 PM
OSCAR not building on Linux Manjaro
Something in the translations folder seems to be causing the issue?
here is the error I get:
Code:
sh: /usr/bin/lrelease: No such file or directory
Project ERROR: Failed to run: /usr/bin/lrelease -removeidentical /home/lirleni/.cache/yay/oscar-git/src/OSCAR-code/oscar/../Translations/Afrikaans.af.ts -qm /home/lirleni/.cache/yay/oscar-git/src/OSCAR-code/oscar/translations/Afrikaans.af.qm
make: *** [Makefile:47: sub-oscar-make_first-ordered] Error 3
==> ERROR: A failure occurred in build().
I have gotten the same issue whether I try it from the Pamac installer or running yay oscar-git in the terminal.
I am glad that the translations are available for those who need them, but if it is causing an issue with the build...
I am currently running Manjaro Gnome 3.32.2 on an Intel i3 processor. This is a brand new installation.
(until yesterday, I was running Manjaro KDE (primary) and Manjaro XFCE (secondary) on this system, with Sleepyhead. Sometime on Saturday, my KDE install 'disappeared' , but that is another issue. The Manjaro Gnome was a full reinstall / repartition of the drive. (Sleepyhead data was pulled to by backup drive.)
[I am also having a (different) problem trying to rebuild Sleepyhead... so right now, I am not able to backup my ResMed AutoSet info...]
I realize asking this on a holiday weekend means I may not get any help for a few days...
Vik-Thor Rose
RE: OSCAR not building on Linux Manjaro
lrelease is part of the QT project, so you should be able to install it from the Manjaro repositories. You might need to look for the linquist package.
Failing that, it shouldn't be too difficult to comment out the parts of the .pro file which relate to lrelease and the translations files.
05-26-2019, 07:35 PM
RE: OSCAR not building on Linux Manjaro
I ended up having to comment out the section in the OSCAR_code.pro file dealing with lrelease and translations.
I could not find a way to install the qttools5 stuff needed...
I was afraid that the file would get overwritten when I attempted to build it again, but I guess it went through OK.
I assume I will need to do the same thing for any updates?
If so, I will need to install a better text editor, one that is more for coding...
Thanks again!
Vik-Thor
11-16-2019, 04:19 AM
(This post was last modified: 11-16-2019, 04:29 AM by delta.)
RE: OSCAR not building on Linux Manjaro
Hi! I may be asking much, but could you make a short tutorial (steps) on how you managed to run OSCAR on manjaro?
I have little knowledge of the old linux, but I do not get the structure of the new GUI countless versions. I installed Manjaro because it seemed to need less maintenance, but being a windows user since it appeared, I see no resemblance in the process of "building" sth in linux and "instaling" sth in wndows.
I Hope you or someone else could help, thanks in advance.
Also, maybe someone could advise me how to translate the linux version, are the language files the same as in windows? I used qtlinguist to translate them and then exported as .ms files. Oh, linux OSCAR is already translated in Romanian. Ok, thanks.
I realised I don`t even know how to search the file OSCAR_code.pro in this Manjaro linux...
11-19-2019, 02:50 AM
(This post was last modified: 11-19-2019, 02:52 AM by delta.)
RE: OSCAR not building on Linux Manjaro
This is the error taht appears after I installed A LOT of things related to Qt that I found on different threads saying to be needed in order to install OSCAR in different linux distributions:
==> Starting build()...
Info: creating stash file /tmp/pamac-build-racer/oscar-git/src/OSCAR-code/.qmake.stash
cd oscar/ && ( test -e Makefile || /usr/bin/qmake -o Makefile /tmp/pamac-build-racer/oscar-git/src/OSCAR-code/oscar/oscar.pro ) && make -f Makefile
Project MESSAGE: Platform is /usr/lib/qt/mkspecs/linux-g++
Project MESSAGE: Building with regular OpenGL gGraphView
Updating /tmp/pamac-build-racer/oscar-git/src/OSCAR-code/oscar/git_info.h
Project MESSAGE: Updating gitinfo.h for non-Windows build
/usr/bin/lrelease: /usr/lib/libQt5Core.so.5: version `Qt_5.13' not found (required by /usr/bin/lrelease)
Project ERROR: Failed to run: /usr/bin/lrelease -removeidentical /tmp/pamac-build-racer/oscar-git/src/OSCAR-code/oscar/../Translations/Afrikaans.af.ts -qm /tmp/pamac-build-racer/oscar-git/src/OSCAR-code/oscar/translations/Afrikaans.af.qm
make: *** [Makefile:45: sub-oscar-make_first-ordered] Error 3
==> ERROR: A failure occurred in build().
Aborting...
RE: OSCAR not building on Linux Manjaro
Did you disable the Quick Compile option? That option will cause problems.
RE: OSCAR not building on Linux Manjaro
Thanks, but it`sw already too complex. I do have a background in IT but did not used linux much. I installed a fresh Manjaro 18 and it worked flowlessly from the AUR repository as it was supposed to.
I still do not know how to make public the Romanian translation I made for Oscar, and how to install the language in Linux too.
Now I started to understand the terms in English so that`s not urgent any more. But stiil, it could help others.