I downloaded and unpacked the file from your link for DBD-Pg-3.10.3 and followed the instructions in the README file.
The "perl Makefile.PL" command was successfull. The make command failed with the following output
C:\Users\barry\Downloads\DBD-Pg-3.10.3>perl Makefile.PL
Configuring DBD::Pg 3.10.3
PostgreSQL version: 120001 (default port: 5432)
POSTGRES_HOME: (not set)
POSTGRES_INCLUDE: C:/PROGRA~1/POSTGR~1/12/include
POSTGRES_LIB: C:/PROGRA~1/POSTGR~1/12/lib
OS: MSWin32
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lm
Using DBI 1.623 (for perl 5.016003 on MSWin32-x64-multi-thread) instal
+led in C:/Perl64/lib/auto/DBI/
Writing Makefile for DBD::Pg
Writing MYMETA.yml and MYMETA.json
C:\Users\barry\Downloads\DBD-Pg-3.10.3>make
make: *** No rule to make target `C:\Perl64\libConfig.pm', needed by `
+makefile'. Stop.
C:\Users\barry\Downloads\DBD-Pg-3.10.3>