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 Installation issues [on LInux]
#1
OSCAR Installation issues [on LInux]
Hello All,

I'm a longtime user of Sleepyhead, and I see it's not longer supported or developed. Trying to install OSCAR, but I'm running into issues.

OS is Fedora 31, and I've pieced together most of the equivalent packages as far as I can tell, and I can get OSCAR to begin the make process. Unfortunately, after 5 minutes or so, it terminates and the error doesn't have a clear-cut solution as far as I can see:

~~~
g++ -c -pipe -Werror -Wno-error=deprecated-declarations -O2 -std=gnu++11 -frtti -Wall -W -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DNO_UPDATER -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../OSCAR-code-master/oscar -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSerialPort -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_statistics.o moc_statistics.cpp
g++ -c -pipe -Werror -Wno-error=deprecated-declarations -O2 -std=gnu++11 -frtti -Wall -W -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DNO_UPDATER -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../OSCAR-code-master/oscar -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSerialPort -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_oximeterimport.o moc_oximeterimport.cpp
g++ -c -pipe -Werror -Wno-error=deprecated-declarations -O2 -std=gnu++11 -frtti -Wall -W -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DNO_UPDATER -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../OSCAR-code-master/oscar -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSerialPort -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_serialoximeter.o moc_serialoximeter.cpp
g++ -c -pipe -Werror -Wno-error=deprecated-declarations -O2 -std=gnu++11 -frtti -Wall -W -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DNO_UPDATER -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../OSCAR-code-master/oscar -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSerialPort -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_md300w1_loader.o moc_md300w1_loader.cpp
g++ -c -pipe -Werror -Wno-error=deprecated-declarations -O2 -std=gnu++11 -frtti -Wall -W -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DNO_UPDATER -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../OSCAR-code-master/oscar -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSerialPort -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_logger.o moc_logger.cpp
g++ -c -pipe -Werror -Wno-error=deprecated-declarations -O2 -std=gnu++11 -frtti -Wall -W -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DNO_UPDATER -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../OSCAR-code-master/oscar -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSerialPort -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_progressdialog.o moc_progressdialog.cpp
g++ -c -pipe -Werror -Wno-error=deprecated-declarations -O2 -std=gnu++11 -frtti -Wall -W -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DNO_UPDATER -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../OSCAR-code-master/oscar -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSerialPort -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_cms50f37_loader.o moc_cms50f37_loader.cpp
g++ -c -pipe -Werror -Wno-error=deprecated-declarations -O2 -std=gnu++11 -frtti -Wall -W -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DNO_UPDATER -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../OSCAR-code-master/oscar -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSerialPort -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_profileselector.o moc_profileselector.cpp
g++ -c -pipe -Werror -Wno-error=deprecated-declarations -O2 -std=gnu++11 -frtti -Wall -W -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DNO_UPDATER -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../OSCAR-code-master/oscar -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSerialPort -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_aboutdialog.o moc_aboutdialog.cpp
g++ -c -pipe -Werror -Wno-error=deprecated-declarations -O2 -std=gnu++11 -frtti -Wall -W -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DNO_UPDATER -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../OSCAR-code-master/oscar -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSerialPort -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_welcome.o moc_welcome.cpp
g++ -c -pipe -Werror -Wno-error=deprecated-declarations -O2 -std=gnu++11 -frtti -Wall -W -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DNO_UPDATER -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../OSCAR-code-master/oscar -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSerialPort -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_mytextbrowser.o moc_mytextbrowser.cpp
g++ -Wl,-O1 -o OSCAR common_gui.o cprogressbar.o daily.o exportcsv.o main.o mainwindow.o newprofile.o overview.o preferencesdialog.o profileselect.o reports.o sessionbar.o updateparser.o UpdaterWindow.o version.o gFlagsLine.o gFooBar.o gGraph.o gGraphView.o glcommon.o gLineChart.o gLineOverlay.o gSegmentChart.o gspacer.o gStatsLine.o gSummaryChart.o gXAxis.o gYAxis.o layer.o calcs.o common.o day.o event.o machine.o machine_loader.o preferences.o profiles.o schema.o session.o cms50_loader.o icon_loader.o intellipap_loader.o mseries_loader.o prs1_loader.o resmed_loader.o somnopose_loader.o zeo_loader.o translation.o statistics.o oximeterimport.o serialoximeter.o md300w1_loader.o gSessionTimesChart.o logger.o machine_common.o weinmann_loader.o gdailysummary.o MinutesAtPressure.o journal.o progressdialog.o cms50f37_loader.o profileselector.o appsettings.o edfparser.o aboutdialog.o welcome.o qrc_Resources.o moc_daily.o moc_exportcsv.o moc_mainwindow.o moc_newprofile.o moc_overview.o moc_preferencesdialog.o moc_profileselect.o moc_sessionbar.o moc_UpdaterWindow.o moc_gGraph.o moc_gGraphView.o moc_machine_loader.o moc_cms50_loader.o moc_icon_loader.o moc_prs1_loader.o moc_resmed_loader.o moc_statistics.o moc_oximeterimport.o moc_serialoximeter.o moc_md300w1_loader.o moc_logger.o moc_progressdialog.o moc_cms50f37_loader.o moc_profileselector.o moc_aboutdialog.o moc_welcome.o moc_mytextbrowser.o   -lX11 -lz -lGLU /usr/lib64/libQt5PrintSupport.so /usr/lib64/libQt5OpenGL.so /usr/lib64/libQt5Widgets.so /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Network.so /usr/lib64/libQt5Xml.so /usr/lib64/libQt5SerialPort.so /usr/lib64/libQt5Core.so /usr/lib64/libGL.so -lpthread   
/usr/bin/ld: cannot find -lGLU
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:469: OSCAR] Error 1
make[1]: Leaving directory '/home/chromeuser/OSCAR-Build/build/oscar'
make: *** [Makefile:47: sub-oscar-make_first-ordered] Error 2
~~~

