Timescaledb: Missing packages (Debian) for arm platforms

Created on 12 Nov 2019  路  6Comments  路  Source: timescale/timescaledb

Currently, the Debian packages (at least for current stable buster release) only exist for amd64 platform.

Would it be possible to also start pushing releases for armhf (and arm64) platforms?

bug release

Most helpful comment

[Disclaimer - I'm a real coding novice and just started learning how git works] - I've been using Timescaledb, Postgresql and Grafana on a Windows 10 host, and enjoy tinkering! I'm now attempting to do the same on a Raspberry Pi4 and can't install timescaledb. apt finds timescaledb-loader-postgresql-11, but not timescaledb-postgresql-11. I'm not sure what "loader" even does?

Is there a timescaledb beta I can try on the rp4 armhf arch?


UPDATE


Ok, I got the timescaledb extension running on the Raspberry Pi - as a novice, not sure this was the correct way but this is what I did (the checkout was the arm_test branch by @svenklemm );

git clone https://github.com/timescale/timescaledb.git timescaledb
cd timescaledb
git checkout b40bd84eadf187c170c33ccfc8582c0d0bc5624b
git checkout -b armhf-test
./bootstrap -DREGRESS_CHECKS=OFF  
sudo apt install postgresql-server-dev-11  
sudo apt-get install -y libkrb5-dev  
cd ./build && make  
sudo make install

This was a bit of a long journey, and I'm sure lots of rpi users would appreciate an apt installer for armhf architecture :-)

All 6 comments

@RobAtticus Please advise

@bboule I think it shouldn't be too hard to do, as long as we run our testing on those platforms _before_ we get to the release process

Looking forward to this on buster and later on bullseye. Please help make it happen @RobAtticus ! this is much needed for IOT

[Disclaimer - I'm a real coding novice and just started learning how git works] - I've been using Timescaledb, Postgresql and Grafana on a Windows 10 host, and enjoy tinkering! I'm now attempting to do the same on a Raspberry Pi4 and can't install timescaledb. apt finds timescaledb-loader-postgresql-11, but not timescaledb-postgresql-11. I'm not sure what "loader" even does?

Is there a timescaledb beta I can try on the rp4 armhf arch?


UPDATE


Ok, I got the timescaledb extension running on the Raspberry Pi - as a novice, not sure this was the correct way but this is what I did (the checkout was the arm_test branch by @svenklemm );

git clone https://github.com/timescale/timescaledb.git timescaledb
cd timescaledb
git checkout b40bd84eadf187c170c33ccfc8582c0d0bc5624b
git checkout -b armhf-test
./bootstrap -DREGRESS_CHECKS=OFF  
sudo apt install postgresql-server-dev-11  
sudo apt-get install -y libkrb5-dev  
cd ./build && make  
sudo make install

This was a bit of a long journey, and I'm sure lots of rpi users would appreciate an apt installer for armhf architecture :-)

An apt installer would be great.

Similar to mpw-eng, I'm also new at this, so take this with a grain of salt. But I wanted to document my build process in case it helps anyone else. I didn't see any arm64 builds available on apt so had to build from source.

Host machine: raspberry pi 4 with aarch64 (arm64v8) kernel
OS: ubuntu server 20.04 64 bit
Compiler: cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0

sudo apt install postgresql-12 postgresql-server-dev-12 libkrb5-dev libssl-dev

git clone https://github.com/timescale/timescaledb.git timescaledb
cd timescaledb
git checkout 2.0.0

./bootstrap -DREGRESS_CHECKS=OFF -DWARNINGS_AS_ERRORS=OFF
cd ./build && make  
sudo make install

The instructions in the timescale docs were not quite complete, at least for my system. Specifically, I had to figure out a few things from error messages:

  • libkrb5-dev and libssl-dev dependencies
  • -DREGRESS_CHECKS=OFF
  • -DWARNINGS_AS_ERRORS=OFF. The compiler threw a Werror anytime the strncpy function was used, hence the flag.
Was this page helpful?
0 / 5 - 0 ratings