pi@raspi2 ~/Botan-1.10.9 $ sudo make install
g++ -Ibuild/include -O3
-finline-functions -march=armv7 -D_REENTRANT -Wno-long-long -W -Wall
-fPIC -fvisibility=hidden -c src/algo_base/symkey.cpp -o
build/lib/algo_base_symkey.o
src/algo_base/symkey.cpp:1:0: error: target CPU does not support ARM mode
/*
^
Makefile:571: recipe for target 'build/lib/algo_base_symkey.o' failed
make: *** [build/lib/algo_base_symkey.o] Error 1
pi@raspi2 ~/CppNotificationDemo $ ./build.sh deploy
Generating necessary files according to Avro schemas
avrogencpp: error while loading shared libraries: libboost_filesystem.so.1.58.0: cannot open shared object file: No such file or directory
avrogencpp: error while loading shared libraries: libboost_filesystem.so.1.58.0: cannot open shared object file: No such file or directory
avrogencpp: error while loading shared libraries: libboost_filesystem.so.1.58.0: cannot open shared object file: No such file or directory
avrogencpp: error while loading shared libraries: libboost_filesystem.so.1.58.0: cannot open shared object file: No such file or directory
avrogencpp: error while loading shared libraries: libboost_filesystem.so.1.58.0: cannot open shared object file: No such file or directory
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
==================================
avrogen.sh has been found
Generating necessary files according to Avro schemas
avrogencpp: error while loading shared libraries: libboost_filesystem.so.1.58.0: cannot open shared object file: No such file or directory
avrogencpp: error while loading shared libraries: libboost_filesystem.so.1.58.0: cannot open shared object file: No such file or directory
avrogencpp: error while loading shared libraries: libboost_filesystem.so.1.58.0: cannot open shared object file: No such file or directory
avrogencpp: error while loading shared libraries: libboost_filesystem.so.1.58.0: cannot open shared object file: No such file or directory
avrogencpp: error while loading shared libraries: libboost_filesystem.so.1.58.0: cannot open shared object file: No such file or directory
==================================
KAA_MAX_LOG_LEVEL=3
NOTIFICATIONS ENABLED
OPERATION_TCP_CHANNEL ENABLED
BOOTSTRAP_HTTP_CHANNEL ENABLED
CONNECTIVITY_CHECKER ENABLED
KAA_THREADSAFE ENABLED
==================================
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- log
-- system
Looking for Avro C++ headers and libraries
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for module 'avro-cpp'
-- package 'avro-cpp' not found
-- Found Avro: /usr/local/lib/libavrocpp.so
-- Include directories: /usr/local/include
-- Libraries: /usr/local/lib/libavrocpp.so
-- FindBotan check
-- checking for module 'botan-1.10'
-- package 'botan-1.10' not found
-- BOTAN_HOME env is not set, setting it to /usr/local
-- Looking for botan in /usr/local
-- KAA WILL BE INSTALLED TO /usr/local
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
BOTAN_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/pi/CppNotificationDemo/libs/kaa
used as include directory in directory /home/pi/CppNotificationDemo/libs/kaa
used as include directory in directory /home/pi/CppNotificationDemo/libs/kaa
BOTAN_LIBRARY (ADVANCED)
linked by target "kaacpp" in directory /home/pi/CppNotificationDemo/libs/kaa
-- Configuring incomplete, errors occurred!
See also "/home/pi/CppNotificationDemo/libs/kaa/build/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found. Stop.
cp: cannot stat 'libs/kaa/build/libkaa*': No such file or directory
make: *** No targets specified and no makefile found. Stop.
./build.sh: line 92: ./demo_client: No such file or directory
On step 5 "Install Botan (1.10)" I get the following message:pi@raspi2 ~/Botan-1.10.9 $ sudo make install
g++ -Ibuild/include -O3
-finline-functions -march=armv7 -D_REENTRANT -Wno-long-long -W -Wall
-fPIC -fvisibility=hidden -c src/algo_base/symkey.cpp -o
build/lib/algo_base_symkey.o
src/algo_base/symkey.cpp:1:0: error: target CPU does not support ARM mode
cd <Botan_home>
./configure.py --cpu=arm
sudo make install
Generating necessary files according to Avro schemas
avrogencpp: error while loading shared libraries: libboost_filesystem.so.1.58.0: cannot open shared object file: No such file or directory
cd <Botan_home>
./configure.py --cpu=arm
sudo make install
So did you fail to build only Botan following this instruction or some other steps are invalid too?
Good, thanks.
Is this issue still reproducible?
>>>>>>>root@edison:~/botan-1.11.28# make installmake: Warning: File 'src/lib/asn1/alg_id.cpp' has modification time 19568747 s in the futureg++ -pthread -fstack-protector -fPIC -fvisibility=hidden -std=c++11 -D_REENTRANT -O3 -mtune=generic -momit-leaf-frame-pointer -Wall -Wextra -Wpedantic -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wzero-as-null-pointer-constant -Wnon-virtual-dtor -Ibuild/include -c ./src/lib/asn1/alg_id.cpp -o build/obj/lib/asn1_alg_id.o