macports und nokogiri

Als Macports Benutzer bin ich regemäßig gefrustet, wenn ich nokogiri updaten möchte und es wegen libxml2 kracht. Diese Lösung hat schließlich funktioniert:

<span class="pln">>sudo port install libiconv libxslt libxml2
>gem install nokogiri </span><span class="pun">--</span> <span class="pun">--</span><span class="pln">use</span><span class="pun">-</span><span class="pln">system</span><span class="pun">-</span><span class="pln">libraries </span><span class="pun">--</span><span class="pln">with</span><span class="pun">-</span><span class="pln">iconv</span><span class="pun">-</span><span class="pln">dir</span><span class="pun">=</span><span class="str">/opt/</span><span class="pln">local </span><span class="pun">--</span><span class="pln">with</span><span class="pun">-</span><span class="pln">xml2</span><span class="pun">-</span><span class="pln">dir</span><span class="pun">=</span><span class="str">/opt/</span><span class="pln">local </span><span class="pun">--</span><span class="pln">with</span><span class="pun">-</span><span class="pln">xslt</span><span class="pun">-</span><span class="pln">dir</span><span class="pun">=</span><span class="str">/opt/</span><span class="pln">local</span>

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax