METAS2016
Hello I am trying to install the editor on Ubuntu but keep getting the same error no matter what I do. Any assistance would be greatly appreciated.

/ install.sh
Installing OpenPLC Editor
Please be patient. This may take a couple minutes...

[INSTALLING DEPENDENCIES]
[sudo] password for blake:
E: The repository 'cdrom://Ubuntu 20.04 LTS _Focal Fossa_ - Release amd64 (20200423) focal Release' does not have a Release file.
E: Unable to locate package python-pip
./install.sh: line 8: pip2: command not found

[COMPILING MATIEC]
./install.sh: line 12: autoreconf: command not found
./install.sh: line 13: ./configure: No such file or directory
./install.sh: line 14: make: command not found
Quote 0 0
METAS2016
OK got a little further but still not able to run the editor.


blake@blake-VirtualBox:~/Downloads/OpenPLC_Editor v1.0 - Linux/OpenPLC_Editor$ ./ install.sh
Installing OpenPLC Editor
Please be patient. This may take a couple minutes...

[INSTALLING DEPENDENCIES]
E: The repository 'cdrom://Ubuntu 20.04 LTS _Focal Fossa_ - Release amd64 (20200423) focal Release' does not have a Release file.
E: Unable to locate package python-pip
./install.sh: line 8: pip2: command not found

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

[FINALIZING]
blake@blake-VirtualBox:~/Downloads/OpenPLC_Editor v1.0 - Linux/OpenPLC_Editor$
Quote 0 0
thiagoralves
Your Ubuntu installation is broken (apt is looking for packages on cdrom). You won’t be able to install anything until you fix this.
Quote 0 0
METAS2016
Thanks for the help.  I did a fresh install of Ubuntu and was able to get this to work. Thanks again. 
Quote 0 0
Olorin
I went from Manjaro to Kubuntu and I had problems too.
Pip for python 2 is no longer available as a package but with the get-pip.py program can be installed.

https://linuxize.com/post/how-to-install-pip-on-ubuntu-20.04/

At the moment my runtime seems to work but I haven't tried to load a program yet.
And the editor starts.

I forgot, you must also install python2-dev otherwise the installation of the editor is not successful.

Much of the work I did by hand because the installation files should be reviewed.
================
http://www.flussiliberi.it/
================
Quote 0 0
HappyCalifornian
Hi,

I also have Ubuntu 20.04
I followed Olorin's suggestions and managed to install python2-pip and python-dev.

However, the installation still doesn't work.

Here's the log:
-----------
philippe@UBNT-VM:~/Documents/OpenPLC_Editor$ ./ install.sh
Installing OpenPLC Editor
Please be patient. This may take a couple minutes...

