From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29609 invoked by alias); 26 Apr 2012 17:05:59 -0000 Received: (qmail 29595 invoked by uid 22791); 26 Apr 2012 17:05:56 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,SPF_NEUTRAL,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from soapstone1.mail.cornell.edu (HELO soapstone1.mail.cornell.edu) (128.253.83.143) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 26 Apr 2012 17:05:43 +0000 Received: from authusersmtp.mail.cornell.edu (granite2.mail.cornell.edu [128.253.83.142]) by soapstone1.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id q3QH5jNq009687 for ; Thu, 26 Apr 2012 13:05:45 -0400 (EDT) Received: from [192.168.1.3] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id q3QH5dqo008071 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 26 Apr 2012 13:05:40 -0400 (EDT) Message-ID: <4F998057.8080200@cornell.edu> Date: Thu, 26 Apr 2012 17:05:00 -0000 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: /bin in path before /usr/bin breaks latex References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-CORNELL-SPAM-CHECKED: Pawpaw X-Original-Sender: kbrown@cornell.edu - Thu Apr 26 13:05:40 2012 X-PMX-CORNELL-REASON: CU_White_List_Override X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-04/txt/msg00603.txt.bz2 On 4/26/2012 11:05 AM, Mark Frazer wrote: > Updating cygwin yesterday broke several of my scripts. Turns out this > was because they have /bin before /usr/bin in their PATH exported to > child processes which broke latex. > > To reproduce: > env PATH=/bin:"$PATH" latex manual.tex > > Seems that the latex related symlinks in /bin do not function. > Putting /usr/bin in the path first fixes this. This has nothing to do with symlinks. You have the same problem if you try to run /bin/pdftex directly. Furthermore, the files in /bin are the same as those in /usr/bin (see /etc/fstab), so you can't remove files or symlinks in /bin without also removing them from /usr/bin. The problem here is that the tex-related binaries don't find the configuration file /usr/share/texmf/web2c/texmf.cnf when invoked as /bin/* rather than /usr/bin/*. I'll fix this and release an updated texlive package shortly. Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple