Fwd: Perl DBD::Pg on OS X build issue

[email protected] (Mitchell Hotchkiss) Wed, 22 Nov 2023 10:23:34 -0500
Newsgroups perl.dbd.pg
Message-ID <CADLiDdeVbvebdUiRQkmjagD9yL7UzRuDr=oU8LkhcT1JSYHJ1A@mail.gmail.com>
--0000000000001a9b93060abf4ed1
Content-Type: text/plain; charset="UTF-8"

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 %

--0000000000001a9b93060abf4ed1
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr"><br><div><br><=
/div><div>I am trying to install DBD::Pg on my Mac using OS Ventura 13.4 bu=
t am running into this error message below. I&#39;ve been pulling my hair o=
ut searching=C2=A0the 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=C2=A0light=
 on it. Thanks!</div><div><br></div>mitch@MacBook-Air-2 DBD-Pg-3.17.0-0 % p=
erl Makefile.PL<br>Configuring DBD::Pg 3.17.0<br>PostgreSQL version: 160001=
 (default port: 5432)<br>POSTGRES_HOME: (not set)<br>POSTGRES_INCLUDE: /App=
lications/Postgres.app/Contents/Versions/16/include<br>POSTGRES_LIB: /Appli=
cations/Postgres.app/Contents/Versions/16/lib<br>OS: darwin<br>Warning (mos=
tly harmless): No library found for -lm<br>Using DBI 1.643 (for perl 5.0300=
03 on darwin-thread-multi-2level) installed in /System/Library/Perl/Extras/=
5.30/darwin-thread-multi-2level/auto/DBI/<br>Generating a Unix-style Makefi=
le<br>Writing Makefile for DBD::Pg<br>Writing MYMETA.yml and MYMETA.json<br=
><br><div>mitch@MacBook-Air-2 DBD-Pg-3.17.0-0 % make<br>Skip blib/lib/Bundl=
e/DBD/Pg.pm (unchanged)<br>Skip blib/lib/DBD/Pg.pm (unchanged)<br>Running M=
kbootstrap for Pg ()<br>chmod 644 &quot;Pg.bs&quot;<br>&quot;/usr/bin/perl&=
quot; -MExtUtils::Command::MM -e &#39;cp_nonempty&#39; -- Pg.bs blib/arch/a=
uto/DBD/Pg/Pg.bs 644<br>make: *** No rule to make target `/System/Library/P=
erl/Extras/5.30/darwin-thread-multi-2level/auto/DBI/Driver_xst.h&#39;, need=
ed by `Pg.xsi&#39;.=C2=A0 Stop.<br>mitch@MacBook-Air-2 DBD-Pg-3.17.0-0 %=C2=
=A0</div></div>
</div></div>

--0000000000001a9b93060abf4ed1--