delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/25/13:22:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 25 Oct 2004 13:14:57 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Alex Vinokur <alexvn AT connect DOT to>
cc: cygwin AT cygwin DOT com
Subject: Re: startup problem // no longer works // profile not called
In-Reply-To: <clj961$je1$1@sea.gmane.org>
Message-ID: <Pine.GSO.4.61.0410251307490.16595@slinky.cs.nyu.edu>
References: <1098655354 DOT 9421 DOT ezmlm AT cygwin DOT com> <200410250937 DOT 34058 DOT d_baron AT 012 DOT net DOT il> <clidg8$s21$1 AT sea DOT gmane DOT org> <417CBF56 DOT E5BD31C0 AT dessent DOT net> <clikgs$eq6$1 AT sea DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 61 DOT 0410250916210 DOT 28948 AT slinky DOT cs DOT nyu DOT edu> <clj0b6$lab$1 AT sea DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 61 DOT 0410251147450 DOT 16595 AT slinky DOT cs DOT nyu DOT edu> <clj961$je1$1 AT sea DOT gmane DOT org>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Mon, 25 Oct 2004, Alex Vinokur wrote:

> "Igor Pechtchanski" wrote in message news:Pine DOT GSO DOT 4 DOT 61 DOT 0410251147450 DOT 16595 AT slinky DOT cs DOT nyu DOT 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 AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019