Ayo_Rotibi
I have tried to install OpenPLC on three different OS: Windows, Linux (Ubuntu), Linux on VM and Raspberry Pi. It works on my RPi as I get the webserver. however, the windows, Linux, and VM installation got the same result - host unreachable. i have run and re-run  

please, what am i doing wrong?

Ayo
Quote 0 0
thiagoralves
Probably something went wrong during your installation. Post your installation logs here and I’ll try to help you
Quote 0 0
Ayo_Rotibi
Hello Tiago, I am not entirely sure where I get the installation logs from. I have tried to reinstall; just following the steps... I found a file named Setup; a configuration file in the Cache folder. Is that the one?  As I mentioned, it installed well on RPi but not on any other platform.
Thanks for your help
Quote 0 0
thiagoralves
Run ./ install.sh script on your Linux box and paste here all the contents from the terminal 
Quote 0 0
Ayo_Rotibi
scada@scadaPLC:~$ ./ install.sh
bash: ./: Is a directory
scada@scadaPLC:~$ ls
Desktop examples.desktop Pictures teamviewer_amd64.deb
Documents Music Public Templates
Downloads OpenPLC_v3 snap Videos
scada@scadaPLC:~$ cd OpenPLC_v3/
scada@scadaPLC:~/OpenPLC_v3$ ls
appveyor.yml doxygen.conf README.md start_ openplc.sh webserver
Dockerfile install.sh requirements.txt utils
scada@scadaPLC:~/OpenPLC_v3$ ./ install.sh
bash: ./: Is a directory
scada@scadaPLC:~/OpenPLC_v3$ install.sh
install.sh: command not found
scada@scadaPLC:~/OpenPLC_v3$ ls -l
total 144
-rw-r--r-- 1 scada scada 314 Jun 4 06:21 appveyor.yml
-rw-r--r-- 1 scada scada 119 Jun 4 06:21 Dockerfile
-rw-r--r-- 1 scada scada 106373 Jun 4 06:21 doxygen.conf
-rwxr-xr-x 1 scada scada 8645 Jun 4 06:21 install.sh
-rw-r--r-- 1 scada scada 2145 Jun 4 06:21 README.md
-rw-r--r-- 1 scada scada 47 Jun 4 06:21 requirements.txt
-rwxr-xr-x 1 scada scada 45 Jun 4 06:32 start_ openplc.sh
drwxr-xr-x 8 scada scada 4096 Jun 4 06:21 utils
drwxr-xr-x 7 scada scada 4096 Jun 4 06:32 webserver
scada@scadaPLC:~/OpenPLC_v3$ start
start-pulseaudio-x11 start-stop-daemon startx
scada@scadaPLC:~/OpenPLC_v3$ ls -ls
total 144
4 -rw-r--r-- 1 scada scada 314 Jun 4 06:21 appveyor.yml
4 -rw-r--r-- 1 scada scada 119 Jun 4 06:21 Dockerfile
104 -rw-r--r-- 1 scada scada 106373 Jun 4 06:21 doxygen.conf
12 -rwxr-xr-x 1 scada scada 8645 Jun 4 06:21 install.sh
4 -rw-r--r-- 1 scada scada 2145 Jun 4 06:21 README.md
4 -rw-r--r-- 1 scada scada 47 Jun 4 06:21 requirements.txt
4 -rwxr-xr-x 1 scada scada 45 Jun 4 06:32 start_ openplc.sh
4 drwxr-xr-x 8 scada scada 4096 Jun 4 06:21 utils
4 drwxr-xr-x 7 scada scada 4096 Jun 4 06:32 webserver
scada@scadaPLC:~/OpenPLC_v3$ ./ install.sh
bash: ./: Is a directory
scada@scadaPLC:~/OpenPLC_v3$ cd..
cd..: command not found
scada@scadaPLC:~/OpenPLC_v3$ cd .
scada@scadaPLC:~/OpenPLC_v3$ cd
scada@scadaPLC:~$ ls
Desktop examples.desktop Pictures teamviewer_amd64.deb
Documents Music Public Templates
Downloads OpenPLC_v3 snap Videos
scada@scadaPLC:~$ ./ install.sh
bash: ./: Is a directory
scada@scadaPLC:~$ cd OpenPLC_v3/
scada@scadaPLC:~/OpenPLC_v3$ ./ install.sh

Error: You must provide a platform name as argument

Usage: ./ install.sh [platform] where [platform] can be
win Install OpenPLC on Windows over Cygwin
linux Install OpenPLC on a Debian-based Linux distribution
docker Install OpenPLC in a Docker container
rpi Install OpenPLC on a Raspberry Pi
neuron Install OpenPLC on a UniPi Neuron PLC
custom Skip all specific package installation and tries to install
OpenPLC assuming your system already has all dependencies met.
This option can be useful if you're trying to install OpenPLC
on an unsuported Linux platform or had manually installed
all the dependency packages before.

