I follow the directions here:
$sudo texhash
warning: kpathsea: configuration file texmf.cnf not found in these directories: /opt/local/etc/texmf.
texhash: Done.
But I can fix this by doing
$sudo /usr/texbin/texhash/
texhash: Updating /usr/local/texlive/2012/../texmf-local/ls-R...
texhash: Updating /usr/local/texlive/2012/texmf/ls-R...
texhash: Updating /usr/local/texlive/2012/texmf-config/ls-R...
texhash: Updating /usr/local/texlive/2012/texmf-dist/ls-R...
texhash: Updating /usr/local/texlive/2012/texmf-var/ls-R...
texhash: Done.
Then I do updmap-sys --enable Map=mtpro2.map:
$sudo updmap-sys --enable Map=mtpro2.map
warning: kpathsea: configuration file texmf.cnf not found in these directories: /opt/local/etc/texmf.
warning: kpathsea: configuration file texmf.cnf not found in these directories: /opt/local/etc/texmf.
warning: kpathsea: configuration file texmf.cnf not found in these directories: /opt/local/etc/texmf.
updmap: Cannot find TEXMFROOT, aborting!
I know for sure that texmf.cnf is not in the specified directory since that is from an old installation (not MacTeX). The correct location is /usr/local/texlive/2012/texmf.cnf but I have no idea how to get these commands to recognize this.
And fyi, which kpathsea returns nothing.
/usr/local. I thought perhaps it had changed to/optbut https://www.tug.org/mactex//What_Is_Installed.pdf suggests that it still installs into/usr/local. Did you customise your installation directory? Install TeX through some other means? Or? – cfr Feb 06 '14 at 04:16kpsewhich --var-value TEXMFLOCALI get/opt/local/share/texmf-local– justin.dong Feb 06 '14 at 04:22macportsone, making sure you have the latest MacTeX and then trying again. I am not sure howmacportsworks at this point so I'm not sure what to suggest aboutKilebut MacTeX is likely to be more straightforward and better maintained than themacportsversion. (Just because it is specialist and direct from the source, as it were.) – cfr Feb 06 '14 at 04:26Kilemuch recently so I went and uninstalled the texlive viamacportsor at least I think I did. But the problem now is that after re-installing MacTeX, if I dosudo texhashI get warning:kpathsea: configuration file texmf.cnf not found in these directories: /opt/local/etc/texmf. I actually can't find that file anywhere in my system. But TeXShop is working without issues as far as I can tell – justin.dong Feb 06 '14 at 04:49texmf.cnffile fine but I don't know how to telltexhashto look for it in a different location... – justin.dong Feb 06 '14 at 05:02which kpathseagive? If it is in/opt, you didn't get everything when you uninstalled. – cfr Feb 06 '14 at 05:03which kpathseais blank – justin.dong Feb 06 '14 at 05:04sudo /usr/texbin/texhashthentexhashworks now. But if I try to enable the map I still get errors. See original post for edit – justin.dong Feb 06 '14 at 06:14PATHis wrong? What doesecho $PATHgive? Or, even,sudo echo $PATH? Is/usr/texbinincluded? Can you runsudo /usr/texbin/updmap-sys...successfully? – cfr Feb 06 '14 at 12:37