Quote:
asus@asus-pc OpenPLC_v3 (master) $ ./
install.sh linux
Installing OpenPLC on Linux
Ign
http://mirrors.163.com trusty InRelease
Hit
http://mirrors.163.com trusty Release.gpg
Hit
http://mirrors.163.com trusty Release
Hit
http://mirrors.163.com trusty/main Sources
Hit
http://mirrors.163.com trusty/restricted Sources
Hit
http://mirrors.163.com trusty/universe Sources
Hit
http://mirrors.163.com trusty/multiverse Sources
Hit
http://mirrors.163.com trusty/main amd64 Packages
Hit
http://mirrors.163.com trusty/restricted amd64 Packages
Hit
http://mirrors.163.com trusty/universe amd64 Packages
Hit
http://mirrors.163.com trusty/multiverse amd64 Packages
Hit
http://mirrors.163.com trusty/main i386 Packages
Hit
http://mirrors.163.com trusty/restricted i386 Packages
Hit
http://mirrors.163.com trusty/universe i386 Packages
Hit
http://mirrors.163.com trusty/multiverse i386 Packages
Hit
http://mirrors.163.com trusty/main Translation-en
Hit
http://ppa.launchpad.net trusty InRelease
Hit
http://mirrors.163.com trusty/multiverse Translation-en
Hit
http://mirrors.163.com trusty/restricted Translation-en
Hit
http://mirrors.163.com trusty/universe Translation-en
Ign
http://mirrors.163.com trusty/main Translation-en_US
Ign
http://mirrors.163.com trusty/multiverse Translation-en_US
Ign
http://mirrors.163.com trusty/restricted Translation-en_US
Ign
http://mirrors.163.com trusty/universe Translation-en_US
Hit
http://ppa.launchpad.net trusty/main amd64 Packages
Hit
http://ppa.launchpad.net trusty/main i386 Packages
Hit
http://ppa.launchpad.net trusty/main Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
autoconf is already the newest version.
automake is already the newest version.
bison is already the newest version.
build-essential is already the newest version.
cmake is already the newest version.
flex is already the newest version.
libtool is already the newest version.
make is already the newest version.
pkg-config is already the newest version.
python-pip is already the newest version.
python2.7 is already the newest version.
python2.7 set to manually installed.
git is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
sqlite3 : Depends: libsqlite3-0 (= 3.8.2-1ubuntu2) but 3.8.2-1ubuntu2.1 is to be installed
E: Unable to correct problems, you have held broken packages.
Requirement already satisfied (use --upgrade to upgrade): flask in /usr/local/lib/python2.7/dist-packages
Cleaning up...
Requirement already satisfied (use --upgrade to upgrade): flask-login in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): Flask in /usr/local/lib/python2.7/dist-packages (from flask-login)
Cleaning up...
Requirement already satisfied (use --upgrade to upgrade): flask in /usr/local/lib/python2.7/dist-packages
Cleaning up...
Requirement already satisfied (use --upgrade to upgrade): flask-login in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): Flask in /usr/local/lib/python2.7/dist-packages (from flask-login)
Cleaning up...
[MATIEC COMPILER]
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/asus/OpenPLC_v3/utils/matiec_src/config/missing: Unknown `--is-lightweight' option
Try `/home/asus/OpenPLC_v3/utils/matiec_src/config/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for bison... bison -y
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for gawk... (cached) mawk
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for clock_gettime... yes
checking for memset... yes
checking for pow... no
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for strtoull... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating absyntax/Makefile
config.status: creating absyntax_utils/Makefile
config.status: creating stage1_2/Makefile
config.status: creating stage3/Makefile
config.status: creating stage4/Makefile
config.status: creating stage4/generate_c/Makefile
config.status: creating stage4/generate_iec/Makefile
config.status: creating config/config.h
config.status: config/config.h is unchanged
config.status: executing depfiles commands
Making all in absyntax
make[1]: Entering directory `/home/asus/OpenPLC_v3/utils/matiec_src/absyntax'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/asus/OpenPLC_v3/utils/matiec_src/absyntax'
Making all in absyntax_utils
make[1]: Entering directory `/home/asus/OpenPLC_v3/utils/matiec_src/absyntax_utils'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/asus/OpenPLC_v3/utils/matiec_src/absyntax_utils'
Making all in stage1_2
make[1]: Entering directory `/home/asus/OpenPLC_v3/utils/matiec_src/stage1_2'
make all-am
make[2]: Entering directory `/home/asus/OpenPLC_v3/utils/matiec_src/stage1_2'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/asus/OpenPLC_v3/utils/matiec_src/stage1_2'
make[1]: Leaving directory `/home/asus/OpenPLC_v3/utils/matiec_src/stage1_2'
Making all in stage3
make[1]: Entering directory `/home/asus/OpenPLC_v3/utils/matiec_src/stage3'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/asus/OpenPLC_v3/utils/matiec_src/stage3'
Making all in stage4
make[1]: Entering directory `/home/asus/OpenPLC_v3/utils/matiec_src/stage4'
Making all in generate_c
make[2]: Entering directory `/home/asus/OpenPLC_v3/utils/matiec_src/stage4/generate_c'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/asus/OpenPLC_v3/utils/matiec_src/stage4/generate_c'
Making all in generate_iec
make[2]: Entering directory `/home/asus/OpenPLC_v3/utils/matiec_src/stage4/generate_iec'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/asus/OpenPLC_v3/utils/matiec_src/stage4/generate_iec'
make[2]: Entering directory `/home/asus/OpenPLC_v3/utils/matiec_src/stage4'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/asus/OpenPLC_v3/utils/matiec_src/stage4'
make[1]: Leaving directory `/home/asus/OpenPLC_v3/utils/matiec_src/stage4'
make[1]: Entering directory `/home/asus/OpenPLC_v3/utils/matiec_src'
make[1]: Leaving directory `/home/asus/OpenPLC_v3/utils/matiec_src'
[ST OPTIMIZER]
[GLUE GENERATOR]
[OPEN DNP3]
creating swapfile...
dd: failed to open ‘swapfile’: Text file busy
Setting up swapspace version 1, size = 1023996 KiB
no label, UUID=00c128e9-d63c-4ded-9fd3-9426ca17c2c5
swapon: swapfile: swapon failed: Device or resource busy
CMake build is: Release
CMake Error at cmake/inc/posix.cmake:29 (message):
opendnp3 requires g++ 4.9 or greater
Call Stack (most recent call first):
cmake/settings.cmake:4 (include)
CMakeLists.txt:18 (include)
-- Configuring incomplete, errors occurred!
See also "/home/asus/OpenPLC_v3/utils/dnp3_src/CMakeFiles/CMakeOutput.log".
See also "/home/asus/OpenPLC_v3/utils/dnp3_src/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Error installing OpenDNP3
OpenPLC was NOT installed!
asus@asus-pc OpenPLC_v3 (master) $