[INSTALLING DEPENDENCIES]
E: Unable to locate package python-pip
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: future in /home/philippe/.local/lib/python2.7/site-packages (0.18.2)
Requirement already satisfied: zeroconf==0.19.1 in /home/philippe/.local/lib/python2.7/site-packages (0.19.1)
Requirement already satisfied: numpy in /home/philippe/.local/lib/python2.7/site-packages (1.16.6)
Requirement already satisfied: matplotlib==2.0.2 in /home/philippe/.local/lib/python2.7/site-packages (2.0.2)
Requirement already satisfied: lxml in /home/philippe/.local/lib/python2.7/site-packages (4.5.0)
Requirement already satisfied: pyro in /home/philippe/.local/lib/python2.7/site-packages (3.16)
Collecting sslpsk
Using cached sslpsk-1.0.0.tar.gz (5.1 kB)
Requirement already satisfied: netifaces!=0.10.5 in /home/philippe/.local/lib/python2.7/site-packages (from zeroconf==0.19.1) (0.10.9)
Requirement already satisfied: enum-compat in /home/philippe/.local/lib/python2.7/site-packages (from zeroconf==0.19.1) (0.0.3)
Requirement already satisfied: six in /home/philippe/.local/lib/python2.7/site-packages (from zeroconf==0.19.1) (1.14.0)
Requirement already satisfied: python-dateutil in /home/philippe/.local/lib/python2.7/site-packages (from matplotlib==2.0.2) (2.8.1)
Requirement already satisfied: pytz in /home/philippe/.local/lib/python2.7/site-packages (from matplotlib==2.0.2) (2020.1)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=1.5.6 in /home/philippe/.local/lib/python2.7/site-packages (from matplotlib==2.0.2) (2.4.7)
Requirement already satisfied: functools32 in /home/philippe/.local/lib/python2.7/site-packages (from matplotlib==2.0.2) (3.2.3.post2)
Requirement already satisfied: cycler>=0.10 in /home/philippe/.local/lib/python2.7/site-packages (from matplotlib==2.0.2) (0.10.0)
Requirement already satisfied: subprocess32 in /home/philippe/.local/lib/python2.7/site-packages (from matplotlib==2.0.2) (3.5.4)
Requirement already satisfied: enum34; python_version < "3.4" in /home/philippe/.local/lib/python2.7/site-packages (from enum-compat->zeroconf==0.19.1) (1.1.10)
Building wheels for collected packages: sslpsk
Building wheel for sslpsk (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-fTtL16/sslpsk/setup.py'"'"'; __file__='"'"'/tmp/pip-install-fTtL16/sslpsk/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-1Qlp2q
cwd: /tmp/pip-install-fTtL16/sslpsk/
Complete output (22 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/sslpsk
copying sslpsk/ __init__.py -> build/lib.linux-x86_64-2.7/sslpsk
copying sslpsk/ sslpsk.py -> build/lib.linux-x86_64-2.7/sslpsk
creating build/lib.linux-x86_64-2.7/sslpsk/test
copying sslpsk/test/ test_sslpsk.py -> build/lib.linux-x86_64-2.7/sslpsk/test
copying sslpsk/test/ __main__.py -> build/lib.linux-x86_64-2.7/sslpsk/test
copying sslpsk/test/ __init__.py -> build/lib.linux-x86_64-2.7/sslpsk/test
running build_ext
building 'sslpsk._sslpsk' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/sslpsk
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-1x6jhf/python2.7-2.7.18~rc1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c sslpsk/_sslpsk.c -o build/temp.linux-x86_64-2.7/sslpsk/_sslpsk.o
sslpsk/_sslpsk.c:19:10: fatal error: openssl/ssl.h: No such file or directory
19 | #include <openssl/ssl.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for sslpsk
Running setup.py clean for sslpsk
Failed to build sslpsk
Installing collected packages: sslpsk
Running setup.py install for sslpsk ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-fTtL16/sslpsk/setup.py'"'"'; __file__='"'"'/tmp/pip-install-fTtL16/sslpsk/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-tArBQS/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/philippe/.local/include/python2.7/sslpsk
cwd: /tmp/pip-install-fTtL16/sslpsk/
Complete output (22 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/sslpsk
copying sslpsk/ __init__.py -> build/lib.linux-x86_64-2.7/sslpsk
copying sslpsk/ sslpsk.py -> build/lib.linux-x86_64-2.7/sslpsk
creating build/lib.linux-x86_64-2.7/sslpsk/test
copying sslpsk/test/ test_sslpsk.py -> build/lib.linux-x86_64-2.7/sslpsk/test
copying sslpsk/test/ __main__.py -> build/lib.linux-x86_64-2.7/sslpsk/test
copying sslpsk/test/ __init__.py -> build/lib.linux-x86_64-2.7/sslpsk/test
running build_ext
building 'sslpsk._sslpsk' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/sslpsk
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-1x6jhf/python2.7-2.7.18~rc1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c sslpsk/_sslpsk.c -o build/temp.linux-x86_64-2.7/sslpsk/_sslpsk.o
sslpsk/_sslpsk.c:19:10: fatal error: openssl/ssl.h: No such file or directory
19 | #include <openssl/ssl.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-fTtL16/sslpsk/setup.py'"'"'; __file__='"'"'/tmp/pip-install-fTtL16/sslpsk/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-tArBQS/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/philippe/.local/include/python2.7/sslpsk Check the logs for full command output.

[COMPILING MATIEC]
./install.sh: line 12: autoreconf: command not found
./install.sh: line 13: ./configure: No such file or directory
/bin/bash: autoconf: command not found
make: *** [Makefile:388: configure] Error 127
------------------

Things seem to block during right assignment for sslpsk. Any suggestion?

Thanks!
(I should have mentioned: I started from a fresh Ubuntu install)
Quote 0 0
thiagoralves
It seems that canonical really dropped support for Python2 on this latest Ubuntu version and removed a bunch of python2 related packages. I've updated the install script to get around this by downloading pip straight from sources. It should work now. Just git clone the repository again and install.
Quote 1 0
HappyCalifornian
Fantastic and Thank You! I was able to install OpenPLC (downloaded the files from Git).

I am attaching the log:
----------------------
Installing OpenPLC Editor
Please be patient. This may take a couple minutes...

[INSTALLING DEPENDENCIES]
[sudo] password for philippe:
Selecting previously unselected package libsigsegv2:amd64.
(Reading database ... 186488 files and directories currently installed.)
Preparing to unpack .../00-libsigsegv2_2.12-2_amd64.deb ...
Unpacking libsigsegv2:amd64 (2.12-2) ...
Selecting previously unselected package m4.
Preparing to unpack .../01-m4_1.4.18-4_amd64.deb ...
Unpacking m4 (1.4.18-4) ...
Selecting previously unselected package flex.
Preparing to unpack .../02-flex_2.6.4-6.2_amd64.deb ...
Unpacking flex (2.6.4-6.2) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../03-autoconf_2.69-11.1_all.deb ...
Unpacking autoconf (2.69-11.1) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../04-autotools-dev_20180224.1_all.deb ...
Unpacking autotools-dev (20180224.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../05-automake_1%3a1.16.1-4ubuntu6_all.deb ...
Unpacking automake (1:1.16.1-4ubuntu6) ...
Selecting previously unselected package bison.
Preparing to unpack .../06-bison_2%3a3.5.1+dfsg-1_amd64.deb ...
Unpacking bison (2:3.5.1+dfsg-1) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../07-liberror-perl_0.17029-1_all.deb ...
Unpacking liberror-perl (0.17029-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../08-git-man_1%3a2.25.1-1ubuntu3_all.deb ...
Unpacking git-man (1:2.25.1-1ubuntu3) ...
Selecting previously unselected package git.
Preparing to unpack .../09-git_1%3a2.25.1-1ubuntu3_amd64.deb ...
Unpacking git (1:2.25.1-1ubuntu3) ...
Selecting previously unselected package libfl2:amd64.
Preparing to unpack .../10-libfl2_2.6.4-6.2_amd64.deb ...
Unpacking libfl2:amd64 (2.6.4-6.2) ...
Selecting previously unselected package libfl-dev:amd64.
Preparing to unpack .../11-libfl-dev_2.6.4-6.2_amd64.deb ...
Unpacking libfl-dev:amd64 (2.6.4-6.2) ...
Selecting previously unselected package libltdl-dev:amd64.
Preparing to unpack .../12-libltdl-dev_2.4.6-14_amd64.deb ...
Unpacking libltdl-dev:amd64 (2.4.6-14) ...
Selecting previously unselected package libssl-dev:amd64.
Preparing to unpack .../13-libssl-dev_1.1.1f-1ubuntu2_amd64.deb ...
Unpacking libssl-dev:amd64 (1.1.1f-1ubuntu2) ...
Selecting previously unselected package libtool.
Preparing to unpack .../14-libtool_2.4.6-14_all.deb ...
Unpacking libtool (2.4.6-14) ...
Selecting previously unselected package libwxbase3.0-0v5:amd64.
Preparing to unpack .../15-libwxbase3.0-0v5_3.0.4+dfsg-15build1_amd64.deb ...
Unpacking libwxbase3.0-0v5:amd64 (3.0.4+dfsg-15build1) ...
Selecting previously unselected package libwxgtk3.0-gtk3-0v5:amd64.
Preparing to unpack .../16-libwxgtk3.0-gtk3-0v5_3.0.4+dfsg-15build1_amd64.deb ...
Unpacking libwxgtk3.0-gtk3-0v5:amd64 (3.0.4+dfsg-15build1) ...
Selecting previously unselected package python-wxversion.
Preparing to unpack .../17-python-wxversion_3.0.2.0+dfsg-8build1_all.deb ...
Unpacking python-wxversion (3.0.2.0+dfsg-8build1) ...
Selecting previously unselected package python-wxgtk3.0.
Preparing to unpack .../18-python-wxgtk3.0_3.0.2.0+dfsg-8build1_amd64.deb ...
Unpacking python-wxgtk3.0 (3.0.2.0+dfsg-8build1) ...
Setting up python-wxversion (3.0.2.0+dfsg-8build1) ...
Setting up liberror-perl (0.17029-1) ...
Setting up autotools-dev (20180224.1) ...
Setting up libsigsegv2:amd64 (2.12-2) ...
Setting up libssl-dev:amd64 (1.1.1f-1ubuntu2) ...
Setting up libfl2:amd64 (2.6.4-6.2) ...
Setting up git-man (1:2.25.1-1ubuntu3) ...
Setting up libwxbase3.0-0v5:amd64 (3.0.4+dfsg-15build1) ...
Setting up libtool (2.4.6-14) ...
Setting up m4 (1.4.18-4) ...
Setting up libwxgtk3.0-gtk3-0v5:amd64 (3.0.4+dfsg-15build1) ...
Setting up git (1:2.25.1-1ubuntu3) ...
Setting up autoconf (2.69-11.1) ...
Setting up bison (2:3.5.1+dfsg-1) ...
update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode
Setting up automake (1:1.16.1-4ubuntu6) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up flex (2.6.4-6.2) ...
Setting up python-wxgtk3.0 (3.0.2.0+dfsg-8build1) ...
update-alternatives: using /usr/lib/wx/python/wx3.0.pth to provide /usr/lib/wx/python/wx.pth (wx.pth) in auto mode
Setting up libfl-dev:amd64 (2.6.4-6.2) ...
Setting up libltdl-dev:amd64 (2.4.6-14) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for install-info (6.7.0.dfsg.2-5) ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1824k 100 1824k 0 0 6657k 0 --:--:-- --:--:-- --:--:-- 6657k
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting pip
Using cached pip-20.1-py2.py3-none-any.whl (1.5 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.1
Uninstalling pip-20.1:
Successfully uninstalled pip-20.1
Successfully installed pip-20.1
E: Unable to locate package libpng
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: future in /home/philippe/.local/lib/python2.7/site-packages (0.18.2)
Requirement already satisfied: zeroconf==0.19.1 in /home/philippe/.local/lib/python2.7/site-packages (0.19.1)
Collecting numpy==1.16.5
Downloading numpy-1.16.5-cp27-cp27mu-manylinux1_x86_64.whl (17.0 MB)
|████████████████████████████████| 17.0 MB 107 kB/s
Requirement already satisfied: matplotlib==2.0.2 in /home/philippe/.local/lib/python2.7/site-packages (2.0.2)
Requirement already satisfied: lxml in /home/philippe/.local/lib/python2.7/site-packages (4.5.0)
Requirement already satisfied: pyro in /home/philippe/.local/lib/python2.7/site-packages (3.16)
Collecting sslpsk
Using cached sslpsk-1.0.0.tar.gz (5.1 kB)
Requirement already satisfied: netifaces!=0.10.5 in /home/philippe/.local/lib/python2.7/site-packages (from zeroconf==0.19.1) (0.10.9)
Requirement already satisfied: enum-compat in /home/philippe/.local/lib/python2.7/site-packages (from zeroconf==0.19.1) (0.0.3)
Requirement already satisfied: six in /home/philippe/.local/lib/python2.7/site-packages (from zeroconf==0.19.1) (1.14.0)
Requirement already satisfied: python-dateutil in /home/philippe/.local/lib/python2.7/site-packages (from matplotlib==2.0.2) (2.8.1)
Requirement already satisfied: pytz in /home/philippe/.local/lib/python2.7/site-packages (from matplotlib==2.0.2) (2020.1)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=1.5.6 in /home/philippe/.local/lib/python2.7/site-packages (from matplotlib==2.0.2) (2.4.7)
Requirement already satisfied: functools32 in /home/philippe/.local/lib/python2.7/site-packages (from matplotlib==2.0.2) (3.2.3.post2)
Requirement already satisfied: cycler>=0.10 in /home/philippe/.local/lib/python2.7/site-packages (from matplotlib==2.0.2) (0.10.0)
Requirement already satisfied: subprocess32 in /home/philippe/.local/lib/python2.7/site-packages (from matplotlib==2.0.2) (3.5.4)
Requirement already satisfied: enum34; python_version < "3.4" in /home/philippe/.local/lib/python2.7/site-packages (from enum-compat->zeroconf==0.19.1) (1.1.10)
Building wheels for collected packages: sslpsk
Building wheel for sslpsk (setup.py) ... done
Created wheel for sslpsk: filename=sslpsk-1.0.0-cp27-cp27mu-linux_x86_64.whl size=20380 sha256=36bc4909e0afa7af8b927088244e53b8e1e737af35c7615b05dbcdf3221c68ad
Stored in directory: /home/philippe/.cache/pip/wheels/fc/1c/c2/8be68909c06debe5145a79874e0844f217f65a60eb68305134
Successfully built sslpsk
Installing collected packages: numpy, sslpsk
Attempting uninstall: numpy
Found existing installation: numpy 1.16.6
Uninstalling numpy-1.16.6:
Successfully uninstalled numpy-1.16.6
Successfully installed numpy-1.16.5 sslpsk-1.0.0

[COMPILING MATIEC]
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/philippe/Documents/OpenPLC_Editor-master/matiec/config/missing: Unknown `--is-lightweight' option
Try `/home/philippe/Documents/OpenPLC_Editor-master/matiec/config/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for bison... bison -y
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for gawk... (cached) mawk
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for clock_gettime... yes
checking for memset... yes
checking for pow... no
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for strtoull... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating absyntax/Makefile
config.status: creating absyntax_utils/Makefile
config.status: creating stage1_2/Makefile
config.status: creating stage3/Makefile
config.status: creating stage4/Makefile
config.status: creating stage4/generate_c/Makefile
config.status: creating stage4/generate_iec/Makefile
config.status: creating config/config.h
config.status: config/config.h is unchanged
config.status: executing depfiles commands
Making all in absyntax
ar: `u' modifier ignored since `D' is the default (see `U')
Making all in absyntax_utils
debug_ast.cc:59:63: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
59 | if (const_value. _int64.is_valid ()) fprintf(stderr, "%"PRId64"", const_value. _int64.get());
| ^
debug_ast.cc:64:63: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
64 | if (const_value._uint64.is_valid ()) fprintf(stderr, "%"PRIu64"", const_value._uint64.get());
| ^
ar: `u' modifier ignored since `D' is the default (see `U')
Making all in stage1_2
/home/philippe/Documents/OpenPLC_Editor-master/matiec/stage1_2/iec_bison.yy:255.1-5: warning: POSIX Yacc does not support %code [-Wyacc]
255 | %code requires {
| ^~~~~
updating iec_bison.hh
ar: `u' modifier ignored since `D' is the default (see `U')
Making all in stage3
array_range_check.cc:138:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
138 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using constant value of %"PRId64", should be >= %"PRId64").", GET_CVALUE( int64, l->elements[i]), GET_CVALUE( int64, dimension->lower_limit)); continue;}
| ^
array_range_check.cc:138:101: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
138 | , symbol, symbol, "Array access out of bounds (using constant value of %"PRId64", should be >= %"PRId64").", GET_CVALUE( int64, l->elements[i]), GET_CVALUE( int64, dimension->lower_limit)); continue;}
| ^

array_range_check.cc:142:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
142 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using constant value of %"PRId64", should be >= %"PRIu64").", GET_CVALUE( int64, l->elements[i]), GET_CVALUE(uint64, dimension->lower_limit)); continue;}
| ^
array_range_check.cc:142:101: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
142 | , symbol, symbol, "Array access out of bounds (using constant value of %"PRId64", should be >= %"PRIu64").", GET_CVALUE( int64, l->elements[i]), GET_CVALUE(uint64, dimension->lower_limit)); continue;}
| ^

