Steps followed for build mongodb:
Trying to build mongodb from source on RISCV platform
version:
gcc-12.3.1
glibc-2.38
node-20.12.1
python3.11
1 After boot-up openeuler image image, cloned the mongodb sources
git clone GitHub - mongodb/mongo: The MongoDB Database
cd mongodb
git checkout r8.0.0
2 Install the dependencies required
yum install cyrus-sasl cyrus-sasl-gssapi python3-cryptography python3-rpds-py python3-cheetah python3-networkx \
cyrus-sasl-plain krb5-libs libcurl gdb gdb-headless gcc-gdb-plugin lld python3-cryptography
lm_sensors-libs net-snmp net-snmp-agent-libs python3-msgpack \
/usr/bin/python3 -m pip install ‘poetry==1.5.1’
/usr/bin/python3 -m poetry install --no-root --sync
3 Build with command
python3 buildscripts/scons.py install-mongod --use-hardware-crc32=off -j$(nproc) --linker=bfd
Facing issues with API from sources code, where as same has been compiled on x86 ubuntu image
Error screenshots:
Could anyone please help us with this issue?
Thanks in advance!