i gave you the two commands that you need to compile the pg driver above. just change POSTGRES and NSHOME to wherever your postgresql and aolserver are located.
the instructions that you just cut and paste also tell you:
"Usage: make install POSTGRES=/path/to/postgresql INST=/path/to/aolserver"