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 ;-)