* /bin in path before /usr/bin breaks latex
@ 2012-04-26 15:06 Mark Frazer
2012-04-26 17:05 ` Ken Brown
0 siblings, 1 reply; 2+ messages in thread
From: Mark Frazer @ 2012-04-26 15:06 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 656 bytes --]
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.
Having /bin in the path on my previous 1.7 install worked fine. It
has been several months since I updated my cygwin install though.
Both the current and previous texlive installs available via setup.exe
fail in the same way.
Seems that the links in /bin should be removed.
cygcheck -s -v -r output attached.
[-- Attachment #2: cygcheck.out --]
[-- Type: application/octet-stream, Size: 63832 bytes --]
[-- Attachment #3: Type: text/plain, Size: 218 bytes --]
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: /bin in path before /usr/bin breaks latex
2012-04-26 15:06 /bin in path before /usr/bin breaks latex Mark Frazer
@ 2012-04-26 17:05 ` Ken Brown
0 siblings, 0 replies; 2+ messages in thread
From: Ken Brown @ 2012-04-26 17:05 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-26 17:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-26 15:06 /bin in path before /usr/bin breaks latex Mark Frazer
2012-04-26 17:05 ` Ken Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).