This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: tetex problems: postinstall hangs, format not installed, root can run latex


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]