X-Recipient: archive-cygwin AT delorie DOT com 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 Message-ID: <4F998057.8080200@cornell.edu> Date: Thu, 26 Apr 2012 13:05:27 -0400 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 AT cygwin DOT 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 AT cornell DOT edu - Thu Apr 26 13:05:40 2012 X-PMX-CORNELL-REASON: CU_White_List_Override X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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