Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account


New Posts   Today's Posts

OSCAR not building on Linux Manjaro
#1
Question 
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
Post Reply Post Reply
#2
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.
Apnea Board Monitors are members who help oversee the smooth functioning of the Board. They are also members of the Advisory Committee which helps shape Apnea Board's rules & policies. Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply
#3
Thumbsup 
RE: OSCAR not building on Linux Manjaro
Thanks 

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. Smile

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
Post Reply Post Reply
#4
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...
Post Reply Post Reply
#5
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...
Post Reply Post Reply
#6
RE: OSCAR not building on Linux Manjaro
Did you disable the Quick Compile option? That option will cause problems.
Crimson Nape
Apnea Board Moderator
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
The Guide to Understanding OSCAR
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Apnea Helpful Tips

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
Post Reply Post Reply
#7
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.
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Is there a solution to read out the newer versions of the Contect CMS50F under Linux? Mast04 10 972 03-25-2024, 08:46 PM
Last Post: Pierelly
  OSCAR v1.5.2 - Linux Versions Crimson Nape 3 270 03-17-2024, 02:35 PM
Last Post: Crimson Nape
  What version of Linux for my Chromebook? bluetangle127 1 460 10-26-2023, 10:54 AM
Last Post: Crimson Nape
  F12/Take Screenshot Not Saving Screenshot under Linux? DigitalMan43 4 701 09-30-2023, 05:04 PM
Last Post: DigitalMan43
  o2 insight pro on linux Jim Vader 10 1,453 08-16-2023, 07:00 AM
Last Post: data01
  OSCAR for Ubuntu Linux "blocked and dangerous" edgreenberg 3 779 07-17-2023, 06:27 AM
Last Post: edgreenberg
  Feature Request - OSCAR Linux rammjet 3 652 07-09-2023, 09:04 PM
Last Post: rammjet


New Posts   Today's Posts


About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.