This is the mail archive of the
mailing list for the Cygwin project.
Re: Changing HOME for PERL
Yes that is SolidState Perl on the C drive.
Ah.... That'd be ActiveState, not SolidState.
/usr/bin is in the front.
That makes no sense but perhaps it's a clue. As Jeremy mentioned, which
takes each PATH component and checks to see if there's a executable of
that name in that path component. If /usr/bin is in the front then
theoretically it should see /usr/bin/perl and say "Ah ha! That's where
that is" and report back /usr/bin/perl.
My god man that's the most polluted PATH I've seen yet! You have some
duplication and a lot of unnecessary stuff (I mean really, does Roxio
need to be in there?) I see you're using Clearcase - good boy! :-) But
you have it listed several times.
$ echo $PATH
Files/Common Files/Roxio Shared/9.0/DLLShared/:"C:/Program Files/Common
Tools/:/cygdrive/c/Program Files/Common Files/Roxio
Imaging/:/cygdrive/c/Program Files/IDM Computer
Solutions/UltraEdit/:/cygdrive/c/Program Files/IDM Computer Sol
When you get spare time you may wish to clean that up. I tend to keep
Windows paths Windows like (e.g. "C:/Program
Files/Rational/Clearcase/bin") and Posix paths Posix like (i.e.
/usr/bin). This cuts down on PATH length as /cygdrive/c is much longer
What's this?!? You're in the /usr/bin/perl directory? There isn't any
/usr/bin/perl directly?!? Or there shouldn't be!
$ /usr/bin/perl.exe -de 1Actually I said /usr/bin/perl -de 1 not /usr/bin/perl.exe -de 1. Your
shebang line doesn's say /usr/bin/perl.exe does it? Maybe exec(1) is
getting confused between /usr/bin/perl.exe and /usr/bin/perl the
directory? Note that executables, by Windows nature, end in .exe but
Unix executables don't. So in order to avoid the ugliness, confusion and
incompatibility of having to do ls.exe and rm.exe, etc. Cygwin treats ls
as ls.exe. Likewise perl as perl.exe. However if exec(1) find that
/usr/bin/perl exists in the filesystem as a directory, perhaps it tries
to run that or says "Well that's not executable so let me look onward".
If you have a /usr/bin/perl directory remove it and try again.
Loading DB routines from perl5db.pl version 1.28
Editor support available.
Enter h or `h h' for help, or `man perldebug' for more help.
Andrew DeFaria <http://defaria.com>
Future historians will be able to study at the Gerald Ford Library; the
Jimmy Carter Library; the Ronald Reagan Library and the Bill Clinton
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple