I’m trying to install on my RPU 3B, which has a recent install of bullseye version 11.
I’m following the instructions found in the INSTALL.md.
I’ve changed Make -j to make and I’m getting the error below with or without the -j:
As it is a Pi3B, it is likely running out of RAM during the compile, try editing line 153 and remove “-j2” from the line “make -j2” and then run the script again. -j2 tells Make to run up to two simultaneous compiles.
After 2+ days compiling on the RPI it failed with the error below:
./fullbuild-wfview.sh
This script will download dependencies, build, and install wfview.
It is designed for debian-based systems and
makes use of the apt command to satisfy dependencies.
If it has been a while since this script was downloaded,
or if there are build errors, please use this command to
download a newer version of this script:
The ‘sudo’ command is used to run some commands as root.
It (the sudo command) will ask for your password during this process.
You should look at the source of this script if you have any doubts.
Do you wish to install dependencies first?
If this is your first time building wfview,
or, if you have not done so in a while,
please select ‘y’, otherwise, press ‘n’.
If you are not sure, select ‘y’ to be safe.
Press Y to install dependencies (Y/n): n
Skipping dependency install steps.
Press enter to download wfview’s source code.
Now downloading the latest source code from the master branch.
The files will be downloaded into a directory named: wfview–20220613–09-19-23
Cloning into ‘wfview’…
remote: Enumerating objects: 161, done.
remote: Counting objects: 100% (161/161), done.
remote: Compressing objects: 100% (152/152), done.
remote: Total 161 (delta 14), reused 109 (delta 8), pack-reused 0
Receiving objects: 100% (161/161), 1.44 MiB | 3.43 MiB/s, done.
Resolving deltas: 100% (14/14), done.
Creating build directory ‘build’:
The build process may take a few minutes.
Press enter to start.
Starting build process.
Info: creating stash file /home/pi/Downloads/wfview–20220613–09-19-23/build/.qmake.stash
/usr/lib/qt5/bin/uic …/wfview/wfmain.ui -o ui_wfmain.h
/usr/lib/qt5/bin/uic …/wfview/calibrationwindow.ui -o ui_calibrationwindow.h
/usr/lib/qt5/bin/uic …/wfview/satellitesetup.ui -o ui_satellitesetup.h
/usr/lib/qt5/bin/uic …/wfview/selectradio.ui -o ui_selectradio.h
/usr/lib/qt5/bin/uic …/wfview/repeatersetup.ui -o ui_repeatersetup.h
/usr/lib/qt5/bin/uic …/wfview/transceiveradjustments.ui -o ui_transceiveradjustments.h
/usr/lib/qt5/bin/uic …/wfview/aboutbox.ui -o ui_aboutbox.h
g++ -c -pipe -s -fvisibility=hidden -fvisibility-inlines-hidden -faligned-new -O2 -Wall -Wextra -D_REENTRANT -fPIC -DWFVIEW_VERSION=“1.2e” -DBUILD_WFVIEW -D__LINUX_PULSE__ -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_COMPILE_LIBRARY -DOUTSIDE_SPEEX -DRANDOM_PREFIX=wf -DEIGEN_MPL2_ONLY -DEIGEN_DONT_VECTORIZE -DPREFIX="/usr/local" -DHOST="hostname" -DUNAME="whoami" -DGITSHORT=“5dcb081” -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I…/wfview -I. -I…/wfview/resampler -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtMultimedia -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtSerialPort -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o main.o …/wfview/main.cpp
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make: *** [Makefile:951: main.o] Error 1
Error in make step.
wfview was not compiled.
Please consider posting the error(s) to https://forum.wfview.org/
That’s annoying as I had hoped reducing the number of simultaneous compiles would help? Are you running the latest Pi OS as there may be issues in older versions?
I am pretty sure people have successfully compiled wfview on the 3B? I know it works on the Pi4 but haven’t tried it on older models myself?
How much ram do you have on the Pi? Can you run the command dmesg right after the crash to see if there are any useful messages?
You might be able to scrape by (if it is a memory issue) by creating a large swap space temporarily. And also making sure you’re using make -j1 in the build script so that it is only one CPU chugging at a time.
Never saw an end to this story so today I installed latest raspbian (220922?) on a Pi3B
and it works OK, installed the usual prerequisites first and then the fullbuild script.
I got a strange stop with no error and restarted the fullbuild script once and then make install
and it runs.
CPU usage is 20-23 % mem 9%.
(Total memory is 922 MB. Load average after 30 minutes 0.4, 0.33 0.29)
Made server active and that works OK too.