array_range_check.cc:146:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
146 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using constant value of %"PRIu64", should be >= %"PRIu64").", GET_CVALUE(uint64, l->elements[i]), GET_CVALUE(uint64, dimension->lower_limit)); continue;}
| ^
array_range_check.cc:146:101: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
146 | , symbol, symbol, "Array access out of bounds (using constant value of %"PRIu64", should be >= %"PRIu64").", GET_CVALUE(uint64, l->elements[i]), GET_CVALUE(uint64, dimension->lower_limit)); continue;}
| ^

array_range_check.cc:150:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
150 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using constant value of %"PRIu64", should be >= %"PRId64").", GET_CVALUE(uint64, l->elements[i]), GET_CVALUE( int64, dimension->lower_limit)); continue;}
| ^
array_range_check.cc:150:101: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
150 | , symbol, symbol, "Array access out of bounds (using constant value of %"PRIu64", should be >= %"PRId64").", GET_CVALUE(uint64, l->elements[i]), GET_CVALUE( int64, dimension->lower_limit)); continue;}
| ^

array_range_check.cc:155:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
155 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using constant value of %"PRId64", should be <= %"PRId64").", GET_CVALUE( int64, l->elements[i]), GET_CVALUE( int64, dimension->upper_limit)); continue;}
| ^
array_range_check.cc:155:101: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
155 | , symbol, symbol, "Array access out of bounds (using constant value of %"PRId64", should be <= %"PRId64").", GET_CVALUE( int64, l->elements[i]), GET_CVALUE( int64, dimension->upper_limit)); continue;}
| ^