I've poked around a bit, but can't seem to find any solutions online. 

Hopefully someone can help!

Thanks.
Post Reply Post Reply
#2
RE: OSCAR Installation issues
On my Debian system, libGLU.so is installed from the libglu1-mesa package:
Code:
root@AmyDee:~# apt-file find libGLU.so
libglu1-mesa: /usr/lib/x86_64-linux-gnu/libGLU.so.1
libglu1-mesa: /usr/lib/x86_64-linux-gnu/libGLU.so.1.3.1

I'd guess it will be somewhere among the mesa rpm's.
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
RE: OSCAR Installation issues
(02-10-2020, 05:33 AM)pholynyk Wrote: On my Debian system, libGLU.so is installed from the libglu1-mesa package:
Code:
root@AmyDee:~# apt-file find libGLU.so
libglu1-mesa: /usr/lib/x86_64-linux-gnu/libGLU.so.1
libglu1-mesa: /usr/lib/x86_64-linux-gnu/libGLU.so.1.3.1

I'd guess it will be somewhere among the mesa rpm's.

When I last built Oscar on OpenSuSe which also uses rpms (although no guarantees that RedHat package contents are the same as OpenSuSe ones,
I found I needed to install the libGLU1 package as well as the glu-devel package to solve this same issue.

The GLU1 package installed
Code:
lrwxrwxrwx 1 root root     15 Dec 17  2018 /usr/lib64/libGLU.so.1 -> libGLU.so.1.3.1*
-rwxr-xr-x 1 root root 445208 Dec 17  2018 /usr/lib64/libGLU.so.1.3.1*

and the magic piece glu-devel installed was
Code:
lrwxrwxrwx 1 root root     15 Dec 17  2018 /usr/lib64/libGLU.so -> libGLU.so.1.3.1*

If you have the libraries installed already, just make the symbolic link manually.
Post Reply Post Reply
#4
RE: OSCAR Installation issues
Thanks for the quick replies!

I needed not only mesa-libGLU (installed already), but mesa-libGLU-devel, which I did not have.
Post Reply Post Reply
#5
RE: OSCAR Installation issues
So, I didn't note that the migration from sleepyhead was a one time thing, and that was not performed since OSCAR kept complaining about either the dir, or the contents contained within (I think it wasn't recursing into the data, so it wasn't finding any).

Aside from a note that says you can copy the data but it's not easy, I see no instruction on how to or where to copy the Sleepyhead data.

Do I need to delete the profiles and data completely in order to re-migrate? I thought I'd try to be cute and create a new profile and hoped it would ask to migrate the data, but it did not. Will full destruction of the profile from the OSCAR_Data-unreleased folder allow for me to re-migrate the SH data?

If anyone can provide me some hints, that would be great. Thanks!
Post Reply Post Reply
#6
RE: OSCAR Installation issues [on Linux]
Is this of any help:

http://www.apneaboard.com/wiki/index.php...yHead_data

The instructions are for Windows, but it should be similar for Linux.
Jeff8356

NOTE:
Jeff8356 has not been active on forums since October, 2023.
He cannot reply to you.


MacBook Air (2017, Intel) | macOS Monterey (12.7) | OSCAR v1.5.1 | VM = Win10/Win11 |
How to Links:
Installing OSCAR on a Mac
Organizing your OSCAR charts
Attaching screenshots and files for the forum
OSCAR Help
OSCAR - The Guide


Post Reply Post Reply
#7
RE: OSCAR Installation issues [on LInux]
Thanks. Yes. They are technically of help, but did not help. I don't believe I ever backed up my Sleepyhead installation/datafiles, so this won't work.
Post Reply Post Reply
#8
RE: OSCAR Installation issues [on LInux]
(02-11-2020, 11:29 AM)gawdly1 Wrote: Thanks. Yes. They are technically of help, but did not help. I don't believe I ever backed up my Sleepyhead installation/datafiles, so this won't work.

Are you sure? If i remember correctly SleepyHead automatically backs up the data unless you have backups turned off. See if there is a backup subfolder in your SH data directory.
Post Reply Post Reply
#9
RE: OSCAR Installation issues [on LInux]
The backup folder that you can import from is buries inside the machine folder. Here is an example from OSCAR, but the SleepyHead layout is he same:
   
As the importer is scanning, click on Select Folder; when the File selector window opens, navigate to Documents/SleepyHeadData and then select the Backup folder.
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


Possibly Related Threads...
Thread Author Replies Views Last Post
  installation of Encore pro 2 karicheahmed 2 361 09-12-2024, 11:46 AM
Last Post: SuperSleeper
  Linux Mint 22 grioghair 18 1,036 08-27-2024, 12:44 AM
Last Post: untoutseul05
  Is there a solution to read out the newer versions of the Contect CMS50F under Linux? Mast04 13 2,038 07-22-2024, 01:02 AM
Last Post: Pierelly
  CMS50D+ import issues moarZs 30 4,919 07-21-2024, 12:41 PM
Last Post: Pandi
  OSCAR with AirCurve 11 ASV, also Mac scrolling issues loglow 6 724 06-22-2024, 07:26 PM
Last Post: croc297
  Oscar 1.5.3 for Linux freezes after clicking on 'CPAP Importer'. Mast04 13 1,115 05-04-2024, 02:11 AM
Last Post: Mast04
  ResScan 7 help! [password issues] DakotaNorth 2 816 03-26-2024, 12:42 PM
Last Post: SuperSleeper


New Posts   Today's Posts


About Apnea Board

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