Sudo make install

Making install in buildutils make[1]: Entering directory ‘/mnt/nfs/pbspro/buildutils’ make[2]: Entering directory ‘/mnt/nfs/pbspro/buildutils’ make[2]: Nothing to be done for ‘install-exec-am’. make[2]: Nothing to be done for ‘install-data-am’. make[2]: Leaving directory ‘/mnt/nfs/pbspro/buildutils’ make[1]: Leaving directory ‘/mnt/nfs/pbspro/buildutils’ Making install in src make[1]: Entering directory ‘/mnt/nfs/pbspro/src’ Making install in include make[2]: Entering directory ‘/mnt/nfs/pbspro/src/include’ make[3]: Entering directory ‘/mnt/nfs/pbspro/src/include’ make[3]: Nothing to be done for ‘install-exec-am’. /usr/bin/mkdir -p ‘/opt/pbs/include’ /usr/bin/install -c -m 644 pbs_error.h pbs_ifl.h rm.h tm_.h tm.h ‘/opt/pbs/include’ make[3]: Leaving directory ‘/mnt/nfs/pbspro/src/include’ make[2]: Leaving directory ‘/mnt/nfs/pbspro/src/include’ Making install in lib make[2]: Entering directory ‘/mnt/nfs/pbspro/src/lib’ Making install in Libattr make[3]: Entering directory ‘/mnt/nfs/pbspro/src/lib/Libattr’ make[4]: Entering directory ‘/mnt/nfs/pbspro/src/lib/Libattr’ /usr/bin/mkdir -p ‘/opt/pbs/lib’ /usr/bin/install -c -m 644 libattr.a ‘/opt/pbs/lib’ ( cd ‘/opt/pbs/lib’ && ranlib libattr.a ) make[4]: Nothing to be done for ‘install-data-am’. make[4]: Leaving directory ‘/mnt/nfs/pbspro/src/lib/Libattr’ make[3]: Leaving directory ‘/mnt/nfs/pbspro/src/lib/Libattr’ Making install in Libdb make[3]: Entering directory ‘/mnt/nfs/pbspro/src/lib/Libdb’ Making install in pgsql make[4]: Entering directory ‘/mnt/nfs/pbspro/src/lib/Libdb/pgsql’ make[5]: Entering directory ‘/mnt/nfs/pbspro/src/lib/Libdb/pgsql’ /usr/bin/mkdir -p ‘/opt/pbs/libexec’ /usr/bin/install -c pbs_db_utility pbs_db_env pbs_db_schema.sql pbs_schema_upgrade ‘/opt/pbs/libexec’ /usr/bin/mkdir -p ‘/opt/pbs/sbin’ /usr/bin/install -c pbs_ds_systemd ‘/opt/pbs/sbin’ /usr/bin/mkdir -p ‘/opt/pbs/lib’ /bin/bash …/…/…/…/libtool --mode=install /usr/bin/install -c libdb.la ‘/opt/pbs/lib’ libtool: install: /usr/bin/install -c .libs/libdb.so.0.0.0 /opt/pbs/lib/libdb.so.0.0.0 libtool: install: (cd /opt/pbs/lib && { ln -s -f libdb.so.0.0.0 libdb.so.0 || { rm -f libdb.so.0 && ln -s libdb.so.0.0.0 libdb.so.0; }; }) libtool: install: (cd /opt/pbs/lib && { ln -s -f libdb.so.0.0.0 libdb.so || { rm -f libdb.so && ln -s libdb.so.0.0.0 libdb.so; }; }) libtool: install: /usr/bin/install -c .libs/libdb.lai /opt/pbs/lib/libdb.la libtool: install: /usr/bin/install -c .libs/libdb.a /opt/pbs/lib/libdb.a libtool: install: chmod 644 /opt/pbs/lib/libdb.a libtool: install: ranlib /opt/pbs/lib/libdb.a libtool: warning: remember to run ‘libtool --finish /usr/local/lib’ make install-exec-hook make[6]: Entering directory ‘/mnt/nfs/pbspro/src/lib/Libdb/pgsql’ install -D /opt/pbs/lib/libdb.so.0.0.0 /opt/pbs/lib/libdb_pg.so make[6]: Leaving directory ‘/mnt/nfs/pbspro/src/lib/Libdb/pgsql’ make[5]: Nothing to be done for ‘install-data-am’. make[5]: Leaving directory ‘/mnt/nfs/pbspro/src/lib/Libdb/pgsql’ make[4]: Leaving directory ‘/mnt/nfs/pbspro/src/lib/Libdb/pgsql’ make[4]: Entering directory ‘/mnt/nfs/pbspro/src/lib/Libdb’ cp -p …/…/…/src/lib/Libdb/pgsql/.libs/libdb.so.0.0.0 …/…/…/src/lib/Libdb/libdb.so cp: cannot create regular file ‘…/…/…/src/lib/Libdb/libdb.so’: Permission denied make[4]: *** [Makefile:772: all-local] Error 1 make[4]: Leaving directory ‘/mnt/nfs/pbspro/src/lib/Libdb’ make[3]: *** [Makefile:501: install-recursive] Error 1 make[3]: Leaving directory ‘/mnt/nfs/pbspro/src/lib/Libdb’ make[2]: *** [Makefile:511: install-recursive] Error 1 make[2]: Leaving directory ‘/mnt/nfs/pbspro/src/lib’ make[1]: *** [Makefile:512: install-recursive] Error 1 make[1]: Leaving directory ‘/mnt/nfs/pbspro/src’ make: *** [Makefile:548: install-recursive] Error 1

What is the wrong here ?

Try the build on a local volume (not NFS mounted) to determine if NFS is the problem. Also check your umask. It should be set to something like 0022.