-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: "postgres.h not found" #17
Comments
Those files (such as However, those files are actually under So try Hope this could help. |
This post helped me to resolve similar issue of missing postgres.h file |
Hello, i 've got the same issue in my ubuntu system (20.04) trying to compile (make) the source code |
If you update and still got the error, please open another issue describing your context. |
brew install timescaledb
==> Installing timescaledb from timescale/tap
==> Downloading https://timescalereleases.blob.core.windows.net/homebrew/timescaledb-2.0.1.tar.lzma
Already downloaded: /Users/michael/Library/Caches/Homebrew/downloads/86a311958704c9e6161d1c81bf3816fde00fbd697c961ca015d0ad2283788a8a--timescaledb-2.0.1.tar.lzma
==> ./bootstrap -DREGRESS_CHECKS=OFF -DPROJECT_INSTALL_METHOD="brew"
==> cd ./build && make
Last 15 lines from /Users/michael/Library/Logs/Homebrew/timescaledb/02.build:
/tmp/timescaledb-20210216-34647-w9na0y/timescaledb/tsl/src/process_utility.c:6:10: error: 'postgres.h' file not found [clang-diagnostic-error]
#include <postgres.h>
^
2 errors generated.
Error while processing /tmp/timescaledb-20210216-34647-w9na0y/timescaledb/tsl/src/process_utility.c.
make[2]: *** [tsl/src/CMakeFiles/timescaledb-tsl.dir/process_utility.c.o] Error 1
error: unknown warning option '-Wno-format-truncation' [clang-diagnostic-unknown-warning-option]
/tmp/timescaledb-20210216-34647-w9na0y/timescaledb/tsl/src/planner.c:6:10: error: 'postgres.h' file not found [clang-diagnostic-error]
#include <postgres.h>
^
2 errors generated.
Error while processing /tmp/timescaledb-20210216-34647-w9na0y/timescaledb/tsl/src/planner.c.
make[2]: *** [tsl/src/CMakeFiles/timescaledb-tsl.dir/planner.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
The text was updated successfully, but these errors were encountered: