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 From: "Dave Korn" To: Subject: RE: tetex problems: postinstall hangs, format not installed, root can run latex Date: Thu, 14 Apr 2005 16:38:25 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <20050414150316.14326.qmail@web31703.mail.mud.yahoo.com> Message-ID: X-OriginalArrivalTime: 14 Apr 2005 15:38:50.0677 (UTC) FILETIME=[0E61EE50:01C54108] ----Original Message---- >From: d j >Sent: 14 April 2005 16:03 > When I recently upgraded various cygwin components, > including tetex, several things have gone wrong. I am > baffled as cygwin is running fine on my home machine, > which is very similar (but has local accounts and not > networked accounts). > > After much tweaking (see below), my status is that > only admin can run latex (problem 3). Any help would > be appreciated. > PROBLEM 1: > postinstall of tetex hangs indefinetely: > > PATCH: > line 98 of post-texmf.sh should be > configps=$(/usr/bin/find /usr/share/texmf/dvips -name > config.ps) > I added /usr/bin to make sure windows find wasn't > used. If your path doesn't have the cygwin bin dirs in front of the windoze equivalents, an awful lot more is liable to go wrong than just that. You ought to be able to fix this by fixing your $PATH. Hmm, actually I'm not sure now: do post-install scripts invoke a login shell? Does /etc/profile get run for them? > PROBLEM 2: > even after removing tetex, I ended up with files in > /var/cache/fonts that were non-removable. Even admin > doesn't have rights to ENTER this directory. > PROBLEM 3: > After the above, post-install runs and everything > seems > fine but normal users still cannot run latex, because > latex.fmt is missing and persmission are denied on > /usr/share/texmf/ls-R. Where's the maintainer? I dunno what it is, but the tetex install package does something *utterly* weird and bizarre by way of setting perms and giving away ownership of files, and it makes no sense whatsoever. I stumbled across this once: http://sources.redhat.com/ml/cygwin/2004-03/msg00454.html and what worked for me was chgrp -h Users /usr/share/texmf/web2c/* /usr/share/texmf/ls-R but of course YMMV. 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/