shreedara has asked for the wisdom of the Perl Monks concerning the following question:

I wanted to compile my .pl files and i have installed the PAR module "PAR-0.942" and everything went well. So I wanted to test/compile one of my perl script. So i compiled it using "pp example.pl" and it compiled without any error and ofcourse generated the "a.out" executable. When i run this ./a.out i am getting the error message
"./a.out ./a.out: creation of /tmp/par-genesis/cache-4822ebb2cf0b313e81b9c59f69 +d8622d9b724429/libperl.so failed - aborting with 2."
FYI, I have the Fedora-4 Linux and perl v5.8.6 . Am i missing something here ? or do i need to install few more packages ? Help me ! I am new to perl environment

Replies are listed 'Best First'.
Re: Problem with PAR/PP
by rinceWind (Monsignor) on Jul 26, 2006 at 13:01 UTC

    Do you have any issues creating files in /tmp? Permissions? Disk space?

    If you do have a problem with /tmp, try setting $ENV{PAR_GLOBAL_TEMP} to a valid path.

    --

    Oh Lord, won’t you burn me a Knoppix CD ?
    My friends all rate Windows, I must disagree.
    Your powers of persuasion will set them all free,
    So oh Lord, won’t you burn me a Knoppix CD ?
    (Missquoting Janis Joplin)

      I checked /tmp and there was no permision issue. I could create folders in /tmp. However your comments made me to think again, i deleted the folder 'par_xxx' under /tmp folder and compiled it again. IT WORKED ! thanks for your tip