AISViz / AISdb

AISdb Python package for smart AIS data storage and interaction.
https://aisviz.cs.dal.ca
GNU Affero General Public License v3.0
7 stars 0 forks source link

Package failing to build from source #34

Closed gabrielspadon closed 7 months ago

gabrielspadon commented 7 months ago

I have created a fresh venv and installed aisdb-client using this command:

# installing the rust toolchain may be required
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# create a virtual python environment and install maturin
python -m venv env_ais
source ./env_ais/bin/activate
python -m pip install --upgrade maturin

# clone source and navigate to the package root
git clone http://git-dev.cs.dal.ca/meridian/aisdb.git](https://github.com/AISViz/aisdb-client
cd aisdb

# install AISDB
maturin develop --release --extras=test,docs

The package fails to build with maturin for some reason.

JayKumarr commented 7 months ago

@gabrielspadon I have updated some commands. I have sucessfully installed on BD-5 using these command. Give it a try!

# You first need to install the rust toolchain
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

rustc --version

# Create your VEnv
python -m venv AISdb
source ./AISdb/bin/activate

# You will require Maturin to build the package
pip install maturin
pip install patchelf

# Clone the source code and navigate to the package root
git clone https://github.com/AISViz/aisdb-client.git && cd aisdb-client

# Build and install AISdb to your VEnv
maturin develop --release --extras=test,docs

Screenshot 2024-01-11 123445

gabrielspadon commented 7 months ago

It is working now! Thanks.

Please update the docs to match this version you edited.