Re: startup problem // no longer works // profile not called

2004-10-29 Thread Igor Pechtchanski
On Fri, 29 Oct 2004, Alex Vinokur wrote:

> "Igor Pechtchanski" wrote:
> > On Thu, 28 Oct 2004, Alex Vinokur wrote:
> [snip]
> > > It seems that I got rid of problem "bash: kpsexpand: command not found".
> >
> > Great.  So it was simply a missing dependency problem.
>
> I don't understand how the problem has been resolved.

Some script inserted by lilypond into the login script path (presumably
/etc/profile.d/lilypond-profile.sh) contained an invocation of kpsexpand.
Since kpsexpand is part of the tetex-bin package, installing tetex-bin got
rid of the "not found" message.

> > > However,
> > > $ find /etc/postinstall -name \*.done | sed 's/\.done$//' | xargs cygcheck -f | 
> > > uniq > postinstall.txt  // Attached
> > > postinstall.txt  contains a lot of files. Is it correct?
> >
> > Sure it is.  The above command simply lists all the packages installed on
> > your machine that have postinstall scripts -- nothing wrong with having
> > them.  The reason I asked you to get this information initially was that
> > because of your screwed up mounts the postinstall scripts may not have run
> > properly, and reinstalling the packages was one way of getting them to
> > re-run, so this showed which packages to reinstall.
> [snip]
>
> What do the postinstall scripts do?

They do post-installation fix-up of package files (generate configuration,
conditionally add symlinks, do installation-specific stuff).

> Who (and when) invokes them?

setup.exe, after installing all the packages.

There are also preremove scripts that are run before the corresponding
packages are removed.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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/



Re: startup problem // no longer works // profile not called

2004-10-29 Thread Alex Vinokur

"Igor Pechtchanski" wrote in message news:[EMAIL PROTECTED]
> On Thu, 28 Oct 2004, Alex Vinokur wrote:
[snip]
> > It seems that I got rid of problem "bash: kpsexpand: command not found".
>
> Great.  So it was simply a missing dependency problem.

I don't understand how the problem has been resolved.

>
> > However,
> > $ find /etc/postinstall -name \*.done | sed 's/\.done$//' | xargs cygcheck -f | 
> > uniq > postinstall.txt  // Attached
> > postinstall.txt  contains a lot of files. Is it correct?
>
> Sure it is.  The above command simply lists all the packages installed on
> your machine that have postinstall scripts -- nothing wrong with having
> them.  The reason I asked you to get this information initially was that
> because of your screwed up mounts the postinstall scripts may not have run
> properly, and reinstalling the packages was one way of getting them to
> re-run, so this showed which packages to reinstall.
[snip]

What do the postinstall scripts do?
Who (and when) invokes them?


-- 
 Alex Vinokur
 email: alex DOT vinokur AT gmail DOT com
 http://mathforum.org/library/view/10978.html
 http://sourceforge.net/users/alexvn







--
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/



Re: startup problem // no longer works // profile not called

2004-10-28 Thread Igor Pechtchanski
On Thu, 28 Oct 2004, Alex Vinokur wrote:

> "Igor Pechtchanski" wrote:
> > On Tue, 26 Oct 2004, Alex Vinokur wrote:
> >
> > > "Igor Pechtchanski" wrote:
> > >
> > > > I have a feeling your postinstall scripts didn't run properly because
> > > > of the screwed-up mounts. In fact, run
> > > >
> > > > find /etc/postinstall -name \*.done | sed 's/\.done$//' | xargs cygcheck -f | 
> > > > uniq
> > >
> > > $ find /etc/postinstall -name \*.done | sed 's/\.done$//' | xargs cygcheck -f | 
> > > uniq > zzz3.txt
> > > // zzz3.txt is attached
> > >
> > > > Those are the packages that will likely benefit from a reinstall
> > > > in your case.
> >
> > Ah, that explains your problem.  You have Lilypond installed, which
> > requires teTeX, but you don't have teTeX installed.  It's usually a good
> > idea to let setup.exe select the required packages -- if you unselect
> > them, you should know *exactly* what you're doing.
> >
> > Please select "Reinstall" for all of the packages in your zzz3.txt file.
> > If setup selects other packages for installation, let it.  Then try
> > running cygwin.bat again.
> > Igor
>
> I did that.
>
> It seems that I got rid of problem "bash: kpsexpand: command not found".

