Re: Executable confusion!

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Colin Rasor
Date:  
To: Main PLUG discussion list
Subject: Re: Executable confusion!

Alan,

which will only report the first file matching the expression in $PATH. The
first matched is in the order listed in $PATH. To verify this echo $PATH and
check which directories are listed first. Then execute find or locate with
an expression that matches bin for your pilot-xfer program.

--Colin.ansel.Rasor


On 10/4/05 9:34 PM, "Alan Dayley" <> wrote:

>
> I am attempting to update the pilot-link package on my Fedora Core 3
> from source. The previous version from packages is 0.11.8. I
> downloaded the source for version 0.12.0-pre4.
>
> After running './configure' and 'make' as a normal user. I ran 'make
> install' as root. Everything appears to have worked fine. But now
> watch this series of commands issued as root:
>
> # pilot-xfer --version
>    .--------------------------------------------.
>    | (c) Copyright 1996-2003, pilot-link team   |
>    |   Join the pilot-link lists to help out.   |
>    `--------------------------------------------'
>    This is pilot-xfer, from pilot-link version 0.11.8

>
>    Build target..: i386-redhat-linux-gnu
>    Build date....: Aug  9 2004 04:10:03

>
>    pilot-link 0.11.8 is covered under the GPL/LGPL
>    See the file COPYING under docs for more info.

>
>    Please use -h for more detailed options.
> # which pilot-xfer
> /usr/local/bin/pilot-xfer
> # /usr/local/bin/pilot-xfer --version
>    DEPRECATED: The application is calling print_splash()
>    .--------------------------------------------.
>    | (c) Copyright 1996-2004, pilot-link team   |
>    |   Join the pilot-link lists to help out.   |
>    `--------------------------------------------'
>    This is /usr/local/bin/pilot-xfer, from pilot-link version 0.12.0-pre4

>
>    Build target..: i686-pc-linux-gnu
>    Build date....: Oct  4 2005 21:13:14

>
>    pilot-link 0.12.0-pre4 is covered under the GPL/LGPL
>    See the file COPYING under docs for more info.

>
>    Please use --help for more detailed options.
> #

>
> Behold my confusion! When issued without the path, the 'pilot-xfer'
> reports the old version 0.11.8. The 'which' command reports only *one*
> pilot-xfer in $PATH. When issued with the full path, the pilot-xfer'
> reports the new version.
>
> How can this be? How do I correct it?
>
> Alan
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss