This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Not finding a file or directory


On 1/22/2013 1:03 PM, Matt Tracey wrote:

I have cygwin install on the server. When I open cygwin on my Windows XP machine, it opens fine, it finds the .login and all is good.

I have another computer, Windows 7, on the same network, but when I try
to  >open cygwin on that machine, I get

"/usr/local/np71: No such file or directory"

And I don't understand what the problem is?

This is what the cygwin.bat does

@echo off

T:
chdir T:\colonial\cygwin\bin

tcsh -l

cd t:\colonial\cygwin


I get the "No such file or directory" error when the batch does the "tcsh -1".


Both computers (XP and Win 7) are on the same network, they both have
the  same directories and cygwin is registered the same on both machines.

This implies to me that you're running Cygwin from a network location. If true, you will notice:


  1. Cygwin will run slower than if it was installed on a local disk
     partition.

2. Cygwin was not actually installed on the machine.

Neither of these are problems but the first will slow Cygwin down and the
second means you may need to do some extra configuration yourself.  If
neither of these is tolerable for you, just go ahead and install Cygwin
locally and see if that also solves your current problem.

Given the information above, I'll also surmise that the "No such file or
directory" is coming from "tcsh" because it cannot find the startup
resource files it's looking for, like ~/.login.  But I'll refrain from
speculating further and instead direct you to the problem reporting
guidelines:

http://cygwin.com/problems.html

If you'd like to investigate more on your own, I recommend comparing your
XP machine with your non-functioning machine.  You can compare its startup
process to find what's different.  Passing "-X" to tcsh may be instructive
in this regard.

--
Larry

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]