Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 20174
Status: resolved
Priority: 0/
Queue: PAR

People
Owner: smueller [...] cpan.org
Requestors: shaikli [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.93
Fixed in: (no value)



Subject: pp problem/bug ?
Date: Wed, 28 Jun 2006 16:22:02 -0700 (PDT)
To: bug-par [...] rt.cpan.org
From: Nadim Shaikli <shaikli [...] yahoo.com>
I seem to have stumbled on a problem I'm unable to address. I run, $ pp my_script.pl but instead of getting the binary a.out I get, Open failed: No such file or directory at -e line 555 Here is my_script.pl's contents --- my_script.pl start --- #!/usr/bin/perl print "Hello there\n"; --- my_script.pl end --- I don't have an open in my code at line 555 (or anywhere close as you can see above) so I'm guessing this is something within 'pp'/parl itself. I'm using debian testing/etch with libpar-perl version 0.93-1 (I tried downgrading to 0.92-1 yet that version didn't work either though it did a few months and a few debian upgrades ago (I'm guessing this is an external library interaction issue)); here is my uname, uname -a : Linux plum 2.6.15-1-486 #2 i686 GNU/Linux Any ideas ? BTW: on a very unimportant note, do please consider renaming pp to say parlp or perlp or ... (akin to perlcc or similar). Regards, - Nadim Show quoted text
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Hi Nadim, thank you for your bug report. On Mi. 28. Jun. 2006, 19:22:38, shaikli@yahoo.com wrote: Show quoted text
> $ pp my_script.pl > > but instead of getting the binary a.out I get, > > Open failed: No such file or directory at -e line 555 > > Here is my_script.pl's contents > > --- my_script.pl start --- > #!/usr/bin/perl > print "Hello there\n"; > --- my_script.pl end ---
Okay, on my local debian/etch server, I get: tsee@hans:~$ perl t.pl Hello there tsee@hans:~$ pp t.pl tsee@hans:~$ ./a.out Hello there tsee@hans:~$ cat t.pl #!/usr/bin/perl print "Hello there\n"; This is also using libpar-perl 0.93-1. So basically, I cannot reproduce your problem, sorry. Would you try to, as root, delete all directories in /tmp/ of the form /tmp/par-temp /tmp/par-USERNAME /tmp/par-root etc? This is unlikely to help since if this was related you would probably be getting a permission denied error. Show quoted text
> I don't have an open in my code at line 555 (or anywhere close > as you can see above) so I'm guessing this is something within > 'pp'/parl itself. I'm using debian testing/etch with libpar-perl > version 0.93-1 (I tried downgrading to 0.92-1 yet that version > didn't work either though it did a few months and a few debian > upgrades ago (I'm guessing this is an external library interaction > issue)); here is my uname, > > uname -a : Linux plum 2.6.15-1-486 #2 i686 GNU/Linux
Same architecture here. Does the error persist when you install PAR from CPAN? It should be pretty straightforward to do provided you have gcc: $ cpan PAR (then configure CPAN.pm if you haven't done so) The problem with the error message is that it isn't reported where the error occurs. If you would like to debug this problem, please install the Carp::Indeed module (from CPAN, supposedly) and run pp as follows: $ perl -MCarp::Indeed `which pp` your_script.pl Of course, `which pp` will most likely be /usr/bin/pp anyway. Show quoted text
> BTW: on a very unimportant note, do please consider renaming pp to > say parlp or perlp or ... (akin to perlcc or similar).
I can't, easily. First, I didn't name it, I'm just a maintainer and second, other stuff (outside PAR) has come to rely on it. Send mail to the PAR author if you would like to discuss this. Steffen
Closed for now (no reply from OP for two weeks). Will automatically be reopened when a reply arrives.