[...] mkdir -p sql /usr/bin/cpp -traditional-cpp -w -P -I../libpgcommon address_standardizer_types.sql.in | grep -v '^#' | \ /bin/sh /usr/local/lib/postgresql/pgxs/src/makefiles/../../config/missing perl -lpe "s'MODULE_PATHNAME'\$libdir/address_standardizer-2.2'g" > sql/address_standardizer_types.sql *** ERROR: Perl is missing on your system. It is needed unless you are building from an unmodified official distribution of PostgreSQL. *** Makefile:67: recipe for target 'sql/address_standardizer_types.sql' failed gmake[4]: *** [sql/address_standardizer_types.sql] Error 1 gmake[4]: *** Deleting file 'sql/address_standardizer_types.sql' gmake[4]: Leaving directory '/wrkdirs/usr/ports/databases/postgis22/work/postgis-2.2.1/extensions/address_standardizer' Makefile:26: recipe for target 'all' failed gmake[3]: *** [all] Error 1 gmake[3]: Leaving directory '/wrkdirs/usr/ports/databases/postgis22/work/postgis-2.2.1/extensions' GNUmakefile:16: recipe for target 'all' failed gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/databases/postgis22/work/postgis-2.2.1' Makefile:6: recipe for target 'all' failed gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/postgis22/work/postgis-2.2.1' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/databases/postgis22 build of databases/postgis22 ended at Fri Jan 8 21:30:51 CET 2016 build time: 00:00:44 !!! build failure encountered !!!