#755: 'make install-dev' assumes "modern" File::Path
----------------------+-----------------------------------------------------
Reporter: doughera | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: install | Version: 1.2.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
----------------------+-----------------------------------------------------
On an up-to-date installation of OpenSolaris/x86, the standard system perl
is perl-5.8.4. At parrot r39528, running
{{{
perl Configure.pl --prefix=/tmp/parrot
make
make install install-dev
}}}
runs into the following error:
{{{
perl tools/dev/install_files.pl \
--buildprefix= \
--prefix=/tmp/parrot \
--exec-prefix=/tmp/parrot \
--bindir=/tmp/parrot/bin \
--libdir=/tmp/parrot/lib \
--includedir=/tmp/parrot/include \
--destdir= \
--docdir=/tmp/parrot/share/doc \
--versiondir=/1.2.0-devel \
MANIFEST MANIFEST.generated
Argument "/tmp/parrot/lib/1.2.0-devel/library/YAML/Dumper" isn't numeric
in mkdir at /usr/perl5/5.8.4/lib/File/Path.pm line 159.
Argument "/tmp/parrot/lib/1.2.0-devel/library/YAML/Dumper" isn't numeric
in mkdir at /usr/perl5/5.8.4/lib/File/Path.pm line 159.
mkdir /tmp/parrot/lib: Permission denied at lib/Parrot/Install.pm line 179
mkdir /tmp/parrot
mkdir /tmp/parrot/lib
}}}
The immediate problem is that the installation directory {{{/tmp/parrot}}}
has been created with bizarre permissions:
{{{
$ ls -l /tmp/parrot
d--------- 2 doughera staff 69 Jun 12 15:45 parrot/
}}}
That's because lib/Parrot/Install.pm uses the 'modern' interface to
File::Path, which isn't supported in perl-5.8.4.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/755>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets