Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: system "no_such_file" returns a different error on Fedora

by moritz (Cardinal)
on Jul 03, 2008 at 09:04 UTC ( #695312=note: print w/replies, xml ) Need Help??


in reply to system "no_such_file" returns a different error on Fedora

Try the following short C program:
#include <unistd.h> #include <stdio.h> #include <string.h> #include <errno.h> int main(int argc, char** argv){ execl("sadlfjsdf", "foo"); printf("%s\n", strerror(errno)); }

If that says No such file or directory it's most likely a perl problem, and you should contact p5p. If it says Not a directory, it's most likely a Fedora problem (and I guess you should contact the Fedora developers).

BTW do you have a single dot in your $PATH? (Don't know if that makes a difference)

Replies are listed 'Best First'.
Re^2: system "no_such_file" returns a different error on Fedora
by amir_e_a (Hermit) on Jul 03, 2008 at 10:41 UTC

    Tried the C code, it says "No such file or directory". p5p then?..

    I don't have a single dot in my $PATH :

    /usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/aharoni/bin

    (/home/aharoni is my home dir.)

      Tried the C code, it says "No such file or directory". p5p then?..

      Yes, please. Usually they are very good with this kind of low-level stuff ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://695312]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2020-01-20 21:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?