[texworks] [MacTeX] Call for Help: Mac builds

Charlie Sharpsteen chuck at sharpsteen.net
Tue Feb 15 22:27:37 CET 2011


On Tue, Feb 15, 2011 at 10:26 AM, Bruno Voisin <bvoisin at me.com> wrote:

> Le 15 févr. 2011 à 11:50, Bruno Voisin a écrit :
>
> > I'll now start tracing back and erasing all the components that were
> installed for compiling TeXworks.
>
> 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:
>
>        pkg-config
>        Qt standard and debug libraries
>        fontconfig
>        poppler and poppler-data
>        hunspell
>
> In addition, after removing all these elements you'll need to install the
> xpdf tools from <http://users.phg-online.de/tk/MOSXS/> in case they were
> installed before (for example for running epspdf/epspdftk), since poppler
> has overwritten all previously installed version of these tools.
>
> Bruno
>


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:

    http://www.gnu.org/software/stow/

    # Installation, for software using autotools
    cd some_software_distribution
    ./configure --prefix=/usr/local/Cellar/some_software/some_version
    make install

    stow -d /usr/local/Cellar/some_software -t /usr/local some_version

    #Uninstallation
    stow -D -d /usr/local/Cellar/some_software -t /usr/local some_version
    rm -rf /usr/local/Cellar/some_software/some_version


An excellent solution is to use the link/unlink sub-commands of Homebrew:

    http://mxcl.github.com/homebrew

    # Installation, for software using autotools
    cd some_software_distribution
    ./configure --prefix=/usr/local/Cerllar/some_software/some_version
    make install
    brew link some_software

    # Uninstallation
    brew unlink some_software
    rm -rf /usr/local/Cellar/some_software/some_version


Hope this helps!

-Charlie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texworks/attachments/20110215/e2659e5b/attachment-0001.html>


More information about the texworks mailing list