-
Notifications
You must be signed in to change notification settings - Fork 19
Unable to build due to outdated dependencies #180
Comments
Hey, sorry for my late response. # installing python2 and pip2
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
sudo python2 get-pip.py
pip2 --version
# clone repos
cd ~
git clone https://github.com/mongodb/mongo
git clone https://github.com/pmem/pmse
git clone https://github.com/pmem/pmdk
<BUILD HERE PMDK lib>
# set correct version of MongoDB for PMSE
git checkout r3.5.13 -b r3.5.13
# install dependencies
cd mongo
sudo apt install scons
pip2 install -r buildscripts/requirements.txt
mkdir -p src/mongo/db/modules/
ln -sf ~/pmse src/mongo/db/modules/pmse
python2 buildscripts/scons.py LIBPATH=~/pmdk/ -j $(nproc --all) core --disable-warnings-as-errors --dbg=off --opt=on I'm waiting for your response if it helps you, then I will update Readme. |
This seems to build, but mongo fails to run, with the error |
Hey,
Then it should works: kfilipek@kfilipek-desktop:~/Development/work/mongo$ ./mongod --storageEngine=pmse --dbpath=/tmp/
2021-10-20T15:41:55.613+0200 I CONTROL [initandlisten] MongoDB starting : pid=219389 port=27017 dbpath=/tmp/ 64-bit host=kfilipek-desktop
2021-10-20T15:41:55.613+0200 I CONTROL [initandlisten] db version v3.5.13
2021-10-20T15:41:55.613+0200 I CONTROL [initandlisten] git version: 52bbaa007cd84631d6da811d9a05b59f2dfad4f3
2021-10-20T15:41:55.613+0200 I CONTROL [initandlisten] allocator: tcmalloc
2021-10-20T15:41:55.613+0200 I CONTROL [initandlisten] modules: pmse
2021-10-20T15:41:55.613+0200 I CONTROL [initandlisten] build environment:
2021-10-20T15:41:55.613+0200 I CONTROL [initandlisten] distarch: x86_64
2021-10-20T15:41:55.613+0200 I CONTROL [initandlisten] target_arch: x86_64
2021-10-20T15:41:55.613+0200 I CONTROL [initandlisten] options: { storage: { dbPath: "/tmp/", engine: "pmse" } }
2021-10-20T15:41:55.613+0200 I STORAGE [initandlisten] /tmp/
2021-10-20T15:41:55.721+0200 I STORAGE [initandlisten] Engine pool created
2021-10-20T15:41:55.767+0200 I STORAGE [initandlisten] ns: _mdb_catalog
2021-10-20T15:41:55.767+0200 I STORAGE [initandlisten] /tmp/_mdb_catalog Make sure that you have proper link in mongo directory: ls -alh src/mongo/db/modules/pmse
cd src/mongo/db/modules/pmse
ls -l You should have files from PMSE:
|
I am unable to build pmse with Python 3.8 due to outdated dependencies.
pgenheaders.h
was removed in Python 3.8, and thetyped-ast
package no longer supports Python 3.8+.The text was updated successfully, but these errors were encountered: