Tags:
create new tag
view all tags

Question

I've attempted to install using the excellent WindowsInstallCookbook on two different machines (Dell laptop and Micron desktop) under Win2K and Win98, and I get the same behavior after installing Cygwin. I create and mount the directories as specified in the cookbook, but then I can't "cd" or "ls" the /twiki directory. I can "ls" in the parent directory ("/") and the twiki directory is listed, but if I attempt to "cd" or "ls" that twiki directory I get an error. I'll copy/paste it here:

Chris Keith@LARRY /
$ ls
bin  c  cygwin.bat  cygwin.ico  etc  home  lib  sbin  tmp  twiki  usr  var

Chris Keith@LARRY /
$ ls twiki
ls: twiki: No such file or directory
I originally thought that the hard disk on one of the machines was bad, but after seeing the same problem on two radically different machines I think it's something else. I can see the directory in the Windows Explorer, and its attributes look OK.

When I was installing cygwin on the Micron/Win98, I watched the command windows come and go after everything was downloaded (presumably running scripts), and saw some error flash by in one of them, but it was gone too quickly to read. I wasn't watching the Dell/Win2K install at that time, so I don't know if an error occurred at that same point. Are those errors logged anywhere? Is there any way to run the cygwin install so that I can see that error? Is there any way to run the cygwin install in a "diagnostic" mode?

Thanks for any help. .

  • TWiki version: N/A
  • Web server: Apache
  • Server OS: Win2K and Win98
  • Web browser: N/A
  • Client OS: N/A

-- ChrisKeith - 18 Jun 2002

I've stepped through to the point of having run the following command:

mkdir /twiki /c
(though I did them on two separate lines). Right now I have two new directories (as viewed in Windows Explorer)
C:\cygwin\twiki
C:\cygwin\c
The next step in the process says to issue the following command:
mount -b -s c:/twiki /twiki
When I look at the man page on cygwin for the "mount" command it says that the first parameter is a win32path, but I don't have a C:\twiki directory. What should I see after I issue the mkdir command?

...a few minutes later...

Creating a C:/twiki and mapping it seems to work (at least I'm past my original problem). Is there a problem with that step in the directions, that is, should the line be:

mkdir C:/twiki C:/c
or have I just layered one problem on top of another?

-- ChrisKeith - 21 Jun 2002

Answer

Step 7 of the WindowsInstallCookbook involves downloading the TWiki ZIP file to c:/twiki. Since you haven't done this (yet), the Cygwin /twiki mount is pointing into thin air, leading to this error message.

There's a bug in the cookbook here, since the cd /twiki will never work in step 6. I have now fixed this by adding mkdir c:/twiki to step 6 - if you do this, everything should work OK.

Thanks for logging this, have added you to the cookbook credits.

-- RichardDonkin - 21 Jun 2002

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2002-06-21 - RichardDonkin
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.