Great.  So it was simply a missing dependency problem.

> However,
> $ find /etc/postinstall -name \*.done | sed 's/\.done$//' | xargs cygcheck -f | uniq 
> > postinstall.txt  // Attached
> postinstall.txt  contains a lot of files. Is it correct?

Sure it is.  The above command simply lists all the packages installed on
your machine that have postinstall scripts -- nothing wrong with having
them.  The reason I asked you to get this information initially was that
because of your screwed up mounts the postinstall scripts may not have run
properly, and reinstalling the packages was one way of getting them to
re-run, so this showed which packages to reinstall.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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/



Re: startup problem // no longer works // profile not called

2004-10-28 Thread David Baron
I nuked and restored the Windows disk from partimage saves (attempting to 
correct a problem unrelated to Cygwin). Partimage is a bit too finicky about 
the size of the destination partition, test full size and aborts even if the 
"used data" fill fit! As I was unable to recreate the partition I had for 
Cygwin, I started over. Now it works fine.

Problem MAY have been from:

1. Having "setup" in cygwin directory AND in a cygwin/setup directory. Run 
from the setup directory caused the error since it certainly put improper 
directory references in the program icon entries. (Likely)

2. Having setup once the version cited as "do not use". (unlikely)

3. Having had a separate cygwin partition. (who knows?)


--
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/



Re: startup problem // no longer works // profile not called

2004-10-28 Thread Alex Vinokur

"Igor Pechtchanski" wrote in message news:[EMAIL PROTECTED]
> On Tue, 26 Oct 2004, Alex Vinokur wrote:
>
> > "Igor Pechtchanski" wrote:
> >
> > > I have a feeling your postinstall scripts didn't run properly because
> > > of the screwed-up mounts. In fact, run
> > >
> > > find /etc/postinstall -name \*.done | sed 's/\.done$//' | xargs cygcheck -f | 
> > > uniq
> >
> > $ find /etc/postinstall -name \*.done | sed 's/\.done$//' | xargs cygcheck -f | 
> > uniq > zzz3.txt
> > // zzz3.txt is attached
> >
> > > Those are the packages that will likely benefit from a reinstall in your
> > > case.
>
> Ah, that explains your problem.  You have Lilypond installed, which
> requires teTeX, but you don't have teTeX installed.  It's usually a good
> idea to let setup.exe select the required packages -- if you unselect
> them, you should know *exactly* what you're doing.
>
> Please select "Reinstall" for all of the packages in your zzz3.txt file.
> If setup selects other packages for installation, let it.  Then try
> running cygwin.bat again.
> Igor

I did that.

It seems that I got rid of problem "bash: kpsexpand: command not found".

However,
$ find /etc/postinstall -name \*.done | sed 's/\.done$//' | xargs cygcheck -f | uniq > 
postinstall.txt  // Attached
postinstall.txt  contains a lot of files. Is it correct?


-- 
 Alex Vinokur
 email: alex DOT vinokur AT gmail DOT com
 http://mathforum.org/library/view/10978.html
 http://sourceforge.net/users/alexvn







--
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/



Re: startup problem // no longer works // profile not called

2004-10-26 Thread Igor Pechtchanski
On Tue, 26 Oct 2004, Alex Vinokur wrote:

> "Igor Pechtchanski" wrote:
> [snip]
> > Please select "Reinstall" for all of the packages in your zzz3.txt file.
> [snip]
>
> "Select Packages" has the following actions:
> * Keep
> * Retrieve
> * Source
> * Uninstall
>
> I didn't find "Reinstall".

