When you type in a program name, the computer searches for those program in
predefined paths.  Those paths are defined in the PATH environment variables.
Typing "echo $PATH" (without quotes) will give you your current search path.
In modern linux distributions, the current path is not include in the search
path for security reasons.  That is why you have to specify the path to the
program when it is not in your search path.

This should not be a complicated thing but I might not be the best person to
explain this.  So the easiest way to run the programs is just to give the
full path to the ptune.pl, which I think in your case is
/home/chris/ivtv-1.0.1/utils/perl/ptune.pl

Cheers,
Gulli

Þann Þriðjudagur 7. ágúst 2007 19:04 skrifaði Christopher Boorman:
> I'm not sure I understand. What is a "search path". What is a PATH
> environment variable?
>
> Guðlaugur Jóhannesson wrote:
> > Current directory is not in your search path.  You can put the
> > directories with the utilities in your PATH environment variable (use
> > google if you don't know how) and then you can type ptune.pl or ivtv-tune
> > from any directory. You can also add the path to the utilities on the
> > command line, either relative or absolute paths.  So when your in the
> > utility directory, typing ./ptune.pl should work.
> >
> > HTH
> > Gulli
> >
> > Þann Þriðjudagur 7. ágúst 2007 14:02 skrifaði Christopher Boorman:
> >> I finally got my Mandriva 2007 Spring installed. My Hauppauge 250 card
> >> is recognized. Entering
> >>
> >> mplayer /dev/video0 will allow me to watch tv, but only 1 channel.
> >> I'm not able to watch TV using KMplayer. I get error message "mplayer
> >> not running".
> >>
> >> First things first though, the utilities are in
> >> /home/chris/ivtv-1.0.1/utils/perl typing
> >> ptune.pl -c6 gives me error
> >>
> >> ptune.pl: command not found
> >>
> >> Same goes true for trying to use ivtv-tune.
> >>
> >> Any assistance would be appreciated.
> >
> > _______________________________________________
> > ivtv-users mailing list
> > [email protected]
> > http://ivtvdriver.org/mailman/listinfo/ivtv-users
>
> _______________________________________________
> ivtv-users mailing list
> [email protected]
> http://ivtvdriver.org/mailman/listinfo/ivtv-users

_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to