pkg_add: can't open dependency file '/usr/pkg/pkgdb/m4-1.4.19nb1/+REQUIRED_BY',registration is incomplete!: No such file or directory pkg_add: can't open dependency file '/usr/pkg/pkgdb/perl-5.40.0nb1/+REQUIRED_BY',registration is incomplete!: No such file or directory sh: Cannot determine current working directory /bin/sh: Can't open /usr/pkg/pkgdb/m4-1.4.19nb1/+INSTALL pkg_add: install script returned error status pkg_add: no files matching ``/usr/pkg/pkgdb/m4-1.4.19nb1/+*'' found: No such file or directory pkg_add: Can't install dependency m4>=1.4 pkg_add: Expected dependency m4>=1.4 still missing xmlcatmgr-2.2nb1: copying /usr/pkg/share/examples/xmlcatmgr/catalog.etc.sgml to /usr/pkg/etc/sgml/catalog xmlcatmgr-2.2nb1: copying /usr/pkg/share/examples/xmlcatmgr/catalog.etc.xml to /usr/pkg/etc/xml/catalog xmlcatmgr-2.2nb1: copying /usr/pkg/share/examples/xmlcatmgr/catalog.share.sgml to /usr/pkg/share/sgml/catalog xmlcatmgr-2.2nb1: copying /usr/pkg/share/examples/xmlcatmgr/catalog.share.xml to /usr/pkg/share/xml/catalog php-8.1.31: copying /usr/pkg/share/examples/php/php.ini-production to /usr/pkg/etc/php.ini pkg_add: 1 package addition failed =========================================================================== $NetBSD: MESSAGE,v 1.1 2021/11/27 07:24:43 taca Exp $ To process PHP scripts, you will need a PHP-enabled HTTP server. You may either configure the HTTP server to use the PHP CGI binary located in /usr/pkg/libexec/cgi-bin/php or you may install a PHP module for your HTTP server, e.g. www/ap-php. ===========================================================================