Dave Korn has already answered this one:
.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

--
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/



Re: startup problem // no longer works // profile not called

2004-10-26 Thread Alex Vinokur

"Igor Pechtchanski" wrote in message news:[EMAIL PROTECTED]
[snip]
> Please select "Reinstall" for all of the packages in your zzz3.txt file.
[snip]

"Select Packages" has the following actions:
* Keep
* Retrieve
* Source
* Uninstall

I didn't find "Reinstall".


-- 
 Alex Vinokur
 email: alex DOT vinokur AT gmail DOT com
 http://mathforum.org/library/view/10978.html
 http://sourceforge.net/users/alexvn





--
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/



Re: startup problem // no longer works // profile not called

2004-10-26 Thread Igor Pechtchanski
On Tue, 26 Oct 2004, Alex Vinokur wrote:

> "Igor Pechtchanski" wrote:
>
> > I have a feeling your postinstall scripts didn't run properly because
> > of the screwed-up mounts. In fact, run
> >
> > find /etc/postinstall -name \*.done | sed 's/\.done$//' | xargs cygcheck -f | uniq
>
> $ find /etc/postinstall -name \*.done | sed 's/\.done$//' | xargs cygcheck -f | uniq 
> > zzz3.txt
> // zzz3.txt is attached
>
> > Those are the packages that will likely benefit from a reinstall in your
> > case.

Ah, that explains your problem.  You have Lilypond installed, which
requires teTeX, but you don't have teTeX installed.  It's usually a good
idea to let setup.exe select the required packages -- if you unselect
them, you should know *exactly* what you're doing.

Please select "Reinstall" for all of the packages in your zzz3.txt file.
If setup selects other packages for installation, let it.  Then try
running cygwin.bat again.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

--
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/



Re: startup problem // no longer works // profile not called

2004-10-25 Thread Alex Vinokur

"Igor Pechtchanski" wrote in message news:[EMAIL PROTECTED]
> On Mon, 25 Oct 2004, Alex Vinokur wrote:
>
> > "Igor Pechtchanski" wrote in message news:[EMAIL PROTECTED]
> > > On Mon, 25 Oct 2004, Alex Vinokur wrote:
> > >
> > > > "Igor Pechtchanski" wrote:
> > > > [snip]
> > > > > 'mount' command, you can do something like
> > > > >
> > > > > mount -fst c:/cygwin /
> > > > > mount -fst c:/cygwin/bin /usr/bin
> > > > > mount -fst c:/cygwin/lib /usr/lib
> > > > >
> > > > [snip]
> > > >
> > > > There is some progress.
> > > > Thanks.
> > > >
> > > > After that I have all my aliases.
> > > > But here is what Cygwin concole shows.
> > > > --
> > > > bash: kpsexpand: command not found  // it is not mine
> > > > Hello from Cygwin   // it is mine
> > > > --
> > >
> > > Try 'bash --login -x -c "echo Hi" 2>&1 | grep kpsexpand'.  This should
> > > print out the line that invokes kpsexpand.  You can then use "less"
> > > instead of "grep" to find the relevant login script sequence and figure
> > > out which script contains that line.
> >
> > $ bash --login -x -c "echo Hi" 2>&1 | grep kpsexpand
>
> Hmm, so this message doesn't show up when you do "bash --login" from a
> bash shell?  Interesting...
>
> Try 'bash --login -i -c "echo Hi"'.

bash: kpsexpand: command not found
Hello from Cygwin

$ bash --login -i -c "echo Hi"
Hello from Cygwin
Hi

> If that produces the "missing
> kpsexpand" error, pipe both stdout and stderr of that command through
> "grep kpsexpand" (i.e.,
>
> bash --login -i -c "echo Hi" 2>&1 | grep kpsexpand

$ bash --login -i -c "echo Hi" 2>&1 | grep kpsexpand
// No output

>
> ).  If not, see what's different in the way your "cygwin.bat" invokes
> bash.

