Skip to content

Error "Unsupported PostgreSQL version" with timescaleDB 2.2 and postgresql 13.1 #19

@mozhou-tech

Description

@mozhou-tech

My OS is macos big sur.

here is my log, please help,

==> Installing timescale/tap/timescaledb
==> ./bootstrap -DREGRESS_CHECKS=OFF -DPROJECT_INSTALL_METHOD="brew"
==> cd ./build && make
Last 15 lines from /Users/jerrylau/Library/Logs/Homebrew/timescaledb/02.build:
make[2]: *** [tsl/src/CMakeFiles/timescaledb-tsl.dir/deparse.c.o] Error 1
In file included from /tmp/timescaledb-20210521-47798-12gv2y3/timescaledb/tsl/src/dist_backup.c:20:
In file included from /tmp/timescaledb-20210521-47798-12gv2y3/timescaledb/src/catalog.h:17:
In file included from /tmp/timescaledb-20210521-47798-12gv2y3/timescaledb/src/scanner.h:15:
In file included from /tmp/timescaledb-20210521-47798-12gv2y3/timescaledb/src/utils.h:15:
/tmp/timescaledb-20210521-47798-12gv2y3/timescaledb/src/compat.h:43:2: error: "Unsupported PostgreSQL version"
#error "Unsupported PostgreSQL version"
^
1 error generated.
make[2]: *** [tsl/src/CMakeFiles/timescaledb-tsl.dir/dist_util.c.o] Error 1
make[2]: *** [tsl/src/CMakeFiles/timescaledb-tsl.dir/data_node.c.o] Error 1
1 error generated.
make[2]: *** [tsl/src/CMakeFiles/timescaledb-tsl.dir/dist_backup.c.o] Error 1
make[1]: *** [tsl/src/CMakeFiles/timescaledb-tsl.dir/all] Error 2
make: *** [all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/timescale/homebrew-tap/issues

These open issues may also help:
Unable to install Timescaledb, mac Catalina #15
yates:~ jerrylau$ brew install timescaledb
Updating Homebrew...
==> Installing timescaledb from timescale/tap
==> Downloading https://timescalereleases.blob.core.windows.net/homebrew/timescaledb-2.2.1.tar.lzma
Already downloaded: /Users/jerrylau/Library/Caches/Homebrew/downloads/a91ce2903bc996c73f7023ec347562f29b67b260d834cffbe866282357054a2d--timescaledb-2.2.1.tar.lzma
==> ./bootstrap -DREGRESS_CHECKS=OFF -DPROJECT_INSTALL_METHOD="brew"
==> cd ./build && make
Last 15 lines from /Users/jerrylau/Library/Logs/Homebrew/timescaledb/02.build:
In file included from /tmp/timescaledb-20210521-49462-9glyjh/timescaledb/src/scanner.h:15:
In file included from /tmp/timescaledb-20210521-49462-9glyjh/timescaledb/src/utils.h:15:
/tmp/timescaledb-20210521-49462-9glyjh/timescaledb/src/compat.h:43:2: error: "Unsupported PostgreSQL version"
#error "Unsupported PostgreSQL version"
^
make[2]: *** [tsl/src/CMakeFiles/timescaledb-tsl.dir/deparse.c.o] Error 1
make[2]: *** [tsl/src/CMakeFiles/timescaledb-tsl.dir/chunk_api.c.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions