Yandell-Lab/maker

Build installdeps in a shared cluster as non root fails with many permission denied

SomePersonSomeWhereInTheWorld opened this issue · 1 comments

We've installed MAKER as a module in a shared cluster however the perl CPAN dependencies all need to be installed to a specific path. There is an option that asks for build a local installation, but that fails with many permission denied. Is there an installation how to for shared use of MAKER? Perhaps some environment variables?

MAKER/3.01.03/maker/src/Build installdeps
You do not have write access to install missing Modules.
I can try and install these locally (i.e. only for MAKER)
in the .../maker/perl/lib directory, or you can run
'./Build installdeps' as root or using sudo and try again.
Do want MAKER to try and build a local installation? [N ]y
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/path/to/MAKER/3.01.03/maker/src/../perl/lib'
Do not have write permissions on '/path/to/MAKER/3.01.03/maker/src/../perl/lib'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 at -e line 1.
make: *** [Makefile:853: pure_site_install] Error 13
  RYBSKEJ/forks-0.36.tar.gz
  /usr/bin/make install  -- NOT OK
----
  You may have to su to root to install the package
  (Or you may want to run something like
    o conf make_install_make_command 'sudo make'
  to raise your permissions.forks::shared failed to install

Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/path/to/MAKER/3.01.03/maker/src/../perl/lib/Perl/Unsafe'
mkdir /path/to/MAKER/3.01.03/maker/src/../perl/lib/Perl: Permission denied at /usr/share/perl5/vendor_perl/ExtUtils/Install.pm line 489.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 at -e line 1.
make: *** [Makefile:801: pure_site_install] Error 13
  RGARCIA/Perl-Unsafe-Signals-0.03.tar.gz
  /usr/bin/make install  -- NOT OK
Perl::Unsafe::Signals failed to install

It's trying to install under /path/to/MAKER/3.01.03/maker/perl which is a subdirectory of the MAKER install and not a system directory. The error states that you don't have permission to the MAKER directory. make sure the user who downloaded MAKER and the one running setup are the same user. Once setup is complete, all users can access the same MAKER install (it's self contained).