Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: Alex Vinokur cc: cygwin AT cygwin DOT com Subject: Re: startup problem // no longer works // profile not called In-Reply-To: Message-ID: References: <1098655354 DOT 9421 DOT ezmlm AT cygwin DOT com> <200410250937 DOT 34058 DOT d_baron AT 012 DOT net DOT il> <417CBF56 DOT E5BD31C0 AT dessent DOT net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/