----- Original Message ----- From: "the.noonings" <[EMAIL PROTECTED]> To: <[email protected]> Sent: 21 February 2005 20:27 Subject: Works as root but not as user
> > Hello, > I have a problem running pp on Mandrake Linux as a regular user. Root > runs just fine. In fact as root I can chdir and run > PAR0.87/contrib/automated_pp_test/automated_pp_test.pl just fine. No > automated_pp_test.pl tests run as a regular user. > > To simplify things, I created this file hello.pl > #!/usr/bin/perl -w > print "Hello\n"; > > And then I > pp -o hello hello.pl > ./hello > And I get > No such file or directory at -e line 725. > BEGIN failed--compilation aborted at -e line 835. > > Again, it works fine as root. It bombs as a regular user. I don't know > what I am missing here. Any help would be appreciated. > Thanks One suggestion: check that the environment variable USER is set. If not, PAR will use /tmp/par_SYSTEM for _all_ users. So, if you don't own this directory and are not root, tough beans. Solution: add the line "export USER=myloginname" to your .profile. I'm probably wrong, put it's one line to eliminate. Ivor.
