This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: startup problem // no longer works // profile not called
On Mon, 25 Oct 2004, Alex Vinokur wrote:
> "Igor Pechtchanski" wrote in message Pine.GSO.4.61.0410251147450.16595@slinky.cs.nyu.edu">news:Pine.GSO.4.61.0410251147450.16595@slinky.cs.nyu.edu...
> > 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/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,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/