[OS X TeX] les bins MacteX ne sont pas dans le PATH ?
Herbert Schulz
herbs at wideopenwest.com
Wed Jul 4 08:14:34 EDT 2012
On Jul 4, 2012, at 6:44 AM, Yvon Thoraval wrote:
> 2012/7/4 NMPOST7 <nmpost7 at gmail.com>
>
>> On 04/07/2012 13:21, Yvon Thoraval wrote:
>>> j'ai installé hier MacTeX 2011 et je constate que les binaires (soit le
>>> répertoire '/usr/local/texlive/2011/bin/x86_64-darwin') ne sont pas dans
>> le
>>> PATH, est-ce volontaire ?
>>> ceci di, TeXShop, fonctionnel, trouve bien ses petits...
>>> comme j'ai un iMac Intel, je pense que je dois utiliser ce répertoire :
>>> "/usr/local/texlive/2011/bin/x86_64-darwin".
>>> qu'en pensez-vous ?
>>
>> sorry, I do not know french. but got it translated on google (not always a
>> good
>> solution, but the only I had at the moment)
>> Try solution suggested by Herbert. I hope I understood what you wrote!
>>
>> ---quote
>>
>> Assuming you have MacTeX-2011 installed...
>>
>> Installing a new major OS version (not minor version updates) often messes
>> up
>> paths and the symbolic link /usr/texbin. I suggest going to
>> <http://www.tug.org/mactex/2011/prefpane.html> and downloading and running
>> FixMacTeX2011.pkg. That should fix up those links, etc.
>>
>>
> U understood me very well, right now (after FixMacTeX2011.pkg), i do have :
>
> $ ls -al /usr :
> <snip />
> lrwxr-xr-x 1 root wheel 63 4 jul 13:32 texbin ->
> /Library/TeX/Distributions/.DefaultTeX/Contents/Programs/texbin
>
> and :
> $ ls -al /Library/TeX/Distributions/.DefaultTeX/Contents/Programs/texbin
> lrwxr-xr-x 1 root admin 4 4 jul 13:32
> /Library/TeX/Distributions/.DefaultTeX/Contents/Programs/texbin -> i386
>
> and :
> $ ls -al /Library/TeX/Distributions/.DefaultTeX/Contents/Programs/
> total 32
> drwxr-xr-x 6 root admin 204 4 jul 13:32 .
> drwxr-xr-x 12 root admin 408 4 jul 00:29 ..
> lrwxr-xr-x 1 root admin 61 4 jul 00:29 i386 ->
> ../../../../../../../usr/local/texlive/2010/bin/x86_64-darwin
> lrwxr-xr-x 1 root admin 64 4 jul 00:29 powerpc ->
> ../../../../../../../usr/local/texlive/2010/bin/universal-darwin
> lrwxr-xr-x 1 root admin 64 4 jul 00:29 ppc ->
> ../../../../../../../usr/local/texlive/2010/bin/universal-darwin
> lrwxr-xr-x 1 root admin 4 4 jul 13:32 texbin -> i386
>
> then, the "DefaultTex" is the one i suggested :
> /usr/local/texlive/2010/bin/x86_64-darwin
>
> BUT, it remains :
> $ which dvips
> dvips not found
>
> Then, /usr/texbin isn't in the PATH.
> may be this has to be bone by user ?
>
> Or noone uses CLI anymore ?
Howdy,
First, please restart Terminal after running FixMacTeX2011, or, at least, open a new session. Then check your PATH to make sure /usr/texbin is on the PATH. (The CLI hasn't been abandoned! :-))
From what you are saying above you are using TeX Live 2010 rather than TeX Live 2011 I'm not sure FixMacTeX2011 will really help. Wait... you say you installed MacTeX-2011 which installs TeX Live 2011! Assuming you are using OS X 10.5 or later (TeX Live 2011 will not run under 10.4 or earlier) and you really did install MacTeX-2011.
Did you install MacTeX from the DVD? If so you may have a bad version of the TeX Distribution Preference Pane in System Preferences. It should be `v. 2.0 (Build 150)' in the lower left corner of the Preference Pane. FixMacTeX2011 should fix that.
I've also seen a situation where permissions were set improperly on /usr (the x bit must be set for all or the system won't look inside). Could you please check that too.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
More information about the MacOSX-TeX
mailing list