kisutudong
 
I installed openPLC Runtime and got the warning as below. How should I fix it? Thanks
 
LENOVO@Lek ~
$ git clone https://github.com/thiagoralves/OpenPLC_v3.git
fatal: destination path 'OpenPLC_v3' already exists and is not an empty directory.
LENOVO@Lek ~
$ cd OpenPLC_v3
LENOVO@Lek ~/OpenPLC_v3
$ ./ install.sh win
Installing OpenPLC on Windows
Cache directory is /cygdrive/e/OpenPLC
Mirror is https://mirrors.163.com/cygwin
Updating setup.ini
--2024-04-21 22:24:58-- https://mirrors.163.com/cygwin/x86_64/setup.zst
Resolving mirrors.163.com (mirrors.163.com)... 60.191.80.15
Connecting to mirrors.163.com (mirrors.163.com)|60.191.80.15|:443... connected.
HTTP request sent, awaiting response... 304 Not Modified
File ‘setup.zst’ not modified on server. Omitting download.
--2024-04-21 22:25:00-- https://mirrors.163.com/cygwin/x86_64/setup.zst.sig
Reusing existing connection to mirrors.163.com:443.
HTTP request sent, awaiting response... 304 Not Modified
File ‘setup.zst.sig’ not modified on server. Omitting download.
gpg: assuming signed data in `setup.zst'
gpg: Signature made Thu Apr 18 02:23:52 2024 +07 using RSA key ID E2E56300
gpg: Good signature from "Cygwin <cygwin@cygwin.com>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 5640 5CF6 FCC8 1574 682A 5D56 1A69 8DE9 E2E5 6300
signature verified: setup.zst.sig
Updated setup.ini
Cache directory is /cygdrive/e/OpenPLC
Mirror is https://mirrors.163.com/cygwin
Updating setup.ini
--2024-04-21 22:25:01-- https://mirrors.163.com/cygwin/x86_64/setup.zst
Resolving mirrors.163.com (mirrors.163.com)... 60.191.80.15
Connecting to mirrors.163.com (mirrors.163.com)|60.191.80.15|:443... connected.
HTTP request sent, awaiting response... 304 Not Modified
File ‘setup.zst’ not modified on server. Omitting download.
--2024-04-21 22:25:03-- https://mirrors.163.com/cygwin/x86_64/setup.zst.sig
Reusing existing connection to mirrors.163.com:443.
HTTP request sent, awaiting response... 304 Not Modified
File ‘setup.zst.sig’ not modified on server. Omitting download.
gpg: assuming signed data in `setup.zst'
gpg: Signature made Thu Apr 18 02:23:52 2024 +07 using RSA key ID E2E56300
gpg: Good signature from "Cygwin <cygwin@cygwin.com>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 5640 5CF6 FCC8 1574 682A 5D56 1A69 8DE9 E2E5 6300
signature verified: setup.zst.sig
Updated setup.ini
Package lynx is already installed, skipping
Cache directory is /cygdrive/e/OpenPLC
Mirror is https://mirrors.163.com/cygwin
Updating setup.ini
--2024-04-21 22:25:04-- https://mirrors.163.com/cygwin/x86_64/setup.zst
Resolving mirrors.163.com (mirrors.163.com)... 60.191.80.15
Connecting to mirrors.163.com (mirrors.163.com)|60.191.80.15|:443... connected.
HTTP request sent, awaiting response... 304 Not Modified
File ‘setup.zst’ not modified on server. Omitting download.
--2024-04-21 22:25:06-- https://mirrors.163.com/cygwin/x86_64/setup.zst.sig
Reusing existing connection to mirrors.163.com:443.
HTTP request sent, awaiting response... 304 Not Modified
File ‘setup.zst.sig’ not modified on server. Omitting download.
gpg: assuming signed data in `setup.zst'
gpg: Signature made Thu Apr 18 02:23:52 2024 +07 using RSA key ID E2E56300
gpg: Good signature from "Cygwin <cygwin@cygwin.com>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 5640 5CF6 FCC8 1574 682A 5D56 1A69 8DE9 E2E5 6300
signature verified: setup.zst.sig
Updated setup.ini
Package gcc-core is already installed, skipping
Package gcc-g++ is already installed, skipping
Package git is already installed, skipping
Package pkg-config is already installed, skipping
Package automake is already installed, skipping
Package autoconf is already installed, skipping
Package libtool is already installed, skipping
Package make is already installed, skipping
Package sqlite3 is already installed, skipping
Package python3 is already installed, skipping
Error: Command '['/home/LENOVO/OpenPLC_v3/.venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
Collecting pip
Using cached pip-24.0-py3-none-any.whl.metadata (3.6 kB)
Using cached pip-24.0-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 24.0
Uninstalling pip-24.0:
Successfully uninstalled pip-24.0
Successfully installed pip-24.0
Requirement already satisfied: flask==2.3.3 in ./.venv/lib/python3.9/site-packages (2.3.3)
Requirement already satisfied: werkzeug==2.3.7 in ./.venv/lib/python3.9/site-packages (2.3.7)
Requirement already satisfied: flask-login==0.6.2 in ./.venv/lib/python3.9/site-packages (0.6.2)
Requirement already satisfied: pyserial in ./.venv/lib/python3.9/site-packages (3.5)
Requirement already satisfied: pymodbus==2.5.3 in ./.venv/lib/python3.9/site-packages (2.5.3)
Requirement already satisfied: Jinja2>=3.1.2 in ./.venv/lib/python3.9/site-packages (from flask==2.3.3) (3.1.3)
Requirement already satisfied: itsdangerous>=2.1.2 in ./.venv/lib/python3.9/site-packages (from flask==2.3.3) (2.1.2)
Requirement already satisfied: click>=8.1.3 in ./.venv/lib/python3.9/site-packages (from flask==2.3.3) (8.1.7)
Requirement already satisfied: blinker>=1.6.2 in ./.venv/lib/python3.9/site-packages (from flask==2.3.3) (1.7.0)
Requirement already satisfied: importlib-metadata>=3.6.0 in ./.venv/lib/python3.9/site-packages (from flask==2.3.3) (7.1.0)
Requirement already satisfied: MarkupSafe>=2.1.1 in ./.venv/lib/python3.9/site-packages (from werkzeug==2.3.7) (2.1.5)
Requirement already satisfied: six>=1.15.0 in ./.venv/lib/python3.9/site-packages (from pymodbus==2.5.3) (1.16.0)
Requirement already satisfied: zipp>=0.5 in ./.venv/lib/python3.9/site-packages (from importlib-metadata>=3.6.0->flask==2.3.3) (3.18.1)
[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'
libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT'
configure.ac:33: warning: The macro 'AC_PROG_CC_STDC' is obsolete.
configure.ac:33: You should run autoupdate.
/mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.72/lib/autoconf/c.m4:1669: AC_PROG_CC_STDC is expanded from...
configure.ac:33: the top level
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 race-free 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 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.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking for vfork.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for gcc option to enable large file support... none needed
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-cygwin
checking host system type... x86_64-pc-cygwin
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
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-pc-cygwin file names to x86_64-pc-cygwin format... func_convert_file_noop
checking how to convert x86_64-pc-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 file... file
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... mt
checking if mt 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 for arpa/inet.h... yes
checking for byteswap.h... yes
checking for errno.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for linux/serial.h... no
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for netinet/tcp.h... yes
checking for sys/ioctl.h... yes
checking for sys/params.h... no
checking for sys/socket.h... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for termios.h... 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 for gcc options needed to detect all undeclared functions... none needed
checking whether __CYGWIN__ is declared... yes
checking for pid_t... yes
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (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 the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
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 ranlib... (cached) ranlib
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 for winsock2.h... no
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.2
===============
prefix: /usr/local
sysconfdir: ${prefix}/etc
libdir: ${exec_prefix}/lib
includedir: ${prefix}/include
compiler: gcc
cflags: -g -O2
ldflags:
documentation: no
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 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'.
Making install in doc
make[2]: Nothing to be done for 'install-exec-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'
./background_installer.sh: line 188: ldconfig: command not found
[FINALIZING]
Activating Blank driver
Setting Platform
cat: ethercat: No such file or directory
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!
 
LENOVO@Lek ~/OpenPLC_v3
$ ./ start_openplc.sh
* Serving Flask app 'webserver'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:8080
* Running on http://192.168.1.34:8080
Press CTRL+C to quit
 
 
Reply 0 0
thiagoralves
This is not an issue
Reply 0 0
kisutudong
Thanks for you reply
but what should i do next?
Reply 0 0
thiagoralves
Reply 0 0
Reply