LInux(debian) issues found when following the documentation
Hello everyone, I have been trying to install openpass and it's dependencies and we are facing some problems that I will describe here
- qt5-default not longer in deb repo (modified with qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools )
- dos2unix not mentioned on installation prerequisites until needed
- boost not mentioned on installation prerequisites (will cause an error when trying to build openpass)
proposal:
wget https://boostorg.jfrog.io/artifactory/main/release/1.72.0/source/boost_1_72_0.tar.bz2
tar --bzip2 -xf boost_1_72_0.tar.bz2
cd boost_1_72_0
./bootstrap.sh
./b2 install
- compilers for linux on install required packages are not specified (but they are on furher steps such as openpass cmake (9 version)
- on executing make -j3 on openpass, it will throw this error
Commands and feedback from the terminal
(.text._ZN6google8protobuf4util9converter11ProtoWriter12ProtoElementD0Ev[_ZN6google8protobuf4util9converter11ProtoWriter12ProtoElementD5Ev]+0x9c): dangerous relocation: unsupported relocation
/usr/bin/ld: ../../../../../deps/thirdParty/protobuf/lib/libprotobuf.a(proto_writer.cc.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_ZTVN6google8protobuf4util9converter22StructuredObjectWriter11BaseElementE' which may bind externally can not be used when making a shared object; recompile with -fPIC
proto_writer.cc:(.text._ZN6google8protobuf4util9converter11ProtoWriter12ProtoElementD0Ev[_ZN6google8protobuf4util9converter11ProtoWriter12ProtoElementD5Ev]+0xe4): dangerous relocation: unsupported relocation
collect2: error: ld returned 1 exit status
make[2]: *** [sim/src/components/Algorithm_FmuWrapper/CMakeFiles/Algorithm_FmuWrapper.dir/build.make:305: sim/src/components/Algorithm_FmuWrapper/libAlgorithm_FmuWrapper.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:3175: sim/src/components/Algorithm_FmuWrapper/CMakeFiles/Algorithm_FmuWrapper.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....