array_range_check.cc:159:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
159 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using constant value of %"PRId64", should be <= %"PRIu64").", GET_CVALUE( int64, l->elements[i]), GET_CVALUE(uint64, dimension->upper_limit)); continue;}
| ^
array_range_check.cc:159:101: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
159 | , symbol, symbol, "Array access out of bounds (using constant value of %"PRId64", should be <= %"PRIu64").", GET_CVALUE( int64, l->elements[i]), GET_CVALUE(uint64, dimension->upper_limit)); continue;}
| ^

array_range_check.cc:163:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
163 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using constant value of %"PRIu64", should be <= %"PRIu64").", GET_CVALUE(uint64, l->elements[i]), GET_CVALUE(uint64, dimension->upper_limit)); continue;}
| ^
array_range_check.cc:163:101: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
163 | , symbol, symbol, "Array access out of bounds (using constant value of %"PRIu64", should be <= %"PRIu64").", GET_CVALUE(uint64, l->elements[i]), GET_CVALUE(uint64, dimension->upper_limit)); continue;}
| ^

array_range_check.cc:167:40: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
167 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using constant value of %"PRIu64", should be <= %"PRId64").", GET_CVALUE(uint64, l->elements[i]), GET_CVALUE( int64, dimension->upper_limit)); continue;}
| ^
array_range_check.cc:167:101: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
167 | , symbol, symbol, "Array access out of bounds (using constant value of %"PRIu64", should be <= %"PRId64").", GET_CVALUE(uint64, l->elements[i]), GET_CVALUE( int64, dimension->upper_limit)); continue;}
| ^

