I am trying to install DBD::Pg on my Mac using OS Ventura 13.4 but am running into this error message below. I've been pulling my hair out searching the web for similar problems but cannot find a solution. It would mean a lot if you can take a look at this and shed some light on it. Thanks!
mitch@MacBook-Air-2 DBD-Pg-3.17.0-0 % perl Makefile.PL Configuring DBD::Pg 3.17.0 PostgreSQL version: 160001 (default port: 5432) POSTGRES_HOME: (not set) POSTGRES_INCLUDE: /Applications/Postgres.app/Contents/Versions/16/include POSTGRES_LIB: /Applications/Postgres.app/Contents/Versions/16/lib OS: darwin Warning (mostly harmless): No library found for -lm Using DBI 1.643 (for perl 5.030003 on darwin-thread-multi-2level) installed in /System/Library/Perl/Extras/5.30/darwin-thread-multi-2level/auto/DBI/ Generating a Unix-style Makefile Writing Makefile for DBD::Pg Writing MYMETA.yml and MYMETA.json mitch@MacBook-Air-2 DBD-Pg-3.17.0-0 % make Skip blib/lib/Bundle/DBD/Pg.pm (unchanged) Skip blib/lib/DBD/Pg.pm (unchanged) Running Mkbootstrap for Pg () chmod 644 "Pg.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pg.bs blib/arch/auto/DBD/Pg/Pg.bs 644 make: *** No rule to make target `/System/Library/Perl/Extras/5.30/darwin-thread-multi-2level/auto/DBI/Driver_xst.h', needed by `Pg.xsi'. Stop. mitch@MacBook-Air-2 DBD-Pg-3.17.0-0 %
