<div dir="ltr">Hi Mojca,<div><br></div><div>How do you hide a prefix when installing?</div><div><br></div><div>David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 29, 2017 at 2:39 PM, Mojca Miklavec <span dir="ltr"><<a href="mailto:mojca.miklavec.lists@gmail.com" target="_blank">mojca.miklavec.lists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 29 August 2017 at 23:24, Ryan Schmidt wrote:<br>
> On Aug 29, 2017, at 07:08, db wrote:<br>
><br>
>> best practice for running macports along with homebrew<br>
><br>
> The best practice is not to do that. We don't support it. It can cause you problems that we don't want to spend time investigating, because they wouldn't be problems if you hadn't also used a second package manager.<br>
<br>
</span>... but if you really really want to have Homebrow installed alongside<br>
MacPorts, then the most important piece of advice is NOT to install<br>
Homebrew to its default location. Put it under some obscure prefix and<br>
ideally hide the path to Homebrew while installing new ports with<br>
MacPorts.<br>
<br>
Having Hombrew under /usr/local and then using MacPorts (esp. without<br>
the trace mode) is the best recipe for running into numerous problems<br>
that are nearly impossible to fix. I would say that it's generally a<br>
relatively bad idea to have Homebrew inside /usr/local, but of course<br>
that depends on usage patterns.<br>
<br>
Similarly, when you install Homebrew packages, hide the prefix to<br>
MacPorts (even though some badly written configure scripts may still<br>
look for files inside MacPorts prefix, but that's not as frequent).<br>
<br>
As a general rule of thumb having just one manager is a lot<br>
better/easier/safer. With two systems it's easy to run into problems<br>
unless you know very well what you are doing.<br>
<br>
But most important: in case you do end up with two systems, make sure<br>
to quadruple check before submitting any bug reports to make sure that<br>
the error is not due to the packages intermixed with each other. And<br>
make sure to mention the fact that you are using two package managers<br>
in any tickets or emails.<br>
<span class="HOEnZb"><font color="#888888"><br>
Mojca<br>
</font></span></blockquote></div><br></div>