genival
Olá pessoal,
Não estou conseguindo resolver esse problema. Alguém pode ajudar?
[203128%2F8235199%2Fmceclip0]
Reply 0 0
thiagoralves
Como vc instalou o OpenPLC?
Reply 0 0
genival
Eu executei o instalador, após o download no site: Download – windows – OpenPLC (openplcproject.com).
 
Com o executável consegui instalar o OpenPLC. Mas não deu certo instalar de forma manual. 
Reply 0 0
thiagoralves
Não precisa instalar de forma manual se o instalador instalou com sucesso. Pelo screenshot eu pensei que vc estava no Linux. Se a instalação correu tudo bem então tá tudo certo.
Reply 0 0
tekinho.sam
Cliente Pc@DESKTOP-70LILGB ~
$ git clone https://github.com/thiagoralves/OpenPLC_v3.git
cd OpenPLC_v3
./ install.sh win
fatal: destination path 'OpenPLC_v3' already exists and is not an empty directory.
Installing OpenPLC on Windows
found wget. Skipping install
--2023-07-11 18:39:24-- https://cygwin.mirror.constant.com//x86_64/setup.bz2
Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... 108.61.5.83
Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)|108.61.5.83|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4430899 (4.2M) [application/octet-stream]
Saving to: ‘setup.bz2’
0K .......... .......... .......... .......... .......... 1% 247K 17s
50K .......... .......... .......... .......... .......... 2% 500K 13s
100K .......... .......... .......... .......... .......... 3% 143K 18s
150K .......... .......... .......... .......... .......... 4% 12.3M 14s
200K .......... .......... .......... .......... .......... 5% 2.19M 11s
250K .......... .......... .......... .......... .......... 6% 418K 11s
300K .......... .......... .......... .......... .......... 8% 1.95M 9s
350K .......... .......... .......... .......... .......... 9% 205K 10s
400K .......... .......... .......... .......... .......... 10% 13.1M 9s
450K .......... .......... .......... .......... .......... 11% 424K 9s
500K .......... .......... .......... .......... .......... 12% 1.50M 8s
550K .......... .......... .......... .......... .......... 13% 397K 8s
600K .......... .......... .......... .......... .......... 15% 1.98M 8s
650K .......... .......... .......... .......... .......... 16% 204K 8s
700K .......... .......... .......... .......... .......... 17% 653K 8s
750K .......... .......... .......... .......... .......... 18% 670K 8s
800K .......... .......... .......... .......... .......... 19% 107K 9s
850K .......... .......... .......... .......... .......... 20% 2.00M 9s
900K .......... .......... .......... .......... .......... 21% 1.91M 8s
950K .......... .......... .......... .......... .......... 23% 392K 8s
1000K .......... .......... .......... .......... .......... 24% 167K 8s
1050K .......... .......... .......... .......... .......... 25% 2.07M 8s
1100K .......... .......... .......... .......... .......... 26% 2.08M 8s
1150K .......... .......... .......... .......... .......... 27% 394K 8s
1200K .......... .......... .......... .......... .......... 28% 305K 8s
1250K .......... .......... .......... .......... .......... 30% 364K 7s
1300K .......... .......... .......... .......... .......... 31% 2.09M 7s
1350K .......... .......... .......... .......... .......... 32% 20.8M 7s
1400K .......... .......... .......... .......... .......... 33% 1019K 6s
1450K .......... .......... .......... .......... .......... 34% 15.1M 6s
1500K .......... .......... .......... .......... .......... 35% 22.5M 6s
1550K .......... .......... .......... .......... .......... 36% 18.9M 6s
1600K .......... .......... .......... .......... .......... 38% 22.5M 5s
1650K .......... .......... .......... .......... .......... 39% 15.8M 5s
1700K .......... .......... .......... .......... .......... 40% 2.80M 5s
1750K .......... .......... .......... .......... .......... 41% 2.46M 5s
1800K .......... .......... .......... .......... .......... 42% 2.34M 4s
1850K .......... .......... .......... .......... .......... 43% 5.75M 4s
1900K .......... .......... .......... .......... .......... 45% 6.25M 4s
1950K .......... .......... .......... .......... .......... 46% 1.05M 4s
2000K .......... .......... .......... .......... .......... 47% 6.32M 4s
2050K .......... .......... .......... .......... .......... 48% 6.29M 4s
2100K .......... .......... .......... .......... .......... 49% 6.11M 3s
2150K .......... .......... .......... .......... .......... 50% 5.52M 3s
2200K .......... .......... .......... .......... .......... 51% 6.40M 3s
2250K .......... .......... .......... .......... .......... 53% 6.52M 3s
2300K .......... .......... .......... .......... .......... 54% 6.34M 3s
2350K .......... .......... .......... .......... .......... 55% 5.22M 3s
2400K .......... .......... .......... .......... .......... 56% 6.54M 3s
2450K .......... .......... .......... .......... .......... 57% 7.70M 3s
2500K .......... .......... .......... .......... .......... 58% 7.45M 2s
2550K .......... .......... .......... .......... .......... 60% 8.35M 2s
2600K .......... .......... .......... .......... .......... 61% 1.89M 2s
2650K .......... .......... .......... .......... .......... 62% 8.16M 2s
2700K .......... .......... .......... .......... .......... 63% 7.49M 2s
2750K .......... .......... .......... .......... .......... 64% 6.07M 2s
2800K .......... .......... .......... .......... .......... 65% 6.76M 2s
2850K .......... .......... .......... .......... .......... 67% 11.5M 2s
2900K .......... .......... .......... .......... .......... 68% 9.09M 2s
2950K .......... .......... .......... .......... .......... 69% 9.84M 2s
3000K .......... .......... .......... .......... .......... 70% 8.63M 1s
3050K .......... .......... .......... .......... .......... 71% 11.8M 1s
3100K .......... .......... .......... .......... .......... 72% 12.3M 1s
3150K .......... .......... .......... .......... .......... 73% 7.91M 1s
3200K .......... .......... .......... .......... .......... 75% 10.7M 1s
3250K .......... .......... .......... .......... .......... 76% 13.5M 1s
3300K .......... .......... .......... .......... .......... 77% 10.5M 1s
3350K .......... .......... .......... .......... .......... 78% 14.3M 1s
3400K .......... .......... .......... .......... .......... 79% 10.0M 1s
3450K .......... .......... .......... .......... .......... 80% 15.6M 1s
3500K .......... .......... .......... .......... .......... 82% 14.8M 1s
3550K .......... .......... .......... .......... .......... 83% 9.40M 1s
3600K .......... .......... .......... .......... .......... 84% 12.8M 1s
3650K .......... .......... .......... .......... .......... 85% 16.5M 1s
3700K .......... .......... .......... .......... .......... 86% 13.1M 1s
3750K .......... .......... .......... .......... .......... 87% 14.4M 1s
3800K .......... .......... .......... .......... .......... 88% 13.0M 0s
3850K .......... .......... .......... .......... .......... 90% 14.4M 0s
3900K .......... .......... .......... .......... .......... 91% 13.4M 0s
3950K .......... .......... .......... .......... .......... 92% 12.2M 0s
4000K .......... .......... .......... .......... .......... 93% 12.8M 0s
4050K .......... .......... .......... .......... .......... 94% 12.9M 0s
4100K .......... .......... .......... .......... .......... 95% 18.3M 0s
4150K .......... .......... .......... .......... .......... 97% 20.6M 0s
4200K .......... .......... .......... .......... .......... 98% 16.3M 0s
4250K .......... .......... .......... .......... .......... 99% 10.8M 0s
4300K .......... .......... ....... 100% 20.5M=3.7s
2023-07-11 18:39:30 (1.16 MB/s) - ‘setup.bz2’ saved [4430899/4430899]
Updated setup.ini
Package lynx is already installed, skipping
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
Installing python2
Unable to locate package python2
./background_installer.sh: line 196: /usr/bin/python2: No such file or directory
Collecting pip
Using cached pip-23.1.2-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 23.1.2
Uninstalling pip-23.1.2:
Successfully uninstalled pip-23.1.2
Successfully installed pip-23.1.2
./background_installer.sh: line 198: /usr/bin/python2: No such file or directory
./background_installer.sh: line 199: /usr/bin/python2: No such file or directory
./background_installer.sh: line 200: /usr/bin/python2: No such file or directory
./background_installer.sh: line 201: /usr/bin/python2: No such file or directory
Requirement already satisfied: pymodbus==2.5.3 in /usr/local/lib/python3.9/site-packages (2.5.3)
Requirement already satisfied: six>=1.15.0 in /usr/lib/python3.9/site-packages (from pymodbus==2.5.3) (1.16.0)
Requirement already satisfied: pyserial>=3.4 in /usr/local/lib/python3.9/site-packages (from pymodbus==2.5.3) (3.5)
[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: 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.71/lib/autoconf/c.m4:1666: 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 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-cygwin
checking host system type... x86_64-pc-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 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... 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 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 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
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!
Cliente Pc@DESKTOP-70LILGB ~/OpenPLC_v3
$ ./ install.sh win
Installing OpenPLC on Windows
found wget. Skipping install
--2023-07-11 18:54:38-- https://cygwin.mirror.constant.com//x86_64/setup.bz2
Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... 108.61.5.83
Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)|108.61.5.83|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4430899 (4.2M) [application/octet-stream]
Saving to: ‘setup.bz2’
0K .......... .......... .......... .......... .......... 1% 666K 6s
50K .......... .......... .......... .......... .......... 2% 316K 10s
100K .......... .......... .......... .......... .......... 3% 480K 9s
150K .......... .......... .......... .......... .......... 4% 1.22M 8s
200K .......... .......... .......... .......... .......... 5% 185K 11s
250K .......... .......... .......... .......... .......... 6% 27.9M 9s
300K .......... .......... .......... .......... .......... 8% 30.4M 7s
350K .......... .......... .......... .......... .......... 9% 153K 10s
400K .......... .......... .......... .......... .......... 10% 1.54M 9s
450K .......... .......... .......... .......... .......... 11% 555K 8s
500K .......... .......... .......... .......... .......... 12% 486K 8s
550K .......... .......... .......... .......... .......... 13% 420K 8s
600K .......... .......... .......... .......... .......... 15% 33.1M 7s
650K .......... .......... .......... .......... .......... 16% 1.63M 7s
700K .......... .......... .......... .......... .......... 17% 292K 7s
750K .......... .......... .......... .......... .......... 18% 273K 8s
800K .......... .......... .......... .......... .......... 19% 8.31M 7s
850K .......... .......... .......... .......... .......... 20% 20.0M 7s
900K .......... .......... .......... .......... .......... 21% 333K 7s
950K .......... .......... .......... .......... .......... 23% 961K 6s
1000K .......... .......... .......... .......... .......... 24% 672K 6s
1050K .......... .......... .......... .......... .......... 25% 1.15M 6s
1100K .......... .......... .......... .......... .......... 26% 20.0M 6s
1150K .......... .......... .......... .......... .......... 27% 325K 6s
1200K .......... .......... .......... .......... .......... 28% 676K 6s
1250K .......... .......... .......... .......... .......... 30% 513K 5s
1300K .......... .......... .......... .......... .......... 31% 858K 5s
1350K .......... .......... .......... .......... .......... 32% 873K 5s
1400K .......... .......... .......... .......... .......... 33% 622K 5s
1450K .......... .......... .......... .......... .......... 34% 671K 5s
1500K .......... .......... .......... .......... .......... 35% 23.4M 5s
1550K .......... .......... .......... .......... .......... 36% 3.53M 5s
1600K .......... .......... .......... .......... .......... 38% 259K 5s
1650K .......... .......... .......... .......... .......... 39% 22.9M 4s
1700K .......... .......... .......... .......... .......... 40% 446K 4s
1750K .......... .......... .......... .......... .......... 41% 259K 4s
1800K .......... .......... .......... .......... .......... 42% 14.7M 4s
1850K .......... .......... .......... .......... .......... 43% 18.7M 4s
1900K .......... .......... .......... .......... .......... 45% 1023K 4s
1950K .......... .......... .......... .......... .......... 46% 25.0M 4s
2000K .......... .......... .......... .......... .......... 47% 1.68M 4s
2050K .......... .......... .......... .......... .......... 48% 157K 4s
2100K .......... .......... .......... .......... .......... 49% 402K 4s
2150K .......... .......... .......... .......... .......... 50% 9.14M 4s
2200K .......... .......... .......... .......... .......... 51% 14.6M 3s
2250K .......... .......... .......... .......... .......... 53% 11.3M 3s
2300K .......... .......... .......... .......... .......... 54% 8.70M 3s
2350K .......... .......... .......... .......... .......... 55% 10.3M 3s
2400K .......... .......... .......... .......... .......... 56% 561K 3s
2450K .......... .......... .......... .......... .......... 57% 622K 3s
2500K .......... .......... .......... .......... .......... 58% 8.32M 3s
2550K .......... .......... .......... .......... .......... 60% 11.8M 3s
2600K .......... .......... .......... .......... .......... 61% 308K 3s
2650K .......... .......... .......... .......... .......... 62% 1.04M 2s
2700K .......... .......... .......... .......... .......... 63% 343K 2s
2750K .......... .......... .......... .......... .......... 64% 29.5M 2s
2800K .......... .......... .......... .......... .......... 65% 1.59M 2s
2850K .......... .......... .......... .......... .......... 67% 44.1M 2s
2900K .......... .......... .......... .......... .......... 68% 494K 2s
2950K .......... .......... .......... .......... .......... 69% 1.68M 2s
3000K .......... .......... .......... .......... .......... 70% 946K 2s
3050K .......... .......... .......... .......... .......... 71% 21.3M 2s
3100K .......... .......... .......... .......... .......... 72% 27.7M 2s
3150K .......... .......... .......... .......... .......... 73% 897K 2s
3200K .......... .......... .......... .......... .......... 75% 1.12M 2s
3250K .......... .......... .......... .......... .......... 76% 278K 1s
3300K .......... .......... .......... .......... .......... 77% 1.01M 1s
3350K .......... .......... .......... .......... .......... 78% 1.52M 1s
3400K .......... .......... .......... .......... .......... 79% 329K 1s
3450K .......... .......... .......... .......... .......... 80% 9.96M 1s
3500K .......... .......... .......... .......... .......... 82% 9.48M 1s
3550K .......... .......... .......... .......... .......... 83% 656K 1s
3600K .......... .......... .......... .......... .......... 84% 2.54M 1s
3650K .......... .......... .......... .......... .......... 85% 4.27M 1s
3700K .......... .......... .......... .......... .......... 86% 429K 1s
3750K .......... .......... .......... .......... .......... 87% 1.40M 1s
3800K .......... .......... .......... .......... .......... 88% 22.9M 1s
3850K .......... .......... .......... .......... .......... 90% 769K 1s
3900K .......... .......... .......... .......... .......... 91% 1.01M 1s
3950K .......... .......... .......... .......... .......... 92% 701K 0s
4000K .......... .......... .......... .......... .......... 93% 861K 0s
4050K .......... .......... .......... .......... .......... 94% 1.43M 0s
4100K .......... .......... .......... .......... .......... 95% 788K 0s
4150K .......... .......... .......... .......... .......... 97% 3.04M 0s
4200K .......... .......... .......... .......... .......... 98% 842K 0s
4250K .......... .......... .......... .......... .......... 99% 27.8M 0s
4300K .......... .......... ....... 100% 12.3M=5.7s
2023-07-11 18:54:46 (765 KB/s) - ‘setup.bz2’ saved [4430899/4430899]
Updated setup.ini
Package lynx is already installed, skipping
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
Installing python2
Unable to locate package python2
./background_installer.sh: line 196: /usr/bin/python2: No such file or directory
Collecting pip
Using cached pip-23.1.2-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 23.1.2
Uninstalling pip-23.1.2:
Successfully uninstalled pip-23.1.2
Successfully installed pip-23.1.2
./background_installer.sh: line 198: /usr/bin/python2: No such file or directory
./background_installer.sh: line 199: /usr/bin/python2: No such file or directory
./background_installer.sh: line 200: /usr/bin/python2: No such file or directory
./background_installer.sh: line 201: /usr/bin/python2: No such file or directory
Requirement already satisfied: pymodbus==2.5.3 in /usr/local/lib/python3.9/site-packages (2.5.3)
Requirement already satisfied: six>=1.15.0 in /usr/lib/python3.9/site-packages (from pymodbus==2.5.3) (1.16.0)
Requirement already satisfied: pyserial>=3.4 in /usr/local/lib/python3.9/site-packages (from pymodbus==2.5.3) (3.5)
[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: 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.71/lib/autoconf/c.m4:1666: 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 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-cygwin
checking host system type... x86_64-pc-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 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... 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 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 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
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!
Cliente Pc@DESKTOP-70LILGB ~/OpenPLC_v3
$ cd OpenPLC_v3
./ start_openplc.sh
-bash: cd: OpenPLC_v3: No such file or directory
cp: cannot stat '/workdir/webserver/dnp3_default.cfg': No such file or directory
cp: cannot stat '/workdir/webserver/openplc_default.db': No such file or directory
./start_openplc.sh: line 28: python2.7: command not found
Cliente Pc@DESKTOP-70LILGB ~/OpenPLC_v3
$
Reply 0 0
tekinho.sam
estou com mesmo problema podem me ajudar
??
Reply 0 0
thiagoralves
A sua instalação do Cygwin está quebrada, alguns pacotes não estão sendo instalados. Tente usar o instalador automático do OpenPLC:  https://openplcproject.com/docs/installing-openplc-runtime-on-windows/
Reply 0 0
Reply