Here is my cygwin.bat
-
@echo off

C:
chdir C:\cygwin\bin

bash --login -i
-

>
> > $ bash --login -x -c "echo Hi" 2>&1 | less kpsexpand
> > kpsexpand: No such file or directory
>
> Umm, I meant
>
> bash --login -x -c "echo Hi" 2>&1 | less

bash --login -x -c "echo Hi" 2>&1 | less > zzz2.txt
// zzz2.txt is attached

>
> Sorry if this was unclear.
>
> > > > bash-2.05b$ cygcheck -srv > cygcheck.out// cygcheck.out is attached
> > >
> > > FWIW, this sounds like something one of the tetex packages would do.
> > > Is your tetex misconfigured somehow?
> >
> > I don't know.
> >
> > > Perhaps Jan could chime in.
>
> Reinstall it and see if you still get the error.

I reinstalled it and got the error.
See news://news.gmane.org/[EMAIL PROTECTED]


> I have a feeling your
> postinstall scripts didn't run properly because of the screwed-up mounts.
> In fact, run
>
> find /etc/postinstall -name \*.done | sed 's/\.done$//' | xargs cygcheck -f | uniq
$ find /etc/postinstall -name \*.done | sed 's/\.done$//' | xargs cygcheck -f | uniq > 
zzz3.txt
// zzz3.txt is attached

>
> Those are the packages that will likely benefit from a reinstall in your
> case.
[snip]


-- 
 Alex Vinokur
 email: alex DOT vinokur AT gmail DOT com
 http://mathforum.org/library/view/10978.html
 http://sourceforge.net/users/alexvn



