promscale 확장 치명적인 오류: 'libintl.h' 파일을 찾을 수 없습니다.

promscale 확장 치명적인 오류: 'libintl.h' 파일을 찾을 수 없습니다.

promscale-extensionFreeBSD 13.1에서 PostgreSQL 14.5를 컴파일 하려고 하는데 fatal error: 'libintl.h' file not found. /usr/local/include/libintl.h이 문제를 해결하는 방법을 아는 사람이 있습니까? 아니면 버그를 보고해야 합니까?

전체 오류 메시지는 다음과 같습니다.


 Compiling pgx-pg-sys v0.4.5 (https://github.com/timescale/pgx?rev=96ece243#96ece243)
error: failed to run custom build command for `pgx-pg-sys v0.4.5 (https://github.com/timescale/pgx?rev=96ece243#96ece243)`

Caused by:
  process didn't exit successfully: `/usr/home/dave/Repos/promscale/promscale_extension/target/release/build/pgx-pg-sys-23463da5d8c5cde1/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=PGX_PG_SYS_GENERATE_BINDINGS_FOR_RELEASE
  cargo:rerun-if-changed=/home/dave/.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=/home/dave/.cargo/git/checkouts/pgx-86cb45baab31d1a6/96ece24/pgx-pg-sys
  shim_src=/home/dave/.cargo/git/checkouts/pgx-86cb45baab31d1a6/96ece24/pgx-pg-sys/cshim
  shim_dst=/usr/home/dave/Repos/promscale/promscale_extension/target/release/build/pgx-pg-sys-938b3b40f8fb0d27/out/cshim
  Generating bindings for pg14
  /usr/local/include/postgresql/server/c.h:75:10: fatal error: 'libintl.h' file not found
  /usr/local/include/postgresql/server/c.h:75:10: fatal error: 'libintl.h' file not found, err: true
  thread 'main' panicked at 'Unable to generate bindings for pg14: ()', /home/dave/.cargo/git/checkouts/pgx-86cb45baab31d1a6/96ece24/pgx-pg-sys/build.rs:530:13
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
gmake: *** [Makefile:99: package] Error 1

관련 정보