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: re-installing cygwin...


Hannu E K Nevalainen wrote:
> A "heads up":
> (Re)installing seems to be somewhat problematic currently.
>
> I have had cygwin installed at "C:\Program\Cygwin\" since I first
> installed it. Now I came to the point where I wished to move it to
> E:\Cygwin\ - just for convinience. (C: will be populated with other
> things)
>
> So, I gladly assumed that the local package dir would be useful
> here... "let's reinstall from there". BUT; That was a NO GO path as
> it seems right now. I've spent a couple of hours fiddling with
> different ways of installing cygwin from there.
>  The last thing I tried a few minutes ago was to RE-download the
> base files
> and install them... well, I had to restart setup once to accomplish
> this. It seems as I have succeeded with a base install now though.
>
> I'll be checking this further as time permits. This might not
> happen before
> next weekend though...
>
> I kept a shorthand note-log of what happened and what I did...
> attached it, just as setup.log.full (.bz2 as it was >100K)

The above turned out to be "human error";

 Pointing setup.exe to the ACTUAL "Local package dir" proved to be a more
worthwhile thig to do.
(Above I used G:\ - The packages are in G:\downloads\)


Though... BASIC Restart from scratch again; remove all files AND registry
keys, setup 2.431, running as Administrator, Unix file endings, all users,
"Default"-install:

---------------------------
uname.exe - Unable To Locate DLL
---------------------------
The dynamic link library cygintl-2.dll could not be found in the specified
path
E:\cygwin\bin;.;F:\WINNT\system32;F:\WINNT\system;F:\WINNT;E:\cygwin\bin;E:\
cygwin\bin;E:\cygwin\bin;E:\cygwin\bin;f:\WINNT\system32;f:\WINNT;f:\WINNT\S
ystem32\Wbem;f:\PROGRA~1\_Diverse;c:\dos.
---------------------------
OK
---------------------------

When running /etc/postinstall/base-files-mketc.sh (typos?)

---------------------------
echo.exe - Unable To Locate DLL
---------------------------
The dynamic link library cygintl-2.dll could not be found in the specified
path
E:\cygwin\bin;.;F:\WINNT\system32;F:\WINNT\system;F:\WINNT;E:\cygwin\bin;E:\
cygwin\bin;E:\cygwin\bin;E:\cygwin\bin;f:\WINNT\system32;f:\WINNT;f:\WINNT\S
ystem32\Wbem;f:\PROGRA~1\_Diverse;c:\dos.
---------------------------
OK
---------------------------
---------------------------
touch.exe - Unable To Locate DLL
---------------------------
The dynamic link library cygintl-2.dll could not be found in the specified
path
E:\cygwin\bin;.;F:\WINNT\system32;F:\WINNT\system;F:\WINNT;E:\cygwin\bin;E:\
cygwin\bin;E:\cygwin\bin;E:\cygwin\bin;f:\WINNT\system32;f:\WINNT;f:\WINNT\S
ystem32\Wbem;f:\PROGRA~1\_Diverse;c:\dos.
---------------------------
OK
---------------------------
for running /etc/postinstall/base-files-profile.sh (repeats for "touch",
"cp", "echo" and so on)

"Basic restart" again (YES; I know how to fix it inplace, but I'm more
interested in HOW WELL this works OOTB).
-> All went as it should...


>From all the above; I draw these conclusions:
 a) Setup isn't forgiving when there is "human error" wrt to entered
choices.
 b) There is some kind of "race condition" in the initial "Default" install.
One or more of the chosen packages needs to be FULLY installed before the
remainder of them. As is, it is a hard to catch thing of at least one
reason; it doesn't show up on every install attempt.

Yet one more "Basic restart":
---------------------------
Cygwin Setup: SETUP.EXE - Application Error
---------------------------
The instruction at "0x0047d577" referenced memory at "0x00000000". The
memory could not be "written".
Click on OK to terminate the program
Click on CANCEL to debug the program
---------------------------
OK   Cancel
---------------------------

Can one draw one more conlusion here? -> There is an occassional
NULL/Uninitialized pointer -dereference somewhere.
This MIGHT be caused by a single [Next>] [<Back] skip in the setup screens.
(I THINK I did something like this; Install dir, Next>, <Back, Change dir,
Next>... for the above run. Retried that; Doesn't reproduce :-7 )

Basic restart again: -> All well.


NOW: Unless someone has something specific to try out, I'll go on and do
what I intended in the first place; Move Cygwin. This will probably happen
in a day or two, might end up as a weekend 'job' though. BUT: I'll be doing
10 hour days (plus 3 hour job commuting) a while so don't expect much.


Suggestion: Have the file and addition below be included in "/etc/skel/".
".Xdefaults" IMO forms a nice default for an rxvt setup. Feel free to
modify!

As always from my POV; discussion welcome.

/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems            --72-->

** mailing list preference; please keep replies on list **
-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --


-- .inputrc ADDITIONS --
#insert-key
"\M-[2~": paste-from-clipboard # Insert

# Eight-bit transparency please,
# we're *way* beyond anything else
set convert-meta off
set input-meta on
set output-meta on



-- .Xdefaults --
#
# To be put in /etc/skel/ and /etc/defaults/etc/skel
#

rxvt.background:        black
rxvt.foreground:        grey
rxvt.visualBell:        true

# rxvt.cutchars: "/`"'&()*,;<=>?@[]{|}"
rxvt.meta8:		true
rxvt.backspacekey: ^H

# Don't juggle display when 'doing' output
rxvt.scrollTtyOutput:	false
rxvt.scrollWithBuffer: false
rxvt.scrollTtyKeypress: true

# Local preferences
rxvt.saveLines:	6000
rxvt.scrollBar_right:	true

# Windows-match: Brick
rxvt.scrollColor:	#c5c0a5


# Allow four columns of ls output
# ...nicely positioned on 1024x768 pixels
#rxvt.geometry:		112x56+20+20

# Easy to read, nice looking
rxvt.font: Lucida Console-12
--END OF MESSAGE--


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


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