Install from git source as non root user? June 21, 2016 10:56PM |
Registered: 8 years ago Posts: 6 |
XML:AX::ExpatXS is up to date. (1.33) ! ! Can't write to /usr/local/lib64/perl5/5.24.0 and /usr/local/bin: Installing modules to /home/cory/perl5 ! To turn off this warning, you have to do one of the following: ! - run me as a root or with --sudo option (to install to /usr/local/lib64/perl5/5.24.0 and /usr/local/bin) ! - Configure local::lib your existing local::lib in this shell to set PERL_MM_OPT etc. ! - Install local::lib by running the following commands ! ! cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib) ! threads is up to date. (2.09)
Cleaning up build files cannot unlink file for buildtmp/XS.c: Permission denied at /usr/lib64/perl5/vendor_perl/5.24.0/Module/Build/Base.pm line 5262. cannot restore permissions to 0100644 for buildtmp/XS.c: Permission denied at /usr/lib64/perl5/vendor_perl/5.24.0/Module/Build/Base.pm line 5262. cannot unlink file for buildtmp/XS.o: Permission denied at /usr/lib64/perl5/vendor_perl/5.24.0/Module/Build/Base.pm line 5262. cannot restore permissions to 0100644 for buildtmp/XS.o: Permission denied at /usr/lib64/perl5/vendor_perl/5.24.0/Module/Build/Base.pm line 5262. cannot unlink file for buildtmp/main.xs: Permission denied at /usr/lib64/perl5/vendor_perl/5.24.0/Module/Build/Base.pm line 5262. cannot restore permissions to 0100644 for buildtmp/main.xs: Permission denied at /usr/lib64/perl5/vendor_perl/5.24.0/Module/Build/Base.pm line 5262. cannot unlink file for buildtmp/typemap: Permission denied at /usr/lib64/perl5/vendor_perl/5.24.0/Module/Build/Base.pm line 5262. cannot restore permissions to 0100644 for buildtmp/typemap: Permission denied at /usr/lib64/perl5/vendor_perl/5.24.0/Module/Build/Base.pm line 5262. cannot remove directory for buildtmp: Directory not empty at /usr/lib64/perl5/vendor_perl/5.24.0/Module/Build/Base.pm line 5262. Couldn't remove 'buildtmp': Directory not empty cpanm (App::cpanminus) 1.7039 on perl 5.024000 built for x86_64-linux-thread-multi Work directory is /home/cory/.cpanm/work/1466563307.30500 You have make /usr/bin/make You have /usr/bin/wget You have /bin/tar: tar (GNU tar) 1.28 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later [gnu.org]. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip ! ! Can't write to /usr/local/lib64/perl5/5.24.0 and /usr/local/bin: Installing modules to /home/cory/perl5 ! To turn off this warning, you have to do one of the following: ! - run me as a root or with --sudo option (to install to /usr/local/lib64/perl5/5.24.0 and /usr/local/bin) ! - Configure local::lib your existing local::lib in this shell to set PERL_MM_OPT etc. ! - Install local::lib by running the following commands ! ! cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib) ! --> Working on ./xs Entering /home/cory/Slic3r/xs Checking if you have Module::Build 0.38 ... Yes (0.4216) Checking if you have ExtUtils::Install 1.46 ... Yes (2.04) Running Build.PL Configuring /home/cory/Slic3r/xs ... Can't create '_build/runtime_params': Permission denied at /usr/lib64/perl5/vendor_perl/5.24.0/Module/Build/Notes.pm line 110. N/A Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::Typemaps::Basic 1.05 ... Yes (1.05) Checking if you have ExtUtils:arseXS 3.18 ... Yes (3.30) Checking if you have Test::More 0 ... Yes (1.302031) Checking if you have ExtUtils::Typemaps:efault 1.05 ... Yes (1.05) Checking if you have ExtUtils::Typemaps 1.00 ... Yes (3.30) Checking if you have ExtUtils:Spp 0.18 ... Yes (0.18) Checking if you have Module::Build 0.3601 ... Yes (0.4216) Building and testing Slic3r-XS-0.01 ... Can't create '_build/runtime_params': Permission denied at /usr/lib64/perl5/vendor_perl/5.24.0/Module/Build/Notes.pm line 110. FAIL ! Installing ./xs failed. See /home/cory/.cpanm/work/1466563307.30500/build.log for details. Retry with --force to force install it. The XS/C++ code failed to compile, aborting
Re: Install from git source as non root user? June 21, 2016 11:01PM |
Registered: 8 years ago Posts: 6 |
Re: Install from git source as non root user? October 07, 2016 06:50AM |
Registered: 9 years ago Posts: 12 |