Subject: Re: Problem building CVS-1.10.x
From: Earnie Boyd <[email-masked]>
To: "Steven N. Hirsch" <[email-masked]>
Cc: Trevor Forbes <[email-masked]>, [email-masked]
Date: Tue, 28 Dec 1999 07:55:01 -0800 (PST)

--- "Steven N. Hirsch" <[email-masked]> wrote:
Ah, Steve, you've not read my pages yet I see.

-8<- 
> I think my primary problem has been submerged in the noise.  The eol
> character is the least of my concerns at the moment.  My original
> motivation for posting to the list concerns this error:
> 
> cvs.exe [checkout aborted]: writing to server: The descriptor is a file,
>  not a socket
> 
> when I run any version of CVS 1.10.x built on my system.  Binaries from
> the net work properly.
> 
> In the event that it has bearing on the problem, here is the cygcheck:
> 
> ------------------------ Cut here ---------------------------
> 
> Cygnus Win95/NT Configuration Diagnostics
> Current System Time: Tue Dec 28 10:20:28 1999
> 
> WinNT Ver 4.0 build 1381 Service Pack 5
> 
> Path:	/dosD/cvs

Is the cvs a Cygwin binary?  I'm thinking you built it using Cygwin but to be
sure `cygcheck cvs' should list the cygwin1.dll in it's output.

> 	/bin
> 	/usr/local/bin
> 	/CYGNUS/CYGWIN~1/H-I586~1/BIN
> 	/bin
> 	/usr/local/bin
> 	/WINNT/system32
> 	/WINNT

It will be to your benefit to clean up the path for Cygwin.  This can be best
accomplished by adding 
`export PATH=/bin:/usr/local/bin:/dosD/cvs:/WINNT/system32:/WINNT` to your
~/.bashrc file.

> 
> SysDir: C:\WINNT\System32
> WinDir: C:\WINNT
> 
> CYGWIN = `tty'
> HOME = `/home/hirsch'
> MAKE_MODE = `UNIX'
> PWD = `/home/hirsch'
> 
> !C: = `C:\WINNT\Profiles\hirsch.000\Desktop'
> COMPUTERNAME = `VMNT4'
> COMSPEC = `C:\WINNT\system32\cmd.exe'
> CVSEDITOR = `emacs'
> CVSROOT = `:pserver:[email-masked]:/usr/src/repository'
> CYPRESS_DIR = `F:\warp'
> EDITOR = `emacs'
> GNU_SECURE = `/home/hirsch/.gnuhosts'
> HOMEDRIVE = `C:'
> HOMEPATH = `\'
> HOSTNAME = `vmnt4'
> HOSTTYPE = `i586'
> LOGONSERVER = `\\VMNT4'
> MACHTYPE = `i586-pc-cygwin32'
> NUMBER_OF_PROCESSORS = `1'
> OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
> OS = `Windows_NT'
> OSTYPE = `cygwin32'
> PATHEXT = `.COM;.EXE;.BAT;.CMD'
> PROCESSOR_ARCHITECTURE = `x86'
> PROCESSOR_IDENTIFIER = `x86 Family 6 Model 7 Stepping 3, GenuineIntel'
> PROCESSOR_LEVEL = `6'
> PROCESSOR_REVISION = `0703'
> PROMPT = `$P$G'
> SHELL = `/bin/sh'
> SHLVL = `1'
> SYSTEMDRIVE = `C:'
> SYSTEMROOT = `C:\WINNT'
> TEMP = `C:\TEMP'
> TERM = `linux'
> TMP = `C:\TEMP'
> USERDOMAIN = `VMNT4'
> USERNAME = `hirsch'
> USERPROFILE = `C:\WINNT\Profiles\hirsch.000'
> WINDIR = `C:\WINNT'
> _ = `/CYGNUS/CYGWIN~1/H-I586~1/BIN/cygcheck'
> 
> HKEY_CURRENT_USER\Software\Cygnus Solutions
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
>   (default) = `f:\local'
>   unix = `/usr/local'
>   fbinary = 0x00000001
>   fsilent = 0x00000000
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
>   (default) = `h:'
>   unix = `/home/hirsch'
>   fbinary = 0x00000001
>   fsilent = 0x00000000
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02
>   (default) = `C:'
>   unix = `/'
>   fbinary = 0x00000000
>   fsilent = 0x00000001
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20\B20.1
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0B
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0C
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0D
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0E
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0F
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\10
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\11
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\12
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\13
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\14
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\15
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\16
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\17
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\18
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\19
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1A
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1B
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1C
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1D
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
> Solutions\GNUPro\i586-cygwin32\i586-cygwin32
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
> Solutions\GNUPro\i586-cygwin32\i586-cygwin32\cygwin-B20.1
>   (default) = `c:\cygnus\cygwin-b20'
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cygnus
> Cygwin B20
>   (default) = `C:\WINNT\IsUninst.exe -fc:\cygnus\cygwin-b20\Uninst.isu'
>   DisplayName = `Cygwin B20'
> 
> a:\ fd           N/A    N/A                    
> c:\ hd  NTFS     499Mb  66% CP CS UN PA FC     
> d:\ cd  CDFS     636Mb 100%    CS UN           RH6_1 Source
> e:\ net NTFS    3880Mb  83%          PA        cy_usr_src
> f:\ net NTFS    3957Mb  67%          PA        dosD
> h:\ net NTFS    3957Mb  67%          PA        hirsch
> 
> C:        /             native  text!=binary
> h:        /home/hirsch  native  text=binary
> f:\local  /usr/local    native  text=binary
> 
> Found: C:\CYGNUS\CYGWIN~1\H-I586~1\BIN\bash.exe
> Found: C:\CYGNUS\CYGWIN~1\H-I586~1\BIN\cat.exe
> Not Found: cpp (good!)
> Found: C:\CYGNUS\CYGWIN~1\H-I586~1\BIN\find.exe
> Found: C:\CYGNUS\CYGWIN~1\H-I586~1\BIN\gcc.exe
> Found: C:\CYGNUS\CYGWIN~1\H-I586~1\BIN\gdb.exe
> Found: C:\CYGNUS\CYGWIN~1\H-I586~1\BIN\ld.exe
> Found: C:\bin\ls.exe
> Found: C:\CYGNUS\CYGWIN~1\H-I586~1\BIN\ls.exe
> Warning: C:\bin\ls.exe hides C:\CYGNUS\CYGWIN~1\H-I586~1\BIN\ls.exe
> Found: C:\CYGNUS\CYGWIN~1\H-I586~1\BIN\make.exe
> Found: C:\bin\sh.exe
> Found: C:\CYGNUS\CYGWIN~1\H-I586~1\BIN\sh.exe
> Warning: C:\bin\sh.exe hides C:\CYGNUS\CYGWIN~1\H-I586~1\BIN\sh.exe
> 
>   546k 1999/12/27 .\cygwin1-19991225.dll - os=4.0 img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=1999/12/26 0:21
>     0k 1999/12/27 .\cygwin1-19991223.dll - os=60404.576 img=60372.576
> sys=16177.24837
>   546k 1999/12/27 .\cygwin1-19991225.dll - os=4.0 img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=1999/12/26 0:21
>     0k 1999/12/27 .\cygwin1-19991223.dll - os=60404.576 img=60372.576
> sys=16177.24837
>   371k 1998/12/01 C:\CYGNUS\CYGWIN~1\H-I586~1\BIN\cygtcl80.dll - os=4.0
> img=1.0 sys=4.0
>                   "cygtcl80.dll" v0.0 ts=1998/12/1 3:25
>     5k 1998/12/01 C:\CYGNUS\CYGWIN~1\H-I586~1\BIN\cygtclpip80.dll - os=4.0
> img=1.0 sys=4.0
>    10k 1998/12/01 C:\CYGNUS\CYGWIN~1\H-I586~1\BIN\cygtclreg80.dll - os=4.0
> img=1.0 sys=4.0
>                   "cygtclreg80.dll" v0.0 ts=1998/12/1 3:25
>   600k 1998/12/01 C:\CYGNUS\CYGWIN~1\H-I586~1\BIN\cygtk80.dll - os=4.0
> img=1.0 sys=4.0
>                   "cygtk80.dll" v0.0 ts=1998/12/1 3:28
>   446k 1998/12/04 C:\CYGNUS\CYGWIN~1\H-I586~1\BIN\cygwin1.dll - os=4.0
> img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=1998/12/3 23:39
> Use -h to see help about each section
> 

This version of the cygwin1.dll is broken (see my webpages).  You need at least
the Jan 15th snapshot.  I would suggest that you even get the latest snapshot
from the snapshots page (http://sourcware.cygnus.com/cygwin/snapshots/). 
You'll need the cygwin-inst tarball and the most recent
cygwin1-YYYYMMDD.dll.gz.  Be sure to have a fall back procedure as all of the
caveats apply.

Hope this helps,

=====
Earnie Boyd <mailto:[email-masked]>
Cygwin Newbies, please visit
<http://www.freeyellow.com/members5/gw32/index.html>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://messenger.yahoo.com

--
Want to unsubscribe from this list?
Send a message to [email-masked]