Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33937 - Perl PDL couldn't open tmpfile at /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/PDL/IO/Pic.pm line 160
Summary: Perl PDL couldn't open tmpfile at /usr/lib/perl5/vendor_perl/5.8.0/i686-linux...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-20 08:46 UTC by Karl Steddom
Modified: 2003-11-21 07:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Steddom 2003-11-20 08:46:05 UTC
There appears to be a problem with file/directory permisions when Perl PDL is
installed.

If I run either a script with use PDL; or perldl as a normal user I get errors.
If I log in as root, I no longer get the errors. perldl still mostly works with
occasional errors that may or may not be due to this error, but sripts fail in
the compilation step.

I have duplicated this several times with the PDL ebuild and with a CPAN build
of PDL, with the same results each time.

Reproducible: Always
Steps to Reproduce:
1.emerge PDL
2.as user perldl gives errors
3.as root perldl gives no errors

Actual Results:  
karl@BushLeague-K karl $ perldl
perlDL shell v1.33
 PDL comes with ABSOLUTELY NO WARRANTY. For details, see the file
 'COPYING' in the PDL distribution. This is free software and you
 are welcome to redistribute it under certain conditions, see
 the same file for details.
ReadLines, NiceSlice, MultiLines  enabled
Reading PDL/default.perldlrc...
WARNING: Error loading PDL: 'couldn't open tmpfile at
/usr/lib/perl5/vendor_perl/5.8.0/i686-linux/PDL/IO/Pic.pm line 160
Compilation failed in require at (eval 15) line 20, <DATA> line 206.
BEGIN failed--compilation aborted at (eval 15) line 20, <DATA> line 206.
BEGIN failed--compilation aborted at
/usr/lib/perl5/vendor_perl/5.8.0/i686-linux/PDL/default.perldlrc line 7, <DATA>
line 206.
Compilation failed in require at (eval 14) line 1, <DATA> line 206.
' - trying blib.
Loaded PDL v2.4.0
perldl> q
karl@BushLeague-K karl $ su
Password:
root@BushLeague-K karl # perldl
perlDL shell v1.33
 PDL comes with ABSOLUTELY NO WARRANTY. For details, see the file
 'COPYING' in the PDL distribution. This is free software and you
 are welcome to redistribute it under certain conditions, see
 the same file for details.
ReadLines, NiceSlice, MultiLines  enabled
Reading PDL/default.perldlrc...
Found docs database /usr/lib/perl5/site_perl/5.8.0/i686-linux/PDL/pdldoc.db
Type 'help' for online help
Type 'demo' for online demos
Loaded PDL v2.4.0
perldl> q
root@BushLeague-K karl #



below is a simple sript that gives the same errors:

#! /usr/bin/perl
use PDL;
print "Hello World\n";


notice it does not need to actually use any PDL routines
Comment 1 Karl Steddom 2003-11-20 08:48:20 UTC
forgot versions

dev-lang/perl-5.8.0-r12
dev-perl/PDL-2.4.0-r1
Comment 2 Karl Steddom 2003-11-21 07:45:09 UTC
Sorry, I found the permissions on /tmp were wrong after doing a EVMS setup.
Everything works fine now.