I've installed postgresql via apt install postgresql-server-dev-all
When running sudo zkg -vvv install 0xxon/zeek-postgresql my ouput is:
2024-06-08 20:12:46 DEBUG init Manager version 2.14.0
2024-06-08 20:12:46 DEBUG found source clone of "zeek" at /opt/zeek/var/lib/zkg/clones/source/zeek
2024-06-08 20:12:46 DEBUG getting info on "0xxon/zeek-postgresql"
2024-06-08 20:12:47 DEBUG checked out "zeek/0xxon/zeek-postgresql", branch/version "0.0.8"
2024-06-08 20:12:47 DEBUG getting info on "zeek/0xxon/zeek-postgresql"
2024-06-08 20:12:47 DEBUG checked out "zeek/0xxon/zeek-postgresql", branch/version "0.0.8"
The following packages will be INSTALLED:
zeek/0xxon/zeek-postgresql (0.0.8)
Proceed? [Y/n] Y
Running unit tests for "zeek/0xxon/zeek-postgresql"
2024-06-08 20:12:49 DEBUG testing "zeek/0xxon/zeek-postgresql"
2024-06-08 20:12:49 DEBUG getting info on "zeek/0xxon/zeek-postgresql"
2024-06-08 20:12:49 DEBUG checked out "zeek/0xxon/zeek-postgresql", branch/version "0.0.8"
2024-06-08 20:12:49 DEBUG getting info on "zeek/0xxon/zeek-postgresql"
2024-06-08 20:12:50 DEBUG checked out "zeek/0xxon/zeek-postgresql", branch/version "0.0.8"
2024-06-08 20:12:50 DEBUG preparing "zeek-postgresql" for testing: version 0.0.8
2024-06-08 20:12:50 DEBUG staging "zeek/0xxon/zeek-postgresql": version 0.0.8
2024-06-08 20:12:50 DEBUG building "zeek/0xxon/zeek-postgresql": running build_command: ( ./configure --with-postgresql-inc=`pg_config --includedir` --with-postgresql-server-inc=`pg_config --includedir-server` --with-postgresql-lib=`pg_config --libdir` && make )
2024-06-08 20:12:50 INFO installing "zeek/0xxon/zeek-postgresql": writing build log: /opt/zeek/var/lib/zkg/logs/zeek-postgresql-build.log
2024-06-08 20:12:58 WARNING installing "zeek/0xxon/zeek-postgresql": no __load__.zeek in implicit script_dir, skipped installing scripts
2024-06-08 20:12:58 INFO testing "zeek/0xxon/zeek-postgresql"
2024-06-08 20:12:58 DEBUG running test_command for zeek-postgresql with cwd="/opt/zeek/var/lib/zkg/testing/zeek-postgresql/clones/zeek-postgresql", PATH="/opt/zeek/var/lib/zkg/testing/zeek-postgresql/bin:/opt/zeek/bin:/usr/local/zeek/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin", and ZEEKPATH="/opt/zeek/var/lib/zkg/testing/zeek-postgresql/scripts:.:/opt/zeek/share/zeek:/opt/zeek/share/zeek/policy:/opt/zeek/share/zeek/site:/opt/zeek/share/zeek/builtin-plugins": cd tests && btest -d
error: failed to run tests for zeek/0xxon/zeek-postgresql: test_command failed with exit code 1
Proceed to install anyway? [N/y] N
Abort.
apt install postgresql-server-dev-all
sudo zkg -vvv install 0xxon/zeek-postgresql
my ouput is: