Vaughang91
Hello from AUS, 
Ive done a fresh install today of the buster OS onto a 64gb SD card with no issues,
ive updated the OS and i have only enabled VNC on the pi.
Ive searched for a solution on the interest but i cannot find anything,
Please Help!!!! 🙁

bellow is the installation Log:

Installing OpenPLC on Raspberry Pi
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
autoconf is already the newest version (2.69-11).
automake is already the newest version (1:1.16.1-4).
bison is already the newest version (2:3.3.2.dfsg-1).
build-essential is already the newest version (12.6).
cmake is already the newest version (3.13.4-1).
curl is already the newest version (7.64.0-4+deb10u1).
flex is already the newest version (2.6.4-6.2).
git is already the newest version (1:2.20.1-2+deb10u3).
libtool is already the newest version (2.4.6-9).
make is already the newest version (4.2.1-1.2).
pkg-config is already the newest version (0.29-6).
python2.7 is already the newest version (2.7.16-2+deb10u1).
sqlite3 is already the newest version (3.27.2-3+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1842k 100 1842k 0 0 2130k 0 --:--:-- --:--:-- --:--:-- 2127k
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pip
Using cached pip-20.3.3-py2.py3-none-any.whl (1.5 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.3.3
Uninstalling pip-20.3.3:
Successfully uninstalled pip-20.3.3
Successfully installed pip-20.3.3
Reading package lists...
Building dependency tree...
Reading state information...
wiringpi is already the newest version (2.50).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: flask in /usr/lib/python2.7/dist-packages (1.0.2)
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: flask-login in /home/pi/.local/lib/python2.7/site-packages (0.5.0)
Requirement already satisfied: Flask in /usr/lib/python2.7/dist-packages (from flask-login) (1.0.2)
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pyserial in /usr/lib/python2.7/dist-packages (3.4)
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pymodbus in /home/pi/.local/lib/python2.7/site-packages (2.4.0)
Requirement already satisfied: six>=1.15.0 in /home/pi/.local/lib/python2.7/site-packages (from pymodbus) (1.15.0)
Requirement already satisfied: pyserial>=3.4 in /usr/lib/python2.7/dist-packages (from pymodbus) (3.4)
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: flask in /usr/lib/python2.7/dist-packages (1.0.2)
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: flask-login in /usr/local/lib/python2.7/dist-packages (0.5.0)
Requirement already satisfied: Flask in /usr/lib/python2.7/dist-packages (from flask-login) (1.0.2)
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pyserial in /usr/lib/python2.7/dist-packages (3.4)
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pymodbus in /usr/local/lib/python2.7/dist-packages (2.4.0)
Requirement already satisfied: six>=1.15.0 in /usr/local/lib/python2.7/dist-packages (from pymodbus) (1.15.0)
Requirement already satisfied: pyserial>=3.4 in /usr/lib/python2.7/dist-packages (from pymodbus) (3.4)

[MATIEC COMPILER]
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/pi/OpenPLC_v3/utils/matiec_src/config/missing: Unknown `--is-lightweight' option
Try `/home/pi/OpenPLC_v3/utils/matiec_src/config/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for bison... bison -y
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for gawk... (cached) mawk
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for clock_gettime... yes
checking for memset... yes
checking for pow... no
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for strtoull... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating absyntax/Makefile
config.status: creating absyntax_utils/Makefile
config.status: creating stage1_2/Makefile
config.status: creating stage3/Makefile
config.status: creating stage4/Makefile
config.status: creating stage4/generate_c/Makefile
config.status: creating stage4/generate_iec/Makefile
config.status: creating config/config.h
config.status: config/config.h is unchanged
config.status: executing depfiles commands
Making all in absyntax
make[1]: Entering directory '/home/pi/OpenPLC_v3/utils/matiec_src/absyntax'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/pi/OpenPLC_v3/utils/matiec_src/absyntax'
Making all in absyntax_utils
make[1]: Entering directory '/home/pi/OpenPLC_v3/utils/matiec_src/absyntax_utils'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/pi/OpenPLC_v3/utils/matiec_src/absyntax_utils'
Making all in stage1_2
make[1]: Entering directory '/home/pi/OpenPLC_v3/utils/matiec_src/stage1_2'
make all-am
make[2]: Entering directory '/home/pi/OpenPLC_v3/utils/matiec_src/stage1_2'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/pi/OpenPLC_v3/utils/matiec_src/stage1_2'
make[1]: Leaving directory '/home/pi/OpenPLC_v3/utils/matiec_src/stage1_2'
Making all in stage3
make[1]: Entering directory '/home/pi/OpenPLC_v3/utils/matiec_src/stage3'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/pi/OpenPLC_v3/utils/matiec_src/stage3'
Making all in stage4
make[1]: Entering directory '/home/pi/OpenPLC_v3/utils/matiec_src/stage4'
Making all in generate_c
make[2]: Entering directory '/home/pi/OpenPLC_v3/utils/matiec_src/stage4/generate_c'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/pi/OpenPLC_v3/utils/matiec_src/stage4/generate_c'
Making all in generate_iec
make[2]: Entering directory '/home/pi/OpenPLC_v3/utils/matiec_src/stage4/generate_iec'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/pi/OpenPLC_v3/utils/matiec_src/stage4/generate_iec'
make[2]: Entering directory '/home/pi/OpenPLC_v3/utils/matiec_src/stage4'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/pi/OpenPLC_v3/utils/matiec_src/stage4'
make[1]: Leaving directory '/home/pi/OpenPLC_v3/utils/matiec_src/stage4'
make[1]: Entering directory '/home/pi/OpenPLC_v3/utils/matiec_src'
make[1]: Leaving directory '/home/pi/OpenPLC_v3/utils/matiec_src'

[ST OPTIMIZER]

[GLUE GENERATOR]

[OPEN DNP3]
creating swapfile...
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB, 1000 MiB) copied, 63.2278 s, 16.6 MB/s
mkswap: swapfile: insecure permissions 0644, 0600 suggested.
Setting up swapspace version 1, size = 1000 MiB (1048571904 bytes)
no label, UUID=eb66bce2-2386-445d-9ac0-94d113a7f48b
swapon: /home/pi/OpenPLC_v3/utils/dnp3_src/swapfile: insecure permissions 0644, 0600 suggested.
CMake build is: Release
ASIO has been checked out as a git submodule: /home/pi/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/OpenPLC_v3/utils/dnp3_src
[ 90%] Built target openpal
[ 90%] Built target opendnp3
[ 90%] Built target asiopal
[ 90%] Linking CXX shared library libasiodnp3.so
/usr/bin/ld: CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/MasterTCPServer.cpp.o: file not recognized: file truncated
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/asiodnp3.dir/build.make:387: libasiodnp3.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:112: CMakeFiles/asiodnp3.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
[ 9%] Built target openpal
[ 83%] Built target opendnp3
[ 90%] Built target asiopal
[ 90%] Linking CXX shared library libasiodnp3.so
/usr/bin/ld: CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/MasterTCPServer.cpp.o: file not recognized: file truncated
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/asiodnp3.dir/build.make:387: libasiodnp3.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:112: CMakeFiles/asiodnp3.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Error installing OpenDNP3
OpenPLC was NOT installed!
Reply 0 0
thiagoralves
You have corrupted files (possibly from a previous install attempt that failed). Just remove the OpenPLC_v3 folder entirely and git clone the project again
Reply 1 0
Vaughang91
ok 🙂 thanks for the fast reply <3. ok i will give this a go
Reply 0 0
Vaughang91
Success, I'm sorry for wasting your time on such a simple issue, but thank you @thiagoralves. 
Reply 0 0
Reply