public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Well, now I've really done it. [Was: Installation problems]
@ 2000-08-03 14:00 David A. Cobb
  2000-08-03 14:03 ` DJ Delorie
  2000-08-05 13:45 ` SOLVED! [Was: Well, now I've really done it.] David A. Cobb
  0 siblings, 2 replies; 7+ messages in thread
From: David A. Cobb @ 2000-08-03 14:00 UTC (permalink / raw)
  To: David A. Cobb, Cygwin List

Thanks, all, for the help yesterday.  It gave me just enough
knowledge (or rope) to shoot both feet off completely!  

I'm quoting Earnie Boyd's reply to my original post. -- Not all in
order.

>> [two minutes later . . .] AHA!
>> Something needs to be changed, my "HOME"=/home/superbiskit where I 
>> mount E:\HOME /home.  But my cygcheck output went to
>> E:\HOME\superbiskit\'\home\superbiskit\.
> 
> I noticed that, where did that come from?  Everything else looked good.
>

It came from an incredible mental gap.  I had /quoted/ things in my
Cygwin.bat thus "SET HOME='/home/superbiskit'"  The single quotes
simply passed through to Cygwin which treated them as path nodes.  

--- Quoting (or paraphrasing) DJ:
>  What setup are you using?

Downloaded SETUP.EXE yesterday (G 2000-08-02) from Cygwin.  Internal 
Time Date Stamp = "39877dd0".
Used mirror at sunsite.utk.edu. 

--- From Earnie again, various corrections of the error messages I
reported.  

I went back and did it all again and wrote them down more
carefully.  Could have used a log (some future release). 

1) "error: unable to create symlink" 
  a) C://usr/include/mingw -> mingw32    
     Note- I had indicated a backslant -- it isn't.
  b) C://lib/libc.a        -> libcygwin.a
  c) C://lib/libg.a        -> libcygwin.a [!]
  d) C://lib/libm.a        -> libcygwin.a [!!]
  e) C://bin/awk.exe       -> gawk.exe
  f) C://lib/libstdc++.a   -> libstdc++.a.2.10.0

2) "tar: can't find %1 to link %2 to"
  a) usr/bin/c++.exe          C://bin/g++.exe
  b) usr/bin/gcc.exe          C://bin/i686-pc-cygwin-gcc.exe
  c) usr/bin/logger.exe       C://bin/syslog.exe
  d) usr/bin/ctags.exe        C://bin/etags.exe

Plus many many of both messages in the "vim" install - too many to
write down.

At the end "Can't open (null) for writing: \n No such file or
directory"

OK, here's the latest.

I thought (first error) that having my mounts textmode could be a
problem, so I changed them all to "mount -b -s -f"
Then I deleted _everything_ remotely related to the cygwin
installation except the "Mounts_V2" registry entries.  

