Hello.
You are downloading something that is not fullbuild-wfview.sh.
Please see FAQ.
Q: I’m trying to run the linux build script and when I run it, it says “./fullbuild-wfview.sh: line 2: syntax error near unexpected token newline” (or similar)
sudo apt install libqcustomplot2.1
E: Paket libqcustomplot2.1 kann nicht gefunden werden.
E: Mittels des Musters »libqcustomplot2.1« konnte kein Paket gefunden werden.
sudo apt install libqcustomplot1.3
E: Paket libqcustomplot1.3 kann nicht gefunden werden.
E: Mittels des Musters »libqcustomplot1.3« konnte kein Paket gefunden werden.
Because there are dozens of different Linux distributions and we have better things to do than create one for all of them! Many distributions already include wfview packages, but they are not maintained by us and may be a number of versions behind.
99% of people are able to build using the script with very few issues.
Those qcustomplot warnings are to be expected as the script will try to install every possible version of qcustomplot. If the script doesn’t actually fail, they can be ignored. If it does fail at this point, it might mean that your distro has a version/format of qcustomplot that we have never seen before.
Thank you for your advice and the link.
I followed your suggestions, the result is still the same NO BUILD of the software. Still the same error messages.
I happened to have a Ubuntu 22.04.5 LTS VM that has never had wfview built on it, so thought I would try:
phil@ubuntu-dev:~$ uname -a
Linux ubuntu-dev 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux phil@ubuntu-dev:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION=“Ubuntu 22.04.5 LTS” phil@ubuntu-dev:~$ wget https://gitlab.com/eliggett/scripts/-/raw/master/fullbuild-wfview.sh phil@ubuntu-dev:~$ chmod a+x fullbuild-wfview.sh phil@ubuntu-dev:~$ ./fullbuild-wfview.sh
Lots of messages… after pressing y to download dependencies
Reading state information… Done
E: Unable to locate package libqcustomplot2.1
E: Couldn’t find any package by glob ‘libqcustomplot2.1’
E: Couldn’t find any package by regex ‘libqcustomplot2.1’
Installing the required qcustomplot was successful. << This is the important bit
Done installing dependencies.
Press enter to download wfview’s source code. << press enter
The rest is pretty self-explanatory and should build (it built fine on my machine)
Well that is very strange, there are no errors in the build (just a couple of warnings that I would expect to see) so I can’t see any reason why the build would fail?
The only thing that I can think of is if you have a CFLAGS or CPPFLAGS environment variable set which includes the flag -Werror (this tells the compiler to treat warnings as errors)
Can you try running the command:
env | grep FLAGS
And let us know if there is any output?
You can also try changing to the latest wfview build directory (wfview–<date/time>/build) and run make in there and tell us what output you get. This should only try to compile files that failed the last build.