Can't install SQLSRV to my Local

Hello!

I need to query remote Azure Database from my WordPress website. The task requires SQLSRV and SQLSRV PDO drivers to be installed, however, I can’t do that when I use this guide. When I reach step 4 while trying to install SQLSRV PDO, I get following error message:

Makefile:194: recipe for target ‘pdo_dbh.lo’ failed

What could be possible reason for this and is there any easier way to add required extension to my Local instance?