-
Type: Build Failure
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
None
-
Environment:OS:
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
uname -m: x86_64
conda
-
5
-
Storage - Ra 2021-07-26, Storage - Ra 2021-08-09
Hey, new user here!
I'm trying to set up WiredTiger in a conda environment (what my team uses for env management). My first attempt looked like this:
conda create -n wtscratch python=3.9 -c conda-forge conda activate wtscratch conda install snappy zstd zlib export LD_LIBRARY_PATH=$CONDA_PREFIX/lib pip install wiredtiger
This fails with the error: "error: WiredTiger requires a 64-bit build." (apparently from here). The OS is 64 bit, but I'm guessing somehow the compiler is only allocating 32 bit pointers? I was unable to figure out how to use CFLAGS to get the compiler to use 64-bit pointers.
My second attempt was following the full build instructions here:
conda create -n wtscratch python=3.9 -c conda-forge conda activate wtscratch conda install snappy zstd zlib export LD_LIBRARY_PATH=$CONDA_PREFIX/lib git clone git://github.com/wiredtiger/wiredtiger.git conda install cmake ninja mkdir wiredtiger/build cd wiredtiger/build cmake -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -G Ninja ../. ninja ninja install
This seems to succeed, but then I don't have the Python API installed, and when I pip install wiredtiger as above, I run into the same 64-bit issue.
Is there a way to get around the above issues?
Thanks for any info!
- has to be done before
-
WT-7905 Fix incorrect builtin behaviour for builds in CMake
- Closed