Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Cannot create directory while compiling perl 5.16.1

by szabgab (Priest)
on Sep 09, 2012 at 09:16 UTC ( #992572=perlquestion: print w/ replies, xml ) Need Help??
szabgab has asked for the wisdom of the Perl Monks concerning the following question:

I guess it is some kind a local system issue, but so far I could not figure it out. When I try to build perl 5.16.1 on a Linux box I get this error in the make phase:
./miniperl -Ilib write_buildcustomize.pl >lib/buildcustomize.pl ./miniperl -Ilib make_ext.pl cpan/Archive-Extract/pm_to_blib MAKE=make + LIBPERL_A=libperl.a Making Archive::Extract (all) Creating Makefile.PL in cpan/Archive-Extract for Archive::Extract Running Makefile.PL in cpan/Archive-Extract ../../miniperl -I../../lib Makefile.PL INSTALLDIRS=perl INSTALLMAN1DIR +=none INSTALLMAN3DIR=none PERL_CORE=1 LIBPERL_A=libperl.a Writing Makefile for Archive::Extract make[1]: Entering directory `/a/users/develop/gabor/perl-5.16.1/cpan/A +rchive-Extract' make[1]: Leaving directory `/a/users/develop/gabor/perl-5.16.1/cpan/Ar +chive-Extract' Making all in cpan/Archive-Extract make all PERL_CORE=1 LIBPERL_A=libperl.a make[1]: Entering directory `/a/users/develop/gabor/perl-5.16.1/cpan/A +rchive-Extract' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! ERROR: Can't create '../../lib/auto' Do not have write permissions on '../../lib/auto' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! at -e line 1. make[1]: *** [pm_to_blib] Error 2 make[1]: Leaving directory `/a/users/develop/gabor/perl-5.16.1/cpan/Ar +chive-Extract' Unsuccessful make(cpan/Archive-Extract): code=512 at make_ext.pl line +466. make: *** [cpan/Archive-Extract/pm_to_blib] Error 25
But after this error /a/users/develop/gabor/perl-5.16.1/lib/auto already exists and /a/users/develop/gabor/perl-5.16.1/lib/auto/Archive/Extract also exists,

Update

After IT fixed the userids and the permissions, the building perl worked fine. Thank you for your attention and sorry for the drama.

Comment on Cannot create directory while compiling perl 5.16.1
Download Code
Re: Cannot create directory while compiling perl 5.16.1
by shlomif (Beadle) on Sep 09, 2012 at 10:52 UTC

    Hi szabgab,

    can you please provide the following information:

    1. Which distibution and version does this Linux box run?
    2. How did you invoke "sh Configure"? Any special configuration parameters?
    3. If you only do sh Configure -de -Dprefix=$HOME/apps/perl/bleadperl does it work properly?
    4. Is this Linux machine at a remote hosting? If so - which?

    Hopefully I or others will be able to help you after getting this information.

      It tells me it is a "Red Hat Enterprise Linux Server release 6.3 (Santiago)" but I suspect it might be CentOS.

      ./Configure -des -Dprefix=/a/it/perl5-15.1

      The /a is an NFS. My suspicion is that the usernames and ids have some issues. I run as user "abc" but the files I create have owner "def" and group "xyz". Also I noticed user "abc" has two entries in /etc/passwd

      The local IT team is working on fixing the userids and usernames, but I am not sure if this is the source of the problem,

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://992572]
Approved by davido
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-08-28 07:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (257 votes), past polls