[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

[perl #58180] [BUG perl 5.10.0] Permission denied when building as non-root user on FreeBSD 6.2+



On Wed Aug 20 14:15:07 2008, italpro@qs1213.pair.com wrote:
> 
> This is a bug report for perl from italpro@qs1213.pair.com,
> generated with the help of perlbug 1.36 running under perl 5.10.0.
> 
> 
> -----------------------------------------------------------------
> [Please enter your report here]
> 
> When building Perl 5.10.0 under FreeBSD 6.2 (and I think more recent
> versions) as well as a non-root (unprivilged user).
> 
> This happens because recent FreeBSD releases make /usr/home unreadable
> by regular users, and for some reasons perl installation fails if it
> cannon opendir() that directory - and it probably shouldn't fail.
> I asked the superuser to make that directory readable to me and perl
> built and installed regularly.
> 
> ==> HOW TO REPRODUCE
> 
> - Login as unprivileged user
> - Unpack the perl 5.10 distribution
> # sh Configure -de -Dprefix=/your/local/directory
> # make
> 
> ==> ERROR (reporting the last part of "make" output)
> 
> cd lib/unicore &&   ../../miniperl -I../../lib mktables -w
> touch uni.data
> `sh  cflags "optimize='-O'" perlmain.o`  perlmain.c
>       CCCMD =  cc -DPERL_CORE -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H
>    -fno-strict-aliasing -pipe -I/usr/local/include  -std=c89 -O
> +-Wall -ansi   -W -Wextra -Wdeclaration-after-statement -Wendif-labels
> 
>     Making DynaLoader (static)
> Makefile out-of-date with respect to ../../lib/Config.pm
>    ../../config.h
> Cleaning current config before rebuilding Makefile...
> make -f Makefile.old clean > /dev/null 2>&1
> ../../miniperl "-I../../lib" "-I../../lib" Makefile.PL
>    "INSTALLDIRS=perl" "INSTALLMAN3DIR=none" "PERL_CORE=1"
>    "LIBPERL_A=libperl.a"
> opendir(./../../../../..): Permission denied at
>    ../../lib/File/Spec/Unix.pm line 478
> opendir(./../../../../..): Permission denied at
>    ../../lib/File/Spec/Unix.pm line 478
> Writing Makefile for DynaLoader
> ==> Your Makefile has been rebuilt. <==
> ==> Please rerun the make command.  <==
> false
> *** Error code 1
> 
> Stop in /usr/home/italpro/soft/perl-5.10.0/ext/DynaLoader.
> make config failed, continuing anyway...
> /miniperl: not found
> *** Error code 127
> 
> Stop in /usr/home/italpro/soft/perl-5.10.0/ext/DynaLoader.
> *** Error code 1
> 
> 

What are your exact permissions on /usr/home?  I want to investigate this problem, but I'd 
like to work with the exact permissions you have.

Thanks,

Steve Peters


[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]