scada@scadaPLC:~/OpenPLC_v3$ ./ install.sh linux
+ '[' linux == win ']'
+ '[' linux == linux ']'
+ echo 'Installing OpenPLC on Linux'
Installing OpenPLC on Linux
+ linux_install_deps sudo
+ sudo apt-get update
[sudo] password for scada:
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:2 http://linux.teamviewer.com/deb stable InRelease [9,388 B]
Hit:3 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Get:4 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:5 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:6 http://linux.teamviewer.com/deb stable/main i386 Packages [3,615 B]
Get:7 http://linux.teamviewer.com/deb stable/main amd64 Packages [3,881 B]
Get:8 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [380 kB]
Get:9 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [287 kB]
Get:10 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [135 kB]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [252 kB]
Get:12 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [257 kB]
Get:13 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [530 kB]
Get:14 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [144 kB]
Get:15 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [638 kB]
Get:16 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [235 kB]
Get:17 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [948 kB]
Get:18 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [935 kB]
Get:19 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [280 kB]
Fetched 5,216 kB in 3s (1,716 kB/s)
Reading package lists... Done
+ sudo apt-get install -y build-essential pkg-config bison flex autoconf automake libtool make git python2.7 python-pip sqlite3 cmake git
Reading package lists... Done
Building dependency tree
Reading state information... Done
autoconf is already the newest version (2.69-11).
automake is already the newest version (1:1.15.1-3ubuntu2).
bison is already the newest version (2:3.0.4.dfsg-1build1).
build-essential is already the newest version (12.4ubuntu1).
cmake is already the newest version (3.10.2-1ubuntu2).
flex is already the newest version (2.6.4-6).
libtool is already the newest version (2.4.6-2).
make is already the newest version (4.1-9.1ubuntu1).
pkg-config is already the newest version (0.29.1-0ubuntu2).
sqlite3 is already the newest version (3.22.0-1).
git is already the newest version (1:2.17.1-1ubuntu0.4).
python2.7 is already the newest version (2.7.15~rc1-1ubuntu0.1).
python-pip is already the newest version (9.0.1-2.3~ubuntu1).
The following packages were automatically installed and are no longer required:
iio-sensor-proxy:i386 libavahi-glib1:i386 libmbim-glib4:i386
libmm-glib0:i386 libpolkit-gobject-1-0:i386 libqmi-glib5:i386
modemmanager:i386
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 31 not to upgrade.
+ install_py_deps
+ pip install -r requirements.txt
Collecting Flask==1.0.2 (from -r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl
Collecting Flask-Login==0.4.1 (from -r requirements.txt (line 2))
Collecting pyserial==3.4 (from -r requirements.txt (line 3))
Using cached https://files.pythonhosted.org/packages/0d/e4/2a744dd9e3be04a0c0907414e2a01a7c88bb3915cbe3c8cc06e209f59c30/pyserial-3.4-py2.py3-none-any.whl
Collecting Werkzeug>=0.14 (from Flask==1.0.2->-r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/9f/57/92a497e38161ce40606c27a86759c6b92dd34fcdb33f64171ec559257c02/Werkzeug-0.15.4-py2.py3-none-any.whl
Collecting click>=5.1 (from Flask==1.0.2->-r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl
Collecting Jinja2>=2.10 (from Flask==1.0.2->-r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/1d/e7/fd8b501e7a6dfe492a433deb7b9d833d39ca74916fa8bc63dd1a4947a671/Jinja2-2.10.1-py2.py3-none-any.whl
Collecting itsdangerous>=0.24 (from Flask==1.0.2->-r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl
Collecting MarkupSafe>=0.23 (from Jinja2>=2.10->Flask==1.0.2->-r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/fb/40/f3adb7cf24a8012813c5edb20329eb22d5d8e2a0ecf73d21d6b85865da11/MarkupSafe-1.1.1-cp27-cp27mu-manylinux1_x86_64.whl
Installing collected packages: Werkzeug, click, MarkupSafe, Jinja2, itsdangerous, Flask, Flask-Login, pyserial
Successfully installed Flask-1.0.2 Flask-Login-0.4.1 Jinja2-2.10.1 MarkupSafe-1.1.1 Werkzeug-0.15.4 click-7.0 itsdangerous-1.1.0 pyserial-3.4
+ install_py_deps sudo
+ sudo pip install -r requirements.txt
The directory '/home/scada/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/scada/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied: Flask==1.0.2 in /home/scada/.local/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied: Flask-Login==0.4.1 in /home/scada/.local/lib/python2.7/site-packages (from -r requirements.txt (line 2))
Requirement already satisfied: pyserial==3.4 in /home/scada/.local/lib/python2.7/site-packages (from -r requirements.txt (line 3))
Requirement already satisfied: Werkzeug>=0.14 in /home/scada/.local/lib/python2.7/site-packages (from Flask==1.0.2->-r requirements.txt (line 1))
Requirement already satisfied: click>=5.1 in /home/scada/.local/lib/python2.7/site-packages (from Flask==1.0.2->-r requirements.txt (line 1))
Requirement already satisfied: Jinja2>=2.10 in /home/scada/.local/lib/python2.7/site-packages (from Flask==1.0.2->-r requirements.txt (line 1))
Requirement already satisfied: itsdangerous>=0.24 in /home/scada/.local/lib/python2.7/site-packages (from Flask==1.0.2->-r requirements.txt (line 1))
Requirement already satisfied: MarkupSafe>=0.23 in /home/scada/.local/lib/python2.7/site-packages (from Jinja2>=2.10->Flask==1.0.2->-r requirements.txt (line 1))
+ install_all_libs sudo
+ echo ''

+ echo '[MATIEC COMPILER]'
[MATIEC COMPILER]
+ cd utils/matiec_src
+ autoreconf -i
+ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/scada/OpenPLC_v3/utils/matiec_src/config/missing: Unknown `--is-lightweight' option
Try `/home/scada/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... /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 for style of include used by make... GNU
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... /bin/grep
checking for egrep... /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
+ make
Making all in absyntax
make[1]: Entering directory '/home/scada/OpenPLC_v3/utils/matiec_src/absyntax'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/scada/OpenPLC_v3/utils/matiec_src/absyntax'
Making all in absyntax_utils
make[1]: Entering directory '/home/scada/OpenPLC_v3/utils/matiec_src/absyntax_utils'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/scada/OpenPLC_v3/utils/matiec_src/absyntax_utils'
Making all in stage1_2
make[1]: Entering directory '/home/scada/OpenPLC_v3/utils/matiec_src/stage1_2'
make all-am
make[2]: Entering directory '/home/scada/OpenPLC_v3/utils/matiec_src/stage1_2'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/scada/OpenPLC_v3/utils/matiec_src/stage1_2'
make[1]: Leaving directory '/home/scada/OpenPLC_v3/utils/matiec_src/stage1_2'
Making all in stage3
make[1]: Entering directory '/home/scada/OpenPLC_v3/utils/matiec_src/stage3'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/scada/OpenPLC_v3/utils/matiec_src/stage3'
Making all in stage4
make[1]: Entering directory '/home/scada/OpenPLC_v3/utils/matiec_src/stage4'
Making all in generate_c
make[2]: Entering directory '/home/scada/OpenPLC_v3/utils/matiec_src/stage4/generate_c'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/scada/OpenPLC_v3/utils/matiec_src/stage4/generate_c'
Making all in generate_iec
make[2]: Entering directory '/home/scada/OpenPLC_v3/utils/matiec_src/stage4/generate_iec'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/scada/OpenPLC_v3/utils/matiec_src/stage4/generate_iec'
make[2]: Entering directory '/home/scada/OpenPLC_v3/utils/matiec_src/stage4'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/scada/OpenPLC_v3/utils/matiec_src/stage4'
make[1]: Leaving directory '/home/scada/OpenPLC_v3/utils/matiec_src/stage4'
make[1]: Entering directory '/home/scada/OpenPLC_v3/utils/matiec_src'
make[1]: Leaving directory '/home/scada/OpenPLC_v3/utils/matiec_src'
+ cp ./iec2c ../../webserver/
+ '[' 0 -ne 0 ']'
+ cd ../..
+ echo ''

+ echo '[ST OPTIMIZER]'
[ST OPTIMIZER]
+ cd utils/st_optimizer_src
+ g++ st_optimizer.cpp -o st_optimizer
+ cp ./st_optimizer ../../webserver/
+ '[' 0 -ne 0 ']'
+ cd ../..
+ echo ''

+ echo '[GLUE GENERATOR]'
[GLUE GENERATOR]
+ cd utils/glue_generator_src
+ g++ -std=c++11 glue_generator.cpp -o glue_generator
+ cp ./glue_generator ../../webserver/core
+ '[' 0 -ne 0 ']'
+ cd ../..
+ echo ''

+ echo '[OPEN DNP3]'
[OPEN DNP3]
+ cd utils/dnp3_src
+ echo 'creating swapfile...'
creating swapfile...
+ sudo dd if=/dev/zero of=swapfile bs=1M count=1000
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB, 1000 MiB) copied, 17.3961 s, 60.3 MB/s
+ sudo mkswap swapfile
mkswap: swapfile: insecure permissions 0644, 0600 suggested.
Setting up swapspace version 1, size = 1000 MiB (1048571904 bytes)
no label, UUID=b504162c-496e-4fde-a92d-85cc4c5084f6
+ sudo swapon swapfile
swapon: /home/scada/OpenPLC_v3/utils/dnp3_src/swapfile: insecure permissions 0644, 0600 suggested.
+ cmake ../dnp3_src
CMake build is: Release
ASIO has been checked out as a git submodule: /home/scada/OpenPLC_v3/utils/dnp3_src/deps/asio/asio/include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/scada/OpenPLC_v3/utils/dnp3_src
+ make
[ 9%] Built target openpal
[ 83%] Built target opendnp3
[ 90%] Built target asiopal
[100%] Built target asiodnp3
+ sudo make install
[ 9%] Built target openpal
[ 83%] Built target opendnp3
[ 90%] Built target asiopal
[100%] Built target asiodnp3
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /usr/local/lib/ libopenpal.so
-- Up-to-date: /usr/local/lib/ libopendnp3.so
-- Up-to-date: /usr/local/lib/ libasiopal.so
-- Up-to-date: /usr/local/lib/ libasiodnp3.so
-- Up-to-date: /usr/local/include
-- Up-to-date: /usr/local/include/asiodnp3
-- Up-to-date: /usr/local/include/asiodnp3/ISessionAcceptor.h
-- Up-to-date: /usr/local/include/asiodnp3/IStack.h
-- Up-to-date: /usr/local/include/asiodnp3/IMasterSession.h
-- Up-to-date: /usr/local/include/asiodnp3/IMasterScan.h
-- Up-to-date: /usr/local/include/asiodnp3/PrintingCommandCallback.h
-- Up-to-date: /usr/local/include/asiodnp3/IChannel.h
-- Up-to-date: /usr/local/include/asiodnp3/PrintingSOEHandler.h
-- Up-to-date: /usr/local/include/asiodnp3/IMasterOperations.h
-- Up-to-date: /usr/local/include/asiodnp3/DefaultListenCallbacks.h
-- Up-to-date: /usr/local/include/asiodnp3/ErrorCodes.h
-- Up-to-date: /usr/local/include/asiodnp3/IMaster.h
-- Up-to-date: /usr/local/include/asiodnp3/OutstationStackConfig.h
-- Up-to-date: /usr/local/include/asiodnp3/IListenCallbacks.h
-- Up-to-date: /usr/local/include/asiodnp3/DefaultMasterApplication.h
-- Up-to-date: /usr/local/include/asiodnp3/DatabaseConfig.h
-- Up-to-date: /usr/local/include/asiodnp3/UpdateBuilder.h
-- Up-to-date: /usr/local/include/asiodnp3/Updates.h
-- Up-to-date: /usr/local/include/asiodnp3/IOutstation.h
-- Up-to-date: /usr/local/include/asiodnp3/MasterTCPServer.h
-- Up-to-date: /usr/local/include/asiodnp3/ConsoleLogger.h
-- Up-to-date: /usr/local/include/asiodnp3/MasterStackConfig.h
-- Up-to-date: /usr/local/include/asiodnp3/PrintingChannelListener.h
-- Up-to-date: /usr/local/include/asiodnp3/X509Info.h
-- Up-to-date: /usr/local/include/asiodnp3/IChannelListener.h
-- Up-to-date: /usr/local/include/asiodnp3/DNP3Manager.h
-- Up-to-date: /usr/local/include/asiopal
-- Up-to-date: /usr/local/include/asiopal/IListener.h
-- Up-to-date: /usr/local/include/asiopal/TLSConfig.h
-- Up-to-date: /usr/local/include/asiopal/SocketHelpers.h
-- Up-to-date: /usr/local/include/asiopal/Executor.h
-- Up-to-date: /usr/local/include/asiopal/TCPClient.h
-- Up-to-date: /usr/local/include/asiopal/Synchronized.h
-- Up-to-date: /usr/local/include/asiopal/IPEndpoint.h
-- Up-to-date: /usr/local/include/asiopal/ChannelRetry.h
-- Up-to-date: /usr/local/include/asiopal/TCPServer.h
-- Up-to-date: /usr/local/include/asiopal/ASIOSerialHelpers.h
-- Up-to-date: /usr/local/include/asiopal/SocketChannel.h
-- Up-to-date: /usr/local/include/asiopal/TimeConversions.h
-- Up-to-date: /usr/local/include/asiopal/SerialChannel.h
-- Up-to-date: /usr/local/include/asiopal/IOpenDelayStrategy.h
-- Up-to-date: /usr/local/include/asiopal/ResourceManager.h
-- Up-to-date: /usr/local/include/asiopal/SerialTypes.h
-- Up-to-date: /usr/local/include/asiopal/IResourceManager.h
-- Up-to-date: /usr/local/include/asiopal/IAsyncChannel.h
-- Up-to-date: /usr/local/include/asiopal/ThreadPool.h
-- Up-to-date: /usr/local/include/asiopal/Timer.h
-- Up-to-date: /usr/local/include/asiopal/LoggingConnectionCondition.h
-- Up-to-date: /usr/local/include/asiopal/IO.h
-- Up-to-date: /usr/local/include/asiopal/IChannelCallbacks.h
-- Up-to-date: /usr/local/include/asiopal/UTCTimeSource.h
-- Up-to-date: /usr/local/include/asiopal/SteadyClock.h
-- Up-to-date: /usr/local/include/dnp3decode
-- Up-to-date: /usr/local/include/dnp3decode/Decoder.h
-- Up-to-date: /usr/local/include/dnp3decode/IDecoderCallbacks.h
-- Up-to-date: /usr/local/include/opendnp3
-- Up-to-date: /usr/local/include/opendnp3/StackStatistics.h
-- Up-to-date: /usr/local/include/opendnp3/LogLevels.h
-- Up-to-date: /usr/local/include/opendnp3/master
-- Up-to-date: /usr/local/include/opendnp3/master/CommandSet.h
-- Up-to-date: /usr/local/include/opendnp3/master/TaskConfig.h
-- Up-to-date: /usr/local/include/opendnp3/master/ICommandProcessor.h
-- Up-to-date: /usr/local/include/opendnp3/master/IMasterApplication.h
-- Up-to-date: /usr/local/include/opendnp3/master/TaskId.h
-- Up-to-date: /usr/local/include/opendnp3/master/HeaderInfo.h
-- Up-to-date: /usr/local/include/opendnp3/master/ICommandCollection.h
-- Up-to-date: /usr/local/include/opendnp3/master/TaskInfo.h
-- Up-to-date: /usr/local/include/opendnp3/master/MasterParams.h
-- Up-to-date: /usr/local/include/opendnp3/master/CommandCallbackT.h
-- Up-to-date: /usr/local/include/opendnp3/master/ITaskCallback.h
-- Up-to-date: /usr/local/include/opendnp3/master/RestartOperationResult.h
-- Up-to-date: /usr/local/include/opendnp3/master/CommandPointResult.h
-- Up-to-date: /usr/local/include/opendnp3/master/HeaderTypes.h
-- Up-to-date: /usr/local/include/opendnp3/master/ISOEHandler.h
-- Up-to-date: /usr/local/include/opendnp3/master/ICommandTaskResult.h
-- Up-to-date: /usr/local/include/opendnp3/gen
-- Up-to-date: /usr/local/include/opendnp3/gen/DoubleBitBinaryQuality.h
-- Up-to-date: /usr/local/include/opendnp3/gen/SecurityStatIndex.h
-- Up-to-date: /usr/local/include/opendnp3/gen/StaticTimeAndIntervalVariation.h
-- Up-to-date: /usr/local/include/opendnp3/gen/FunctionCode.h
-- Up-to-date: /usr/local/include/opendnp3/gen/HMACType.h
-- Up-to-date: /usr/local/include/opendnp3/gen/Parity.h
-- Up-to-date: /usr/local/include/opendnp3/gen/EventSecurityStatVariation.h
-- Up-to-date: /usr/local/include/opendnp3/gen/QualifierCode.h
-- Up-to-date: /usr/local/include/opendnp3/gen/IndexMode.h
-- Up-to-date: /usr/local/include/opendnp3/gen/RestartType.h
-- Up-to-date: /usr/local/include/opendnp3/gen/PointClass.h
-- Up-to-date: /usr/local/include/opendnp3/gen/StaticSecurityStatVariation.h
-- Up-to-date: /usr/local/include/opendnp3/gen/ConfigAuthMode.h
-- Up-to-date: /usr/local/include/opendnp3/gen/EventBinaryOutputStatusVariation.h
-- Up-to-date: /usr/local/include/opendnp3/gen/EventAnalogOutputStatusVariation.h
-- Up-to-date: /usr/local/include/opendnp3/gen/BinaryOutputStatusQuality.h
-- Up-to-date: /usr/local/include/opendnp3/gen/StaticAnalogOutputStatusVariation.h
-- Up-to-date: /usr/local/include/opendnp3/gen/TimeSyncMode.h
-- Up-to-date: /usr/local/include/opendnp3/gen/EventAnalogVariation.h
-- Up-to-date: /usr/local/include/opendnp3/gen/StaticAnalogVariation.h
-- Up-to-date: /usr/local/include/opendnp3/gen/StaticDoubleBinaryVariation.h
-- Up-to-date: /usr/local/include/opendnp3/gen/LinkStatus.h
-- Up-to-date: /usr/local/include/opendnp3/gen/DoubleBit.h
-- Up-to-date: /usr/local/include/opendnp3/gen/UserRole.h
-- Up-to-date: /usr/local/include/opendnp3/gen/AuthErrorCode.h
-- Up-to-date: /usr/local/include/opendnp3/gen/KeyStatus.h
-- Up-to-date: /usr/local/include/opendnp3/gen/EventFrozenCounterVariation.h
-- Up-to-date: /usr/local/include/opendnp3/gen/StaticTypeBitmask.h
-- Up-to-date: /usr/local/include/opendnp3/gen/GroupVariation.h
-- Up-to-date: /usr/local/include/opendnp3/gen/StopBits.h
-- Up-to-date: /usr/local/include/opendnp3/gen/Attributes.h
-- Up-to-date: /usr/local/include/opendnp3/gen/EventMode.h
-- Up-to-date: /usr/local/include/opendnp3/gen/FrozenCounterQuality.h
-- Up-to-date: /usr/local/include/opendnp3/gen/CounterQuality.h
-- Up-to-date: /usr/local/include/opendnp3/gen/KeyWrapAlgorithm.h
-- Up-to-date: /usr/local/include/opendnp3/gen/CommandStatus.h
-- Up-to-date: /usr/local/include/opendnp3/gen/EventCounterVariation.h
-- Up-to-date: /usr/local/include/opendnp3/gen/CommandPointState.h
-- Up-to-date: /usr/local/include/opendnp3/gen/EventBinaryVariation.h
-- Up-to-date: /usr/local/include/opendnp3/gen/TimestampMode.h
-- Up-to-date: /usr/local/include/opendnp3/gen/StaticFrozenCounterVariation.h
-- Up-to-date: /usr/local/include/opendnp3/gen/ChallengeReason.h
-- Up-to-date: /usr/local/include/opendnp3/gen/AnalogQuality.h
-- Up-to-date: /usr/local/include/opendnp3/gen/StaticCounterVariation.h
-- Up-to-date: /usr/local/include/opendnp3/gen/CertificateType.h
-- Up-to-date: /usr/local/include/opendnp3/gen/MasterTaskType.h
-- Up-to-date: /usr/local/include/opendnp3/gen/UserOperation.h
-- Up-to-date: /usr/local/include/opendnp3/gen/BinaryQuality.h
-- Up-to-date: /usr/local/include/opendnp3/gen/AnalogOutputStatusQuality.h
-- Up-to-date: /usr/local/include/opendnp3/gen/RestartMode.h
-- Up-to-date: /usr/local/include/opendnp3/gen/EventDoubleBinaryVariation.h
-- Up-to-date: /usr/local/include/opendnp3/gen/AssignClassType.h
-- Up-to-date: /usr/local/include/opendnp3/gen/StaticBinaryOutputStatusVariation.h
-- Up-to-date: /usr/local/include/opendnp3/gen/TaskCompletion.h
-- Up-to-date: /usr/local/include/opendnp3/gen/LinkFunction.h
-- Up-to-date: /usr/local/include/opendnp3/gen/FlowControl.h
-- Up-to-date: /usr/local/include/opendnp3/gen/IntervalUnits.h
-- Up-to-date: /usr/local/include/opendnp3/gen/KeyChangeMethod.h
-- Up-to-date: /usr/local/include/opendnp3/gen/OperateType.h
-- Up-to-date: /usr/local/include/opendnp3/gen/FlagsType.h
-- Up-to-date: /usr/local/include/opendnp3/gen/ChannelState.h
-- Up-to-date: /usr/local/include/opendnp3/gen/StaticBinaryVariation.h
-- Up-to-date: /usr/local/include/opendnp3/gen/ControlCode.h
-- Up-to-date: /usr/local/include/opendnp3/app
-- Up-to-date: /usr/local/include/opendnp3/app/Flags.h
-- Up-to-date: /usr/local/include/opendnp3/app/MeasurementTypes.h
-- Up-to-date: /usr/local/include/opendnp3/app/GroupVariationID.h
-- Up-to-date: /usr/local/include/opendnp3/app/DNPTime.h
-- Up-to-date: /usr/local/include/opendnp3/app/EventCells.h
-- Up-to-date: /usr/local/include/opendnp3/app/AnalogCommandEvent.h
-- Up-to-date: /usr/local/include/opendnp3/app/EventTriggers.h
-- Up-to-date: /usr/local/include/opendnp3/app/AppConstants.h
-- Up-to-date: /usr/local/include/opendnp3/app/ITransactable.h
-- Up-to-date: /usr/local/include/opendnp3/app/MeasurementTypeSpecs.h
-- Up-to-date: /usr/local/include/opendnp3/app/BinaryCommandEvent.h
-- Up-to-date: /usr/local/include/opendnp3/app/ControlRelayOutputBlock.h
-- Up-to-date: /usr/local/include/opendnp3/app/BaseMeasurementTypes.h
-- Up-to-date: /usr/local/include/opendnp3/app/EventType.h
-- Up-to-date: /usr/local/include/opendnp3/app/SecurityStat.h
-- Up-to-date: /usr/local/include/opendnp3/app/OctetString.h
-- Up-to-date: /usr/local/include/opendnp3/app/OctetData.h
-- Up-to-date: /usr/local/include/opendnp3/app/MeasurementInfo.h
-- Up-to-date: /usr/local/include/opendnp3/app/QualityMasks.h
-- Up-to-date: /usr/local/include/opendnp3/app/IINField.h
-- Up-to-date: /usr/local/include/opendnp3/app/parsing
-- Up-to-date: /usr/local/include/opendnp3/app/parsing/ICollection.h
-- Up-to-date: /usr/local/include/opendnp3/app/ClassField.h
-- Up-to-date: /usr/local/include/opendnp3/app/AnalogOutput.h
-- Up-to-date: /usr/local/include/opendnp3/app/Indexed.h
-- Up-to-date: /usr/local/include/opendnp3/link
-- Up-to-date: /usr/local/include/opendnp3/link/LinkHeaderFields.h
-- Up-to-date: /usr/local/include/opendnp3/link/ILinkListener.h
-- Up-to-date: /usr/local/include/opendnp3/link/LinkConfig.h
-- Up-to-date: /usr/local/include/opendnp3/link/LinkStatistics.h
-- Up-to-date: /usr/local/include/opendnp3/outstation
-- Up-to-date: /usr/local/include/opendnp3/outstation/MeasurementConfig.h
-- Up-to-date: /usr/local/include/opendnp3/outstation/OutstationConfig.h
-- Up-to-date: /usr/local/include/opendnp3/outstation/IOutstationApplication.h
-- Up-to-date: /usr/local/include/opendnp3/outstation/IUpdateHandler.h
-- Up-to-date: /usr/local/include/opendnp3/outstation/EventBufferConfig.h
-- Up-to-date: /usr/local/include/opendnp3/outstation/ICommandHandler.h
-- Up-to-date: /usr/local/include/opendnp3/outstation/DatabaseSizes.h
-- Up-to-date: /usr/local/include/opendnp3/outstation/Cell.h
-- Up-to-date: /usr/local/include/opendnp3/outstation/ApplicationIIN.h
-- Up-to-date: /usr/local/include/opendnp3/outstation/OutstationParams.h
-- Up-to-date: /usr/local/include/opendnp3/outstation/StaticTypeBitfield.h
-- Up-to-date: /usr/local/include/opendnp3/outstation/SimpleCommandHandler.h
-- Up-to-date: /usr/local/include/openpal
-- Up-to-date: /usr/local/include/openpal/executor
-- Up-to-date: /usr/local/include/openpal/executor/IUTCTimeSource.h
-- Up-to-date: /usr/local/include/openpal/executor/ITimer.h
-- Up-to-date: /usr/local/include/openpal/executor/TimerRef.h
-- Up-to-date: /usr/local/include/openpal/executor/IExecutor.h
-- Up-to-date: /usr/local/include/openpal/executor/UTCTimestamp.h
-- Up-to-date: /usr/local/include/openpal/executor/IMonotonicTimeSource.h
-- Up-to-date: /usr/local/include/openpal/executor/TimeDuration.h
-- Up-to-date: /usr/local/include/openpal/executor/MonotonicTimestamp.h
-- Up-to-date: /usr/local/include/openpal/serialization
-- Up-to-date: /usr/local/include/openpal/serialization/UInt48LE.h
-- Up-to-date: /usr/local/include/openpal/serialization/DoubleFloat.h
-- Up-to-date: /usr/local/include/openpal/serialization/SerializationTemplatesLE.h
-- Up-to-date: /usr/local/include/openpal/serialization/UInt48Type.h
-- Up-to-date: /usr/local/include/openpal/serialization/Serializer.h
-- Up-to-date: /usr/local/include/openpal/serialization/Serialization.h
-- Up-to-date: /usr/local/include/openpal/serialization/Parse.h
-- Up-to-date: /usr/local/include/openpal/serialization/Format.h
-- Up-to-date: /usr/local/include/openpal/serialization/SingleFloat.h
-- Up-to-date: /usr/local/include/openpal/serialization/FloatByteOrder.h
-- Up-to-date: /usr/local/include/openpal/serialization/ByteSerialization.h
-- Up-to-date: /usr/local/include/openpal/Configure.h
-- Up-to-date: /usr/local/include/openpal/channel
-- Up-to-date: /usr/local/include/openpal/channel/IPhysicalLayerCallbacks.h
-- Up-to-date: /usr/local/include/openpal/channel/IPhysicalLayer.h
-- Up-to-date: /usr/local/include/openpal/logging
-- Up-to-date: /usr/local/include/openpal/logging/LogLevels.h
-- Up-to-date: /usr/local/include/openpal/logging/ILogHandler.h
-- Up-to-date: /usr/local/include/openpal/logging/Location.h
-- Up-to-date: /usr/local/include/openpal/logging/LogFilters.h
-- Up-to-date: /usr/local/include/openpal/logging/Logger.h
-- Up-to-date: /usr/local/include/openpal/logging/StringFormatting.h
-- Up-to-date: /usr/local/include/openpal/logging/LogMacros.h
-- Up-to-date: /usr/local/include/openpal/logging/LogEntry.h
-- Up-to-date: /usr/local/include/openpal/util
-- Up-to-date: /usr/local/include/openpal/util/ToHex.h
-- Up-to-date: /usr/local/include/openpal/util/SequenceNum.h
-- Up-to-date: /usr/local/include/openpal/util/Limits.h
-- Up-to-date: /usr/local/include/openpal/util/Comparisons.h
-- Up-to-date: /usr/local/include/openpal/util/Uncopyable.h
-- Up-to-date: /usr/local/include/openpal/util/Finally.h
-- Up-to-date: /usr/local/include/openpal/container
-- Up-to-date: /usr/local/include/openpal/container/StaticBuffer.h
-- Up-to-date: /usr/local/include/openpal/container/WSlice.h
-- Up-to-date: /usr/local/include/openpal/container/LinkedList.h
-- Up-to-date: /usr/local/include/openpal/container/RingBuffer.h
-- Up-to-date: /usr/local/include/openpal/container/Buffer.h
-- Up-to-date: /usr/local/include/openpal/container/Array.h
-- Up-to-date: /usr/local/include/openpal/container/SecureBuffer.h
-- Up-to-date: /usr/local/include/openpal/container/Pair.h
-- Up-to-date: /usr/local/include/openpal/container/ArrayView.h
-- Up-to-date: /usr/local/include/openpal/container/Settable.h
-- Up-to-date: /usr/local/include/openpal/container/RSlice.h
-- Up-to-date: /usr/local/include/openpal/container/Queue.h
-- Up-to-date: /usr/local/include/openpal/container/HasSize.h
+ '[' 0 -ne 0 ']'
+ sudo ldconfig
+ echo 'removing swapfile...'
removing swapfile...
+ sudo swapoff swapfile
+ sudo rm -f ./swapfile
+ cd ../..
+ echo ''

+ echo '[LIBMODBUS]'
[LIBMODBUS]
+ cd utils/libmodbus_src
+ ./ autogen.sh
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: linking file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
libtoolize: linking file 'm4/lt~obsolete.m4'
configure.ac:33: installing 'build-aux/compile'
configure.ac:32: installing 'build-aux/missing'
src/Makefile.am: installing 'build-aux/depcomp'

------------------------------------------------------
Initialized build system. You can now run ./configure
------------------------------------------------------

+ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /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 how to create a pax tar archive... gnutar
checking for style of include used by make... GNU
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 gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking linux/serial.h usability... yes
checking linux/serial.h presence... yes
checking for linux/serial.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/params.h usability... no
checking sys/params.h presence... no
checking for sys/params.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for asciidoc... no
checking for xmlto... no
checking whether to build documentation... no
configure: WARNING: The tools to build the documentation aren't installed
checking whether __CYGWIN__ is declared... no
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for accept4... yes
checking for getaddrinfo... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strerror... yes
checking for strlcpy... no
checking for inline... inline
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 how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for int64_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking whether TIOCSRS485 is declared... yes
checking whether TIOCM_RTS is declared... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/modbus-version.h
config.status: creating src/win32/modbus.dll.manifest
config.status: creating tests/Makefile
config.status: creating doc/Makefile
config.status: creating libmodbus.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: creating tests/unit-test.h
config.status: tests/unit-test.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

libmodbus 3.1.4
===============

prefix: /usr/local
sysconfdir: ${prefix}/etc
libdir: ${exec_prefix}/lib
includedir: ${prefix}/include

compiler: gcc
cflags: -g -O2
ldflags:

documentation: no
tests: yes

+ sudo make install
Making install in src
CC modbus.lo
CC modbus-data.lo
CC modbus-rtu.lo
CC modbus-tcp.lo
CCLD libmodbus.la
/bin/mkdir -p '/usr/local/lib'
/bin/bash ../libtool --mode=install /usr/bin/install -c libmodbus.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libmodbus.so.5.1.0 /usr/local/lib/libmodbus.so.5.1.0
libtool: install: (cd /usr/local/lib && { ln -s -f libmodbus.so.5.1.0 libmodbus.so.5 || { rm -f libmodbus.so.5 && ln -s libmodbus.so.5.1.0 libmodbus.so.5; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libmodbus.so.5.1.0 libmodbus.so || { rm -f libmodbus.so && ln -s libmodbus.so.5.1.0 libmodbus.so; }; })
libtool: install: /usr/bin/install -c .libs/libmodbus.lai /usr/local/lib/ libmodbus.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/usr/local/include/modbus'
/usr/bin/install -c -m 644 modbus.h modbus-version.h modbus-rtu.h modbus-tcp.h '/usr/local/include/modbus'
Making install in doc
make[2]: Nothing to be done for 'install-exec-am'.
Making install in tests
CC bandwidth-server-one.o
CCLD bandwidth-server-one
CC bandwidth-server-many-up.o
CCLD bandwidth-server-many-up
CC bandwidth-client.o
CCLD bandwidth-client
CC random-test-server.o
CCLD random-test-server
CC random-test-client.o
CCLD random-test-client
CC unit-test-server.o
CCLD unit-test-server
CC unit-test-client.o
CCLD unit-test-client
CC version.o
CCLD version
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p '/usr/local/share/doc/libmodbus'
/usr/bin/install -c -m 644 MIGRATION README.md '/usr/local/share/doc/libmodbus'
/bin/mkdir -p '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 libmodbus.pc '/usr/local/lib/pkgconfig'
+ '[' 0 -ne 0 ']'
+ sudo ldconfig
+ cd ../..
+ '[' sudo == sudo ']'
+ echo ''

+ echo '[OPENPLC SERVICE]'
[OPENPLC SERVICE]
++ pwd
+ WORKING_DIR=/home/scada/OpenPLC_v3
+ echo -e '[Unit]\nDescription=OpenPLC Service\nAfter=network.target\n\n[Service]\nType=simple\nRestart=always\nRestartSec=1\nUser=root\nGroup=root\nWorkingDirectory=/home/scada/OpenPLC_v3\nExecStart=/home/scada/OpenPLC_v3/start_openplc.sh\n\n[Install]\nWantedBy=multi-user.target'
+ sudo cp -rf ./openplc.service /lib/systemd/system/
+ rm -rf openplc.service
+ sudo 'Enabling OpenPLC Service...'
sudo: Enabling OpenPLC Service...: command not found
+ sudo systemctl daemon-reload
+ sudo systemctl enable openplc
+ echo ''

+ echo '[FINALIZING]'
[FINALIZING]
+ cd webserver/scripts
+ ./change_hardware_ layer.sh blank_linux
Activating Blank driver
Setting Platform
+ ./compile_ program.sh blank_ program.st
Optimizing ST program...
Generating C files...
POUS.c
POUS.h
LOCATED_VARIABLES.h
VARIABLES.csv
Config0.c
Config0.h
Res0.c
Moving Files...
Compiling for Linux
Generating object files...
Generating glueVars...
Compiling main program...
Compilation finished successfully!
+ cp ./start_ openplc.sh ../../
scada@scadaPLC:~/OpenPLC_v3$
Quote 0 0
thiagoralves
It looks like the installation went fine. However, I saw a “command not found” when the installer was trying to enable the OpenPLC service. What Linux distro is this? If the service is not running, you can try to start it manually by running ./start_ openplc.sh
Quote 0 0
Ayo_Rotibi
I tried to start it manually after using this new method and it worked! Many thanks.  will try that on the windows too this weekend.
Quote 0 0
Si Thu Aung

Si Thu Aung@EKP ~
$ git clone https://github.com/thiagoralves/OpenPLC_v3.git
./ install.sh winfatal: destination path 'OpenPLC_v3' already exists and is not an empty directory.

Si Thu Aung@EKP ~
$ cd OpenPLC_v3

Si Thu Aung@EKP ~/OpenPLC_v3
$ ./ install.sh win
Installing OpenPLC on Windows
--14:35:44-- http://cygwin.mirror.constant.com//x86_64/setup.bz2
=> `setup.bz2'
Resolving cygwin.mirror.constant.com... done.
Connecting to cygwin.mirror.constant.com[108.61.5.83]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,874,528 [application/octet-stream]

0K .......... .......... .......... .......... .......... 1% 68.31 KB/s

3750K .......... .......... .......... ... 100% 32.93 MB/s

14:35:57 (350.12 KB/s) - `setup.bz2' saved [3874528/3874528]

Updated setup.ini
Package lynx is already installed, skipping
Removing gcc-core
Package gcc-core removed
Removing gcc-g++
Package gcc-g++ removed
Removing pkg-config
Package pkg-config removed
Removing automake
Package automake removed
Removing autoconf
Package autoconf removed
Removing libtool
Package libtool removed
Removing make
Package make removed
Removing python2
Package python2 removed
Removing python2-pip
Package python2-pip removed
Removing sqlite3
Package sqlite3 removed
Package wget is already installed, skipping
Installing gcc-core
gcc-core-7.4.0-1.tar.xz: OK
Unpacking...
Package gcc-core requires the following packages, installing:
bash binutils cygwin cygwin-devel libatomic1 libgcc1 libgmp10 libgomp1 libiconv2 libintl8 libisl15 libmpc3 libmpfr6 libquadmath0 w32api-headers w32api-runtime windows-default-manifest zlib0
Package bash is already installed, skipping
Package binutils is already installed, skipping
Package cygwin is already installed, skipping
Package cygwin-devel is already installed, skipping
Package libatomic1 is already installed, skipping
Package libgcc1 is already installed, skipping
Package libgmp10 is already installed, skipping
Package libgomp1 is already installed, skipping
Package libiconv2 is already installed, skipping
Package libintl8 is already installed, skipping
Package libisl15 is already installed, skipping
Package libmpc3 is already installed, skipping
Package libmpfr6 is already installed, skipping
Package libquadmath0 is already installed, skipping
Package w32api-headers is already installed, skipping
Package w32api-runtime is already installed, skipping
Package windows-default-manifest is already installed, skipping
Package zlib0 is already installed, skipping
Package gcc-core installed

Installing gcc-g++
gcc-g++-7.4.0-1.tar.xz: OK
Unpacking...
Package gcc-g++ requires the following packages, installing:
cygwin gcc-core libgmp10 libiconv2 libintl8 libisl15 libmpc3 libmpfr6 libstdc++6 zlib0
Package cygwin is already installed, skipping
Package gcc-core is already installed, skipping
Package libgmp10 is already installed, skipping
Package libiconv2 is already installed, skipping
Package libintl8 is already installed, skipping
Package libisl15 is already installed, skipping
Package libmpc3 is already installed, skipping
Package libmpfr6 is already installed, skipping
Package libstdc++6 is already installed, skipping
Package zlib0 is already installed, skipping
Package gcc-g++ installed
Package git is already installed, skipping

Installing pkg-config
pkg-config-1.6.0-1.tar.xz: OK
Unpacking...
Package pkg-config requires the following packages, installing:
bash cygwin libglib2.0_0 pkgconf
Package bash is already installed, skipping
Package cygwin is already installed, skipping
Package libglib2.0_0 is already installed, skipping
Package pkgconf is already installed, skipping
Package pkg-config installed

Installing automake
automake-10-1.tar.xz: OK
Unpacking...
Package automake requires the following packages, installing:
automake1.10 automake1.11 automake1.12 automake1.13 automake1.14 automake1.15 automake1.4 automake1.5 automake1.6 automake1.7 automake1.8 automake1.9 bash gawk
Package automake1.10 is already installed, skipping
Package automake1.11 is already installed, skipping
Package automake1.12 is already installed, skipping
Package automake1.13 is already installed, skipping
Package automake1.14 is already installed, skipping
Package automake1.15 is already installed, skipping
Package automake1.4 is already installed, skipping
Package automake1.5 is already installed, skipping
Package automake1.6 is already installed, skipping
Package automake1.7 is already installed, skipping
Package automake1.8 is already installed, skipping
Package automake1.9 is already installed, skipping
Package bash is already installed, skipping
Package gawk is already installed, skipping
Package automake installed

Installing autoconf
autoconf-13-1.tar.bz2: OK
Unpacking...
Package autoconf requires the following packages, installing:
autoconf2.1 autoconf2.5 bash sed
Package autoconf2.1 is already installed, skipping
Package autoconf2.5 is already installed, skipping
Package bash is already installed, skipping
Package sed is already installed, skipping
Running /etc/postinstall/ autoconf.sh
Package autoconf installed

Installing libtool
libtool-2.4.6-6.tar.xz: OK
Unpacking...
Package libtool requires the following packages, installing:
bash libltdl7
Package bash is already installed, skipping
Package libltdl7 is already installed, skipping
Package libtool installed

Installing make
make-4.2.1-2.tar.xz: OK
Unpacking...
Package make requires the following packages, installing:
cygwin libguile17 libguile2.0_22 libintl8
Package cygwin is already installed, skipping
Package libguile17 is already installed, skipping
Package libguile2.0_22 is already installed, skipping
Package libintl8 is already installed, skipping
Package make installed

Installing python2
python2-2.7.16-1.tar.xz: OK
Unpacking...
Package python2 requires the following packages, installing:
bash binutils cygwin libbz2_1 libcrypt0 libdb5.3 libexpat1 libffi6 libgdbm4 libintl8 libncursesw10 libopenssl100 libreadline7 libsqlite3_0 libuuid-devel python27 zlib0
Package bash is already installed, skipping
Package binutils is already installed, skipping
Package cygwin is already installed, skipping
Package libbz2_1 is already installed, skipping
Package libcrypt0 is already installed, skipping
Package libdb5.3 is already installed, skipping
Package libexpat1 is already installed, skipping
Package libffi6 is already installed, skipping
Package libgdbm4 is already installed, skipping
Package libintl8 is already installed, skipping
Package libncursesw10 is already installed, skipping
Package libopenssl100 is already installed, skipping
Package libreadline7 is already installed, skipping
Package libsqlite3_0 is already installed, skipping
Package libuuid-devel is already installed, skipping
Package python27 is already installed, skipping
Package zlib0 is already installed, skipping
Package python2 installed

Installing python2-pip
python2-pip-19.0.3-1.tar.xz: OK
Unpacking...
Package python2-pip requires the following packages, installing:
python2 python2-appdirs python2-ipaddress python2-lockfile python2-lxml python2-packaging python2-pyparsing python2-requests python2-setuptools python2-six python2-wheel python27-pip
Package python2 is already installed, skipping
Package python2-appdirs is already installed, skipping
Package python2-ipaddress is already installed, skipping
Package python2-lockfile is already installed, skipping
Package python2-lxml is already installed, skipping
Package python2-packaging is already installed, skipping
Package python2-pyparsing is already installed, skipping
Package python2-requests is already installed, skipping
Package python2-setuptools is already installed, skipping
Package python2-six is already installed, skipping
Package python2-wheel is already installed, skipping
Package python27-pip is already installed, skipping
Package python2-pip installed

Installing sqlite3
sqlite3-3.28.0-1.tar.xz: OK
Unpacking...
Package sqlite3 requires the following packages, installing:
cygwin libreadline7 libsqlite3_0 sqlite3-vfslog
Package cygwin is already installed, skipping
Package libreadline7 is already installed, skipping
Package libsqlite3_0 is already installed, skipping
Package sqlite3-vfslog is already installed, skipping
Package sqlite3 installed
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting pip
Using cached https://files.pythonhosted.org/packages/5c/e0/be401c003291b56efc55aeba6a80ab790d3d4cece2778288d65323009420/pip-19.1.1-py2.py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 19.1.1
Uninstalling pip-19.1.1:
Successfully uninstalled pip-19.1.1
Successfully installed pip-19.1.1
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already satisfied: flask in /usr/lib/python2.7/site-packages (1.0.3)
Requirement already satisfied: itsdangerous>=0.24 in /usr/lib/python2.7/site-packages (from flask) (1.1.0)
Requirement already satisfied: Jinja2>=2.10 in /usr/lib/python2.7/site-packages (from flask) (2.10.1)
Requirement already satisfied: click>=5.1 in /usr/lib/python2.7/site-packages (from flask) (7.0)
Requirement already satisfied: Werkzeug>=0.14 in /usr/lib/python2.7/site-packages (from flask) (0.15.4)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/lib/python2.7/site-packages (from Jinja2>=2.10->flask) (1.1.1)
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already satisfied: flask-login in /usr/lib/python2.7/site-packages (0.4.1)
Requirement already satisfied: Flask in /usr/lib/python2.7/site-packages (from flask-login) (1.0.3)
Requirement already satisfied: itsdangerous>=0.24 in /usr/lib/python2.7/site-packages (from Flask->flask-login) (1.1.0)
Requirement already satisfied: Jinja2>=2.10 in /usr/lib/python2.7/site-packages (from Flask->flask-login) (2.10.1)
Requirement already satisfied: click>=5.1 in /usr/lib/python2.7/site-packages (from Flask->flask-login) (7.0)
Requirement already satisfied: Werkzeug>=0.14 in /usr/lib/python2.7/site-packages (from Flask->flask-login) (0.15.4)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/lib/python2.7/site-packages (from Jinja2>=2.10->Flask->flask-login) (1.1.1)
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already satisfied: pyserial in /usr/lib/python2.7/site-packages (3.4)
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already satisfied: pymodbus in /usr/lib/python2.7/site-packages (2.2.0)
Requirement already satisfied: pyserial>=3.4 in /usr/lib/python2.7/site-packages (from pymodbus) (3.4)
Requirement already satisfied: six==1.11.0 in /usr/lib/python2.7/site-packages (from pymodbus) (1.11.0)

[MATIEC COMPILER]

[ST OPTIMIZER]

[GLUE GENERATOR]

[OPEN DNP3]

[LIBMODBUS]
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: linking file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
libtoolize: linking file 'm4/lt~obsolete.m4'
configure.ac:33: installing 'build-aux/compile'
configure.ac:32: installing 'build-aux/missing'
src/Makefile.am: installing 'build-aux/depcomp'

------------------------------------------------------
Initialized build system. You can now run ./configure
------------------------------------------------------

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
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 gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
configure: WARNING: Libtool does not cope well with whitespace in `pwd`
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-pc-cygwin/bin/ld.exe
checking if the linker (/usr/x86_64-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 8192
checking how to convert x86_64-unknown-cygwin file names to x86_64-unknown-cygwin format... func_convert_file_noop
checking how to convert x86_64-unknown-cygwin file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-cygwin/bin/ld.exe option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for dlltool... dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for as... as
checking for dlltool... (cached) dlltool
checking for objdump... (cached) objdump
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-pc-cygwin/bin/ld.exe) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking linux/serial.h usability... no
checking linux/serial.h presence... no
checking for linux/serial.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/params.h usability... no
checking sys/params.h presence... no
checking for sys/params.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for asciidoc... no
checking for xmlto... no
checking whether to build documentation... no
configure: WARNING: The tools to build the documentation aren't installed
checking whether __CYGWIN__ is declared... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for accept4... yes
checking for getaddrinfo... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strerror... yes
checking for strlcpy... yes
checking for inline... inline
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 how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/x86_64-pc-cygwin/bin/ld.exe
checking if the linker (/usr/x86_64-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking whether the g++ linker (/usr/x86_64-pc-cygwin/bin/ld.exe) supports shared libraries... yes
checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC
checking if g++ PIC flag -DDLL_EXPORT -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/x86_64-pc-cygwin/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking for int64_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking whether TIOCSRS485 is declared... no
checking whether TIOCM_RTS is declared... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/modbus-version.h
config.status: creating src/win32/modbus.dll.manifest
config.status: creating tests/Makefile
config.status: creating doc/Makefile
config.status: creating libmodbus.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: creating tests/unit-test.h
config.status: tests/unit-test.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

libmodbus 3.1.4
===============

prefix: /usr/local
sysconfdir: ${prefix}/etc
libdir: ${exec_prefix}/lib
includedir: ${prefix}/include

compiler: gcc
cflags: -g -O2
ldflags:

documentation: no
tests: yes

Making install in src
CC modbus.lo
CC modbus-data.lo
CC modbus-rtu.lo
CC modbus-tcp.lo
CCLD libmodbus.la
/usr/bin/mkdir -p '/usr/local/lib'
/bin/sh ../libtool --mode=install /usr/bin/install -c libmodbus.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libmodbus.dll.a /usr/local/lib/libmodbus.dll.a
libtool: install: base_file=`basename libmodbus.la`
libtool: install: dlpath=`/bin/sh 2>&1 -c '. .libs/'libmodbus.la'i; echo cygmodbus-5.dll'`
libtool: install: dldir=/usr/local/lib/`dirname ../bin/cygmodbus-5.dll`
libtool: install: test -d /usr/local/lib/../bin || mkdir -p /usr/local/lib/../bin
libtool: install: /usr/bin/install -c .libs/cygmodbus-5.dll /usr/local/lib/../bin/cygmodbus-5.dll
libtool: install: chmod a+x /usr/local/lib/../bin/cygmodbus-5.dll
libtool: install: if test -n '' && test -n 'strip --strip-unneeded'; then eval 'strip --strip-unneeded /usr/local/lib/../bin/cygmodbus-5.dll' || exit 0; fi
libtool: install: /usr/bin/install -c .libs/libmodbus.lai /usr/local/lib/ libmodbus.la
/usr/bin/mkdir -p '/usr/local/include/modbus'
/usr/bin/install -c -m 644 modbus.h modbus-version.h modbus-rtu.h modbus-tcp.h '/usr/local/include/modbus'
Making install in doc
make[2]: Nothing to be done for 'install-exec-am'.
Making install in tests
CC bandwidth-server-one.o
CCLD bandwidth-server-one.exe
CC bandwidth-server-many-up.o
CCLD bandwidth-server-many-up.exe
CC bandwidth-client.o
CCLD bandwidth-client.exe
CC random-test-server.o
CCLD random-test-server.exe
CC random-test-client.o
CCLD random-test-client.exe
CC unit-test-server.o
CCLD unit-test-server.exe
CC unit-test-client.o
CCLD unit-test-client.exe
CC version.o
CCLD version.exe
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/usr/local/share/doc/libmodbus'
/usr/bin/install -c -m 644 MIGRATION README.md '/usr/local/share/doc/libmodbus'
/usr/bin/mkdir -p '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 libmodbus.pc '/usr/local/lib/pkgconfig'

[FINALIZING]
Activating Blank driver
Setting Platform
Optimizing ST program...
Generating C files...
POUS.c
POUS.h
LOCATED_VARIABLES.h
VARIABLES.csv
Config0.c
Config0.h
Res0.c
Moving Files...
Compiling for Windows
Generating object files...
Generating glueVars...
Compiling main program...
Compilation finished successfully!

Si Thu Aung@EKP ~/OpenPLC_v3
$
Quote 0 0
Si Thu Aung
What Should I Do For The Next....
Quote 0 0
thiagoralves
With the manual install you need to manually start it by running ./ start_openplc.sh script. Ideally, you should just remove everything and use the provided windows installer. It is a lot easier to handle it
Quote 0 0
Ken_M
Having an issue with python flask when starting OpenPLCc

pop@mx:~
$ cd OpenPLC_v3
pop@mx:~/OpenPLC_v3
$ sudo ./ start_openplc.sh
[sudo] password for pop:
Traceback (most recent call last):
File "webserver.py", line 17, in <module>
import flask_login
ImportError: No module named flask_login
pop@mx:~/OpenPLC_v3

I installed python-flask (ver. 0.121-1) using Synaptic Package Manager and tried rerunning sudo ./ start_openplc.sh - same result.
Any suggestions??
Thank you
Quote 0 0
pedromorgan
you need to install the packages in requirements.txt
eg
sudo pip install -r requirements.txt
Quote 0 0
thiagoralves
What system are you trying to run OpenPLC on? Windows? Linux? Raspbian? Normally openplc installer should install all the required dependencies for you. Did you run the installer? I don’t recommend you install dependencies by hand unless you know very well what you’re doing, otherwise you might end up with a broken system.
Quote 0 0
nenadmasinska
First of all, a big regards and respect for your work.

My system: Win 10 , 64-bit

I had a lot of installation errors reported, so I uninstalled Python 3.8 and turned off Awast antivirus.
I finally finished the installation but got the contents of OpnePLC Runtime when booting

Verifying Runtime Installation...
* Serving Flask app "webserver" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
Traceback (most recent call last):
File "webserver.py", line 2213, in <module>
app.run(debug=False, host='0.0.0.0', threaded=True, port=8080)
File "/usr/lib/python2.7/site-packages/flask/app.py", line 990, in run
run_simple(host, port, self, **options)
File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 1010, in run_simple
inner()
File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 963, in inner
fd=fd,
File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 806, in make_server
host, port, app, request_handler, passthrough_errors, ssl_context, fd=fd
File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 699, in __init__
HTTPServer.__init__(self, server_address, handler)
File "/usr/lib/python2.7/SocketServer.py", line 420, in __init__
self.server_bind()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
SocketServer.TCPServer.server_bind(self)
File "/usr/lib/python2.7/SocketServer.py", line 434, in server_bind
self.socket.bind(self.server_address)
File "/usr/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 112] Address already in use
Press [Enter] key to close...

When trying in lbrowser     lochost : 8080,   I get
Access Error: 404 - Not Found

If you would be kind for advice
Quote 0 0
thiagoralves
There is something else using port 8080. Once you stop that service/program/daemon whatever it is, OpenPLC will be able to start
Quote 0 0