On Tue, Feb 15, 2011 at 10:26 AM, Bruno Voisin <span dir="ltr"><<a href="mailto:bvoisin@me.com">bvoisin@me.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Le 15 févr. 2011 à 11:50, Bruno Voisin a écrit :<br>
<br>
> I'll now start tracing back and erasing all the components that were installed for compiling TeXworks.<br>
<br>
Here are lists of all the elements installed for building TeXworks on the Mac, in case other experimentalists would like to get their setup back to the original state:<br>
<br>
        pkg-config<br>
        Qt standard and debug libraries<br>
        fontconfig<br>
        poppler and poppler-data<br>
        hunspell<br>
<br>
In addition, after removing all these elements you'll need to install the xpdf tools from <<a href="http://users.phg-online.de/tk/MOSXS/" target="_blank">http://users.phg-online.de/tk/MOSXS/</a>> in case they were installed before (for example for running epspdf/epspdftk), since poppler has overwritten all previously installed version of these tools.<br>


<font color="#888888"><br>
Bruno<br></font></blockquote><div><br></div><div><br></div><div>A good solution to this problem is to install the components to isolated subdirectories and symlink them to a common prefix, like `/usr/local`, using GNU Stow:</div>

<div><br></div><div>    <a href="http://www.gnu.org/software/stow/">http://www.gnu.org/software/stow/</a></div><div><br></div><div>    # Installation, for software using autotools</div><div>    cd some_software_distribution</div>

<div>    ./configure --prefix=/usr/local/Cellar/some_software/some_version</div><div>    make install</div><div><br></div><div>    stow -d /usr/local/Cellar/some_software -t /usr/local some_version</div><div><br></div><div>

    #Uninstallation</div><div>    stow -D -d /usr/local/Cellar/some_software -t /usr/local some_version</div><div>    rm -rf /usr/local/Cellar/some_software/some_version</div><div><br></div><div><br></div><div>An excellent solution is to use the link/unlink sub-commands of Homebrew:</div>

</div><br><div>    <a href="http://mxcl.github.com/homebrew">http://mxcl.github.com/homebrew</a></div><div><br></div><div>    # Installation, for software using autotools</div><div>    cd some_software_distribution</div>
<div>
    ./configure --prefix=/usr/local/Cerllar/some_software/some_version</div><div>    make install</div><div>    brew link some_software</div><div><br></div><div>    # Uninstallation</div><div>    brew unlink some_software</div>

<div>    rm -rf /usr/local/Cellar/some_software/some_version</div><div><br></div><div><br></div><div>Hope this helps!</div><div><br></div><div>-Charlie</div>