Problem with Macports, homebrew, and ghostscript

Sterling Smith smithsp at fusion.gat.com
Fri Feb 14 00:11:19 PST 2014


On Feb 13, 2014, at 8:07PM, asllearner wrote:

> Sterling Smith wrote
>>> According to 
>>> 
>>> https://trac.macports.org/wiki/FAQ#usrlocal
>>> 
>>> you could try to rename /usr/local.  MacPorts doesn't install anything to
>>> /usr/local.  If there is anything that stops working, then try to install
>>> it from MacPorts instead.  For instance:
>>> 
>>>> port search lyx
>>> <...>
>>> Found 2 ports.
>>>> port search latex
>>> <...>
>>> Found 34 ports.
>>> 
>>> Also note that texlive is broken into smaller pieces
>>> http://trac.macports.org/wiki/TeXLivePackages
>>> 
>>> Hope that helps,
>>> Sterling
>>> 
>>> 
> 
> I am sorry, I don't understand.
> 
> Try to move usr/local to what end? Before, after, or instead of removing
> brew. 
> 
> The link talks about temporarily renaming usr/local while installing ports,
> i.e. if installation of a port runs into conflicts with usr/local. That is
> not quite my problem...  
> 

From what I understood of your problem, you had programs that were undesirably being run or linked from /usr/local .  By renaming it, you can most likely remove that problem.  If brew has uninstallation procedures, then I would use them first, in case brew puts things in other places besides /usr/local.  Then after uninstalling brew, rename the folder.  As you continue to work, you may notice that certain programs/libraries are not available anymore; when you run across them, see if they are in macports, and install them from there.  If they are not in macports, then you can file a ticket to create a new port.

-Sterling


More information about the macports-users mailing list