UNABLE TO BUILD THE TOOLKIT EXTENSION - Have anyone faced this issue? Error: failed to run custom build command for pgx-pg-sys v0.2.4
#314
arunkumar790
started this conversation in
General
Replies: 1 comment 2 replies
-
Hi, Arun! It looks like your build system lacks standard C headers such as Our Readme actually suggests running this: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All, I am new to timescaleDB and exploring it, got below error while Installing Toolkit on self-hosted TimescaleDB at step4 (Use Cargo to complete installation)
I couldn't find any solution over net, it would be great if someone help. Thanks
Compiling pgx-pg-sys v0.2.4
error: failed to run custom build command for
pgx-pg-sys v0.2.4
Caused by:process didn't exit successfully:
/xxx/xxx/timescaledb-toolkit/target/release/build/pgx-pg-sys-392f32ddaeb2fd57/build-script-build
(exit status: 101)--- stdout
cargo:rerun-if-env-changed=PGX_PG_SYS_SKIP_BINDING_REWRITE
cargo:rerun-if-changed=/home/arun/.pgx/config.toml
cargo:rerun-if-changed=include/pg10.h
cargo:rerun-if-changed=include/pg11.h
cargo:rerun-if-changed=include/pg12.h
cargo:rerun-if-changed=include/pg13.h
cargo:rerun-if-changed=include/pg14.h
cargo:rerun-if-changed=cshim/pgx-cshim.c
cargo:rerun-if-changed=cshim/Makefile --- stderr
manifest_dir=/xx/xx/.cargo/registry/src/github.com-1ecc6299db9ec823/pgx-pg-sys-0.2.4
shim_src=/xx/xx/.cargo/registry/src/github.com-1ecc6299db9ec823/pgx-pg-sys-0.2.4/cshim
shim_dst=/xx/xx/timescaledb-toolkit/target/release/build/pgx-pg-sys-f999c02874ecd61b/out/cshim
Generating bindings for pg10
Generating bindings for pg13
Generating bindings for pg12
Generating bindings for pg14
Generating bindings for pg11
/usr/include/stdio.h:33:10: fatal error: 'stddef.h' file not found
/usr/include/stdio.h:33:10: fatal error: 'stddef.h' file not found, err: true
thread '' panicked at 'Unable to generate bindings for pg12: ()', /home/arun/.cargo/registry/src/github.com-1ecc6299db9ec823/pgx-pg-sys-0.2.4/build.rs:499:13
note: run with
RUST_BACKTRACE=1
environment variable to display a backtrace/home/arun/.cargo/registry/src/github.com-1ecc6299db9ec823/pgx-pg-sys-0.2.4/include/pg10.h:1:10: fatal error: 'stdbool.h' file not found
/home/arun/.cargo/registry/src/github.com-1ecc6299db9ec823/pgx-pg-sys-0.2.4/include/pg10.h:1:10: fatal error: 'stdbool.h' file not found, err: true
/usr/include/stdio.h:33:10: fatal error: 'stddef.h' file not found
/usr/include/stdio.h:33:10: fatal error: 'stddef.h' file not found, err: true
thread '' panicked at 'Unable to generate bindings for pg10: ()', /home/arun/.cargo/registry/src/github.com-1ecc6299db9ec823/pgx-pg-sys-0.2.4/build.rs:499:13
thread '' panicked at 'Unable to generate bindings for pg13: ()', /home/arun/.cargo/registry/src/github.com-1ecc6299db9ec823/pgx-pg-sys-0.2.4/build.rs:499:13
/usr/include/stdio.h:33:10: fatal error: 'stddef.h' file not found
/usr/include/stdio.h:33:10: fatal error: 'stddef.h' file not found, err: true
thread '' panicked at 'Unable to generate bindings for pg11: ()', /home/arun/.cargo/registry/src/github.com-1ecc6299db9ec823/pgx-pg-sys-0.2.4/build.rs:499:13
/usr/include/stdio.h:33:10: fatal error: 'stddef.h' file not found
/usr/include/stdio.h:33:10: fatal error: 'stddef.h' file not found, err: true
thread '' panicked at 'Unable to generate bindings for pg14: ()', /home/arun/.cargo/registry/src/github.com-1ecc6299db9ec823/pgx-pg-sys-0.2.4/build.rs:499:13
[error] failed to build extension
Beta Was this translation helpful? Give feedback.
All reactions