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
forgot versions dev-lang/perl-5.8.0-r12 dev-perl/PDL-2.4.0-r1
Sorry, I found the permissions on /tmp were wrong after doing a EVMS setup. Everything works fine now.