I reran SETUP again - usually from <sunsite.utk.edu>, twice
<ygdrassl?>, once <freesoftware>.  That's many times.  When all has
been said and done, THERE IS NOTHING AT ALL IN /bin (or in /usr/bin,
or in any directory except /lib -- and that may be a leftover. 
Evidently, setup thinks all the current versions are still there! 
It didn't look to check. 

Now here is a real kicker -- nearly all of the same error messages
came up at the same points.  I think the complaints about the
/lib/libc.a did not.  SETUP cannot find the same things when it
shouldn't be able to find anything at all anywhere!

Just in case it could have been misplaced, I did a Windows FIND on
*ash.exe" which should have two or more hits.  It had none.  

This is like two squares before square one.  Obviously I need help.



>Cheers,
>
>=====
>---
>   Earnie Boyd: < mailto:earnie_boyd@yahoo.com >

Not much cheer today!

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Well, now I've really done it. [Was: Installation problems]
  2000-08-03 14:00 Well, now I've really done it. [Was: Installation problems] David A. Cobb
@ 2000-08-03 14:03 ` DJ Delorie
  2000-08-04 14:31   ` David A. Cobb
  2000-08-05 13:45 ` SOLVED! [Was: Well, now I've really done it.] David A. Cobb
  1 sibling, 1 reply; 7+ messages in thread
From: DJ Delorie @ 2000-08-03 14:03 UTC (permalink / raw)
  To: superbiskit; +Cc: cygwin

To force a re-install, you have to delete /etc/setup/installed.db

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Well, now I've really done it. [Was: Installation problems]
  2000-08-03 14:03 ` DJ Delorie
@ 2000-08-04 14:31   ` David A. Cobb
  2000-08-04 14:34     ` DJ Delorie
  0 siblings, 1 reply; 7+ messages in thread
From: David A. Cobb @ 2000-08-04 14:31 UTC (permalink / raw)
  To: DJ Delorie; +Cc: cygwin

DJ Delorie wrote:
> 
> To force a re-install, you have to delete /etc/setup/installed.db
> 
> --

Yup, did that.  In fact, I deleted the whole /etc/setup tree, saving
only the things like /etc/passwd that I didn't want to recreate.

QUESTION: What should the "flags" value be in the Windows Registry
for the binary system mount points.  I have "0x0000000A (10)" based
on copying one that appeared correct.

Today, once again, the result was installing everything into the
black hole.  My /bin is empty, my /usr/% is empty.  My /head, I'm
not too sure about. 
Have a good weekend!
-- 
David A. Cobb, Software Engineer, Public Access Advocate
"Don't buy or use crappy software"
"By the grace of God I am a Christian man, 
 by my actions a great sinner" -- The Way of a Pilgrim [R.M.French,
tr.]

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Well, now I've really done it. [Was: Installation problems]
  2000-08-04 14:31   ` David A. Cobb
@ 2000-08-04 14:34     ` DJ Delorie
  2000-08-04 14:47       ` David A. Cobb
  0 siblings, 1 reply; 7+ messages in thread
From: DJ Delorie @ 2000-08-04 14:34 UTC (permalink / raw)
  To: superbiskit; +Cc: cygwin

> Yup, did that.  In fact, I deleted the whole /etc/setup tree, saving
> only the things like /etc/passwd that I didn't want to recreate.

You only need to delete /etc/setup/installed.db

> QUESTION: What should the "flags" value be in the Windows Registry
> for the binary system mount points.  I have "0x0000000A (10)" based
> on copying one that appeared correct.

Um, sounds right, but I never use them directly.  Use [u]mount to
add/remove/view mounts. Look in <sys/mount.h> for details.

> Today, once again, the result was installing everything into the
> black hole.  My /bin is empty, my /usr/% is empty.  My /head, I'm
> not too sure about. 

Are you installing as administrator, or an unpriviledged user?

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Well, now I've really done it. [Was: Installation problems]
  2000-08-04 14:34     ` DJ Delorie
@ 2000-08-04 14:47       ` David A. Cobb
  2000-08-04 14:49         ` Chris Faylor
  0 siblings, 1 reply; 7+ messages in thread
From: David A. Cobb @ 2000-08-04 14:47 UTC (permalink / raw)
  To: cygwin

DJ Delorie wrote:
> 
> > Yup, did that.  In fact, I deleted the whole /etc/setup tree, saving
> > only the things like /etc/passwd that I didn't want to recreate.
> 
> You only need to delete /etc/setup/installed.db

Too late now.

> 
> > QUESTION: What should the "flags" value be in the Windows Registry
> > for the binary system mount points.  I have "0x0000000A (10)" based
> > on copying one that appeared correct.
> 
> Um, sounds right, but I never use them directly.  Use [u]mount to
> add/remove/view mounts. Look in <sys/mount.h> for details.
> 

I cannot look /anywhere/, that's the problem.

> > Today, once again, the result was installing everything into the
> > black hole.  My /bin is empty, my /usr/% is empty.  My /head, I'm
> > not too sure about.
> 
> Are you installing as administrator, or an unpriviledged user?

Windows-98, I have my own login [HKCU branch] via Windows Family
Login, but the system doesn't recognize privilege. 

-- 
David A. Cobb, Software Engineer, Public Access Advocate
"Don't buy or use crappy software"
"By the grace of God I am a Christian man, 
 by my actions a great sinner" -- The Way of a Pilgrim [R. M.
French, tr.]

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Well, now I've really done it. [Was: Installation problems]
  2000-08-04 14:47       ` David A. Cobb
@ 2000-08-04 14:49         ` Chris Faylor
  0 siblings, 0 replies; 7+ messages in thread
From: Chris Faylor @ 2000-08-04 14:49 UTC (permalink / raw)
  To: cygwin

On Fri, Aug 04, 2000 at 05:47:56PM -0400, David A. Cobb wrote:
>DJ Delorie wrote:
>> 
>> > Yup, did that.  In fact, I deleted the whole /etc/setup tree, saving
>> > only the things like /etc/passwd that I didn't want to recreate.
>> 
>> You only need to delete /etc/setup/installed.db
>
>Too late now.

