Cant start the script

I downloaded the latest version of the script (33.8kb) and run it. I received the following error message:

Zeile 6: Syntaxfehler beim unerwarteten Wort »newline«
./fullbuild-wfview.sh: Zeile 6: `’

After thet I started the compilation of the source with a script version from january 2023 (6 kb) and received the following error message:

content of .qmake.stash
QMAKE_CXX.QT_COMPILER_STDCXX = 201703L
QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 11
QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 4
QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0
QMAKE_CXX.COMPILER_MACROS =
QT_COMPILER_STDCXX
QMAKE_GCC_MAJOR_VERSION
QMAKE_GCC_MINOR_VERSION
QMAKE_GCC_PATCH_VERSION
QMAKE_CXX.INCDIRS =
/usr/include/c++/11
/usr/include/x86_64-linux-gnu/c++/11
/usr/include/c++/11/backward
/usr/lib/gcc/x86_64-linux-gnu/11/include
/usr/local/include
/usr/include/x86_64-linux-gnu
/usr/include
QMAKE_CXX.LIBDIRS =
/usr/lib/gcc/x86_64-linux-gnu/11
/usr/lib/x86_64-linux-gnu
/usr/lib
/lib/x86_64-linux-gnu
/lib

Sorry, i have no idea to resolve these issues.

thanks and regards, hitam

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)

For more information the video is helpful.

DE JG3HLX

1 Like

Hi,

thank you very much for your advice. I setttled the issue.
However the compiling error still exists.

Regards, Hitam

Please run the build script and then allow it to post the error(s) to termbin. Then paste the URL here with your next message.

—E
de W6EL

Thank you for your advice. What is termbin ? I do not know…

Why is there no *.deb package available and everybody has to go through the compile hassel ?

https://termbin.com/0cpo

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.

What Linux distribution are you using?

I am using UBUNTU 22.04 LTS this is mainstream

Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy

Having read through your messages, if you are using such an old version of the script, there is no way it will be able to build the latest master.

I suspect that when you tried to download the latest script, you downloaded the actual web page rather than the script?

This link should work to download the actual file: https://gitlab.com/eliggett/scripts/-/raw/master/fullbuild-wfview.sh

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.

https://termbin.com/3ius

For whatever reason this didn’t capture the full error output.

Can you just copy paste the entire output from starting the script to the end?

Thanks,

—E
de W6EL

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)

1 Like

This message I never saw on the monitor:

Installing the required qcustomplot was successful. << This is the important bit

That probably means it is already installed.

As Elliott said, we need to see the entire progress. Snippets are meaningless.

https://termbin.com/q7dz

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.

Phil