Ticket #755 (closed bug: fixed)
'make install-dev' assumes "modern" File::Path
Reported by: | doughera | Owned by: | jkeenan |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | install | Version: | 1.2.0 |
Severity: | medium | Keywords: | |
Cc: | mikehh, util | Language: | |
Patch status: | Platform: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.