You probably should search your entire disk for an "installed.db" file.
If your root mount is screwed up somwhow, then it could be somewhere strange.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* SOLVED! [Was: Well, now I've really done it.]
  2000-08-03 14:00 Well, now I've really done it. [Was: Installation problems] David A. Cobb
  2000-08-03 14:03 ` DJ Delorie
@ 2000-08-05 13:45 ` David A. Cobb
  1 sibling, 0 replies; 7+ messages in thread
From: David A. Cobb @ 2000-08-05 13:45 UTC (permalink / raw)
  To: Cygwin List

[-- Attachment #1: Type: text/plain, Size: 3276 bytes --]

"David A. Cobb" wrote:
> 
> Thanks, all, for the help yesterday.  It gave me just enough
> knowledge (or rope) to shoot both feet off completely!
> 
> --- Quoting (or paraphrasing) DJ:
> >  What setup are you using?
> 
> Downloaded SETUP.EXE yesterday (G 2000-08-02) from Cygwin.  Internal
> Time Date Stamp = "39877dd0".
> Used mirror at sunsite.utk.edu.
> 
> --- From Earnie again, various corrections of the error messages I
> reported.
> 
> I went back and did it all again and wrote them down more
> carefully.  Could have used a log (some future release).
> 
> 1) "error: unable to create symlink"
>   a) C://usr/include/mingw -> mingw32
>      Note- I had indicated a backslant -- it isn't.
>   b) C://lib/libc.a        -> libcygwin.a
>   c) C://lib/libg.a        -> libcygwin.a [!]
>   d) C://lib/libm.a        -> libcygwin.a [!!]
>   e) C://bin/awk.exe       -> gawk.exe
>   f) C://lib/libstdc++.a   -> libstdc++.a.2.10.0
> 
> 2) "tar: can't find %1 to link %2 to"
>   a) usr/bin/c++.exe          C://bin/g++.exe
>   b) usr/bin/gcc.exe          C://bin/i686-pc-cygwin-gcc.exe
>   c) usr/bin/logger.exe       C://bin/syslog.exe
>   d) usr/bin/ctags.exe        C://bin/etags.exe
> 
> Plus many many of both messages in the "vim" install - too many to
> write down.
> 
> At the end "Can't open (null) for writing: \n No such file or
> directory"
> 
> OK, here's the latest.
> 
> I thought (first error) that having my mounts textmode could be a
> problem, so I changed them all to "mount -b -s -f"
> Then I deleted _everything_ remotely related to the cygwin
> installation except the "Mounts_V2" registry entries.
> 
> I reran SETUP again - usually from <sunsite.utk.edu>, twice
> <ygdrassl?>, once <freesoftware>.  That's many times.  When all has
> been said and done, THERE IS NOTHING AT ALL IN /bin (or in /usr/bin,
> or in any directory except /lib -- and that may be a leftover.
> Evidently, setup thinks all the current versions are still there!
> It didn't look to check.
> 
> Now here is a real kicker -- nearly all of the same error messages
> came up at the same points.  I think the complaints about the
> /lib/libc.a did not.  SETUP cannot find the same things when it
> shouldn't be able to find anything at all anywhere!
> 
> Just in case it could have been misplaced, I did a Windows FIND on
> *ash.exe" which should have two or more hits.  It had none.
> 
> This is like two squares before square one.  Obviously I need help.
> 

OK, guys, it's fixed, if not quite the way I might like.

I deleted the whole registry key containing existing cygwin mounts,
and went back to zero.  Then, in SETUP.EXE, I did _NOT_ use my C:\
as root, I used a directory name "C:\@" (mostly because is sorts
low).

Everything downloaded and installed correctly, I can get into bash
and launch a few things that I know how to use.  

OK, DJ, I know I was warned.

Obviously, the "C://bin" display in the previous case was the key.  
The "//" must be a black hole.  
I'll take a look myself, come Monday.

Good weekend again!

-- 
David A. Cobb, Software Engineer, Public Access Advocate
"Don't buy or use crappy software"
"By the grace of God I am a Christian man, 
 by my actions a great sinner" -- The Way of a Pilgrim [R. M.
French, tr.]
S/MIME Cryptographic Signature


[-- Attachment #2: smime.p7s --]
[-- Type: application/octet-stream, Size: 2036 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-08-05 13:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-03 14:00 Well, now I've really done it. [Was: Installation problems] David A. Cobb
2000-08-03 14:03 ` DJ Delorie
2000-08-04 14:31   ` David A. Cobb
2000-08-04 14:34     ` DJ Delorie
2000-08-04 14:47       ` David A. Cobb
2000-08-04 14:49         ` Chris Faylor
2000-08-05 13:45 ` SOLVED! [Was: Well, now I've really done it.] David A. Cobb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).