array_range_check.cc:202:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
202 | STAGE3_ERROR(0, symbol, symbol, "Subrange has lower limit (%"PRId64") larger than upper limit (%"PRId64").", GET_CVALUE( int64, symbol->lower_limit), GET_CVALUE( int64, symbol->upper_limit));
| ^
array_range_check.cc:202:71: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
202 | STAGE3_ERROR(0, symbol, symbol, "Subrange has lower limit (%"PRId64") larger than upper limit (%"PRId64").", GET_CVALUE( int64, symbol->lower_limit), GET_CVALUE( int64, symbol->upper_limit));
| ^
array_range_check.cc:212:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
212 | STAGE3_ERROR(0, symbol, symbol, "Subrange has lower limit (%"PRIu64") larger than upper limit (%"PRIu64").", GET_CVALUE(uint64, symbol->lower_limit), GET_CVALUE(uint64, symbol->upper_limit));
| ^
array_range_check.cc:212:71: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
212 | STAGE3_ERROR(0, symbol, symbol, "Subrange has lower limit (%"PRIu64") larger than upper limit (%"PRIu64").", GET_CVALUE(uint64, symbol->lower_limit), GET_CVALUE(uint64, symbol->upper_limit));
| ^
ar: `u' modifier ignored since `D' is the default (see `U')
Making all in stage4
Making all in generate_c
In file included from generate_c.cc:525:
generate_c_il.cc: In member function ‘virtual void* generate_c_il_c::visit(il_function_call_c*)’:
generate_c_il.cc:957:11: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
957 | if (nb_param > 0)
| ^~
generate_c_il.cc:959:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
959 | if (param_value == NULL) {
| ^~
ar: `u' modifier ignored since `D' is the default (see `U')
Making all in generate_iec
ar: `u' modifier ignored since `D' is the default (see `U')
config.status: creating config/config.h
config.status: config/config.h is unchanged

[FINALIZING]
---------------------------------------

Thanks again!
Quote 0 0
Olorin
Thanks so much for your work thiagoralves.

It seems that canonical really dropped support for Python2 on this latest Ubuntu version and removed a bunch of python2 related packages. I've updated the install script to get around this by downloading pip straight from sources. It should work now. Just git clone the repository again and install.
================
http://www.flussiliberi.it/
================
Quote 0 0