begin 666 zzz2.txt
M*R!0051(/2]U6=D6=D6=D6=D2UR;V]T+W-Y6=D6=D
M6=D6=D6=D&UF+VUI:W1E
M>"]B:6XZ+V-Y9V1R:79E+V,O5TE.3E0O6=D2UR;V]T+W-Y6=D6=D6=D6=D#$Q+6)A7-T96TS,CHO8WEG9')I=F4O8R]724Y.5#HO8WEG9')I
M=F4O8R]724Y.5"]3>7-T96TS,B]78F5M.B]U6=D6=D6=D6=D6=D6=D6=D2UR;V]T+W-Y6=D6=D6=D6=D7!O;F0M<')O9FEL92YS:" G72<-"[EMAIL PROTECTED] O971C+W!R;V9I;&4N
M9"]L:6QY<&]N9"UP7!O;F0O,BXR+C4-"BLK*R!E8VAO("=[+W5S'!O<[EMAIL PROTECTED]&]R9RUX,3$M9&5V96PN&]R9RUX,3$M9&5V96PN<[EMAIL PROTECTED]"BLK('1E&]R9RUX,3$M;6%N+7!A9V5S+G-H#0HK*R!E>'!O<[EMAIL PROTECTED]
M'!O<[EMAIL PROTECTED]
M15]-3T1%/75N:[EMAIL PROTECTED]"[EMAIL PROTECTED]/75N:[EMAIL PROTECTED]"[EMAIL 
PROTECTED];W)T("=04S$]
M7%M<,#,S73 [7'=<,# W#0I<,#,S6S,R;5Q=7'5 7&@@7%M<,#,S6S,S;5QW
M7# S,ULP;5Q=#0HD("<-"[EMAIL PROTECTED],Q/5Q;7# S,UTP.UQW7# P-PT*7# S,ULS
M,FU<75QU0%QH(%Q;7# S,ULS,VU<=UPP,S-;,&U<70T*)" -"[EMAIL PROTECTED]@+VAO
M;64O061M:6YI'!O<[EMAIL PROTECTED],"XP#0HK($1)
M4U!,05D].C N, T**R!E8VAO("=(96QL;R!F6=O;B<-"[EMAIL PROTECTED],@
M)V-D=SUC9" O8WEG9')I=F4O8R]?7U]?<&]L>6=O;B]?=V]R:R<-"[EMAIL PROTECTED]
M87,@)V-D=S [EMAIL PROTECTED]:79E+V,O7U]?7W!O;'EG;VXO7W=O6=O;B]?=V]R
M:S$G#0HK(&%L:6%S("=C9'6=D6=O;B]?=V]R:S0G#0HK(&%L:6%S("=C9'6=D6=O;B\P,#(M,5]S:6UP;&5?<&5R9F\G
M#0HK(&%L:6%S("=C9&9I8CUC9'-F.R!C9"!F:6)O;F%C8VDG#0HK(&%L:6%S
M("=C9&([EMAIL PROTECTED]:79E+V,O7U]?7W!O;'EG;VXO,# R+3%?<&5R9F\O
M7W1A8FQE+U]T86)L95]P;'5S)PT**R!A;&EA6=O;B\P,#(M,E]P;W-T7VUA8VAI;F4O;&%T97-T7W!M
M)PT**R!A;&EA6=O;B\P
M,#(M,E]T=7)I;F6=D
M6=O;B\P,#(M,U]H=69F;6%N
M7VQI;6ET961?;&5N9W1H+W-W+VAU9F9M86Y?;&EM:71E9%]S6=O;B\P,# M.2US=&QP;W)T+U-43'!O6=W:6XG
1#0HK(&5C:&[EMAIL PROTECTED]&D-"DAI#0H`
`
end

begin 666 ZZZ3.TXT
M87!A8VAE+3$N,RXR.2TR#0T*875T;VUA:V4M9&5V96PM,2XY+C$M,0T-"F)A
M6=I<&,M,BXP,RTR#0T*8WEG=VEN+61O8RTQ+C,M-PT-"F0M,2XR+C M,0T-
M"F1O8V)O;VLM>&UL-#(M-"XR+3(-#0ID;V-B;V]K+7AS;"TQ+C8V+C$M,0T-
M"F4R9G-P#,R-S M,RXR+C(P+3$-
M#0IX97)C97,M

Re: startup problem // no longer works // profile not called

2004-10-25 Thread Andrew DeFaria
Alex Vinokur wrote:
"David Baron" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]

All of these posters are complaining about the same thing.
Not at all a bad idea to read the bash man page, the helps, everything.
bash-2.05b$ man bash
Warning: cannot open configuration file /usr/share/misc/man.conf
No manual entry for bash
bash-2.05b$
bash-2.05b$ cygcheck -c bash cygwin
Cygwin Package Information
Package Version Status
bash 2.05b-16 OK
cygwin 1.5.11-1 OK
But the fact is once clicking the Cygwin icon gave one an operating 
shell. It no
longer does.

Do you google? 
http://www.google.com/search?q=bash+man+page&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official
--
E Pluribus Modem

--
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/


Re: startup problem // no longer works // profile not called

2004-10-25 Thread Igor Pechtchanski
On Mon, 25 Oct 2004, Alex Vinokur wrote:

> "Igor Pechtchanski" wrote in message news:[EMAIL PROTECTED]
> > On Mon, 25 Oct 2004, Alex Vinokur wrote:
> >
> > > "Igor Pechtchanski" wrote:
> > > [snip]
> > > > 'mount' command, you can do something like
> > > >
> > > > mount -fst c:/cygwin /
> > > > mount -fst c:/cygwin/bin /usr/bin
> > > > mount -fst c:/cygwin/lib /usr/lib
> > > >
> > > [snip]
> > >
> > > There is some progress.
> > > Thanks.
> > >
> > > After that I have all my aliases.
> > > But here is what Cygwin concole shows.
> > > --
> > > bash: kpsexpand: command not found  // it is not mine
> > > Hello from Cygwin   // it is mine
> > > --
> >
> > Try 'bash --login -x -c "echo Hi" 2>&1 | grep kpsexpand'.  This should
> > print out the line that invokes kpsexpand.  You can then use "less"
> > instead of "grep" to find the relevant login script sequence and figure
> > out which script contains that line.
>
> $ bash --login -x -c "echo Hi" 2>&1 | grep kpsexpand

Hmm, so this message doesn't show up when you do "bash --login" from a
bash shell?  Interesting...

Try 'bash --login -i -c "echo Hi"'.  If that produces the "missing
kpsexpand" error, pipe both stdout and stderr of that command through
"grep kpsexpand" (i.e.,

bash --login -i -c "echo Hi" 2>&1 | grep kpsexpand

).  If not, see what's different in the way your "cygwin.bat" invokes
bash.

> $ bash --login -x -c "echo Hi" 2>&1 | less kpsexpand
> kpsexpand: No such file or directory

Umm, I meant

bash --login -x -c "echo Hi" 2>&1 | less

Sorry if this was unclear.

> > > bash-2.05b$ cygcheck -srv > cygcheck.out// cygcheck.out is attached
> >
> > FWIW, this sounds like something one of the tetex packages would do.
> > Is your tetex misconfigured somehow?
>
> I don't know.
>
> > Perhaps Jan could chime in.

Reinstall it and see if you still get the error.  I have a feeling your
postinstall scripts didn't run properly because of the screwed-up mounts.
In fact, run

find /etc/postinstall -name \*.done | sed 's/\.done$//' | xargs cygcheck -f | uniq

Those are the packages that will likely benefit from a reinstall in your
case.

HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

--
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/



Re: startup problem // no longer works // profile not called

2004-10-25 Thread Reini Urban
Igor Pechtchanski schrieb:
On Mon, 25 Oct 2004, Alex Vinokur wrote:

"Igor Pechtchanski" wrote:
[snip]
'mount' command, you can do something like
mount -fst c:/cygwin /
mount -fst c:/cygwin/bin /usr/bin
mount -fst c:/cygwin/lib /usr/lib
[snip]
There is some progress.
Thanks.
After that I have all my aliases.
But here is what Cygwin concole shows.
--
bash: kpsexpand: command not found  // it is not mine
Hello from Cygwin   // it is mine
--

Try 'bash --login -x -c "echo Hi" 2>&1 | grep kpsexpand'.  This should
print out the line that invokes kpsexpand.  You can then use "less"
instead of "grep" to find the relevant login script sequence and figure
out which script contains that line.
or use my ITP'd bash debugger. (cygwin-apps list)
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
--
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/


RE: startup problem // no longer works // profile not called

2004-10-25 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of Alex Vinokur
> Sent: 25 October 2004 14:50

> "Igor Pechtchanski" wrote in message 
> news:[EMAIL PROTECTED]
> [snip]
> > 'mount' command, you can do something like
> >
> > mount -fst c:/cygwin /
> > mount -fst c:/cygwin/bin /usr/bin
> > mount -fst c:/cygwin/lib /usr/lib
> >
> [snip]
> 
> There is some progress.
> Thanks.
> 
> After that I have all my aliases.
> But here is what Cygwin concole shows.
> --
> bash: kpsexpand: command not found  // it is not mine

  Presumably that non-cygwin installation of texmf that you have in your $PATH is
breaking the cygwin one:

Path:   C:\texmf\miktex\bin
C:\WINNT\system32
C:\WINNT
C:\WINNT\System32\Wbem
C:\cygwin\bin
C:\cygwin\X11R6\bin
C:\DJGPP\bin
C:\my-root\sys\unix-mks\bin
C:\mingw\bin
C:\my-root\sys\sage
C:\my-root\sys\araxis
C:\dm\bin
C:\Borland\Bcc55\Bin
C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\include\
C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\include\
C:\Program Files\Microsoft Visual Studio .NET\Vc7\bin\
C:\lcc\bin
C:/Program Files/Intel/CPP/Compiler80/Ia32/Bin
C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\include\
C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\include\
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\
C:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Lib

  I mean, yow!  You have texmf, cygwin, djgpp, MKS *and* mingw all in your path at
the same time.  That's four clashing posix-on-windoze installations plus one posix
app.  I think you'd better try isolating them from each other a bit more.

  Also, I'd imagine that the reason that your install was fine until you recently
upgraded it, doesn't mean that something in setup suddenly got broken.  I think
that in between the previous upgrade and the most recent one, you installed some
other clashing software on your computer, and it's _that_ which caused the problem
next time setup tried to work.  If the post-install scripts fail and crash owing
to running in a clashing environment, you can expect lots of stuff to go wrong.

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


--
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/



Re: startup problem // no longer works // profile not called

2004-10-25 Thread Alex Vinokur

"Igor Pechtchanski" wrote in message news:[EMAIL PROTECTED]
> On Mon, 25 Oct 2004, Alex Vinokur wrote:
>
> > "Igor Pechtchanski" wrote:
> > [snip]
> > > 'mount' command, you can do something like
> > >
> > > mount -fst c:/cygwin /
> > > mount -fst c:/cygwin/bin /usr/bin
> > > mount -fst c:/cygwin/lib /usr/lib
> > >
> > [snip]
> >
> > There is some progress.
> > Thanks.
> >
> > After that I have all my aliases.
> > But here is what Cygwin concole shows.
> > --
> > bash: kpsexpand: command not found  // it is not mine
> > Hello from Cygwin   // it is mine
> > --
>
> Try 'bash --login -x -c "echo Hi" 2>&1 | grep kpsexpand'.  This should
> print out the line that invokes kpsexpand.  You can then use "less"
> instead of "grep" to find the relevant login script sequence and figure
> out which script contains that line.

$ bash --login -x -c "echo Hi" 2>&1 | grep kpsexpand

$ bash --login -x -c "echo Hi" 2>&1 | less kpsexpand
kpsexpand: No such file or directory

>
> > bash-2.05b$ cygcheck -srv > cygcheck.out// cygcheck.out is attached
>
> FWIW, this sounds like something one of the tetex packages would do.  Is
> your tetex misconfigured somehow?

I don't know.

> Perhaps Jan could chime in.

[snip]


-- 
 Alex Vinokur
 email: alex DOT vinokur AT gmail DOT com
 http://mathforum.org/library/view/10978.html
 http://sourceforge.net/users/alexvn





--
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/



Re: startup problem // no longer works // profile not called

2004-10-25 Thread Igor Pechtchanski
On Mon, 25 Oct 2004, Alex Vinokur wrote:

> "Igor Pechtchanski" wrote:
> [snip]
> > 'mount' command, you can do something like
> >
> > mount -fst c:/cygwin /
> > mount -fst c:/cygwin/bin /usr/bin
> > mount -fst c:/cygwin/lib /usr/lib
> >
> [snip]
>
> There is some progress.
> Thanks.
>
> After that I have all my aliases.
> But here is what Cygwin concole shows.
> --
> bash: kpsexpand: command not found  // it is not mine
> Hello from Cygwin   // it is mine
> --

Try 'bash --login -x -c "echo Hi" 2>&1 | grep kpsexpand'.  This should
print out the line that invokes kpsexpand.  You can then use "less"
instead of "grep" to find the relevant login script sequence and figure
out which script contains that line.

> bash-2.05b$ cygcheck -srv > cygcheck.out// cygcheck.out is attached

FWIW, this sounds like something one of the tetex packages would do.  Is
your tetex misconfigured somehow?  Perhaps Jan could chime in.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

--
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/



Re: startup problem // no longer works // profile not called

2004-10-25 Thread Igor Pechtchanski
On Mon, 25 Oct 2004, Alex Vinokur wrote:

> "Brian Dessent" dessentnet> wrote:

.  Thanks.

> > Alex Vinokur wrote:
> >
> > > bash-2.05b$ man bash
> > > Warning: cannot open configuration file /usr/share/misc/man.conf
> > > No manual entry for bash
> > > bash-2.05b$
> >
> > Like I said, nothing is going to work until you fix your mounts.  I
> > don't know what has changed on your system but your root "/" dir is
> > mounted as "C:\cygwin\_download\001" which seems wrong unless your
> > entire cygwin subtree is under that dir and not "c:\cygwin" which makes
> > a lot more sense.
>
> How can I fix that?

See .  Using the
'mount' command, you can do something like

mount -fst c:/cygwin /
mount -fst c:/cygwin/bin /usr/bin
mount -fst c:/cygwin/lib /usr/lib

> > Replying that "it used to work" is not going to fix anything.
> >
> > Brian
>
> Thanks.

It's marginally possible that your mounts aren't wrong (although the stale
fonts mount seems to suggest that they are).  Save the mounts first, by
running

mount -m > c:/saved-mounts.bat

Then try changing them to point to c:\cygwin as root, and if that doesn't
work, post snippets of the contents of the
c:\cygwin\_download\001\{,bin,lib} directories.  If you really did have
Cygwin installed there, you should be able to run saved-mounts.bat from
c:/cygwin/_download/001/bin to restore your current mounts.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

--
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/



Re: startup problem // no longer works // profile not called

2004-10-25 Thread Alex Vinokur

"Brian Dessent" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Alex Vinokur wrote:
>
> > bash-2.05b$ man bash
> > Warning: cannot open configuration file /usr/share/misc/man.conf
> > No manual entry for bash
> > bash-2.05b$
>
> Like I said, nothing is going to work until you fix your mounts.  I
> don't know what has changed on your system but your root "/" dir is
> mounted as "C:\cygwin\_download\001" which seems wrong unless your
> entire cygwin subtree is under that dir and not "c:\cygwin" which makes
> a lot more sense.

How can I fix that?

> Replying that "it used to work" is not going to fix anything.
>
> Brian
>

Thanks.

-- 
 Alex Vinokur
 email: alex DOT vinokur AT gmail DOT com
 http://mathforum.org/library/view/10978.html
 http://sourceforge.net/users/alexvn





--
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/



Re: startup problem // no longer works // profile not called

2004-10-25 Thread Brian Dessent
Alex Vinokur wrote:

> bash-2.05b$ man bash
> Warning: cannot open configuration file /usr/share/misc/man.conf
> No manual entry for bash
> bash-2.05b$

Like I said, nothing is going to work until you fix your mounts.  I
don't know what has changed on your system but your root "/" dir is
mounted as "C:\cygwin\_download\001" which seems wrong unless your
entire cygwin subtree is under that dir and not "c:\cygwin" which makes
a lot more sense.  Replying that "it used to work" is not going to fix
anything.

Brian

--
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/



Re: startup problem // no longer works // profile not called

2004-10-25 Thread Alex Vinokur

"David Baron" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> All of these posters are complaining about the same thing.
>
> Not at all a bad idea to read the bash man page, the helps, everything.

bash-2.05b$ man bash
Warning: cannot open configuration file /usr/share/misc/man.conf
No manual entry for bash
bash-2.05b$

bash-2.05b$ cygcheck -c bash cygwin
Cygwin Package Information
Package  VersionStatus
bash 2.05b-16   OK
cygwin   1.5.11-1   OK

> But the fact is once clicking the Cygwin icon gave one an operating shell. It no
> longer does.
>


-- 
 Alex Vinokur
 email: alex DOT vinokur AT gmail DOT com
 http://mathforum.org/library/view/10978.html
 http://sourceforge.net/users/alexvn





--
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/



Re: startup problem // no longer works // profile not called

2004-10-25 Thread David Baron
All of these posters are complaining about the same thing.

Not at all a bad idea to read the bash man page, the helps, everything. But 
the fact is once clicking the Cygwin icon gave one an operating shell. It no 
longer does.

--
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/