Download and Install rb-libxml2 on Mac OS X
Thursday the 3rd of July, 2008

    rb-libxml2  most recent diff


      View the most recent changes for the rb-libxml2 port at: rb-libxml2.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for rb-libxml2.
      The raw portfile for rb-libxml2 is located here:
      http://rb-libxml2.darwinports.com/dports/ruby/rb-libxml2/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/rb-libxml2
      Google
      Web Darwinports.com



      # $Id: Portfile 20394 2006-11-03 02:00:58Z blair macports.org $

      PortSystem 1.0
      PortGroup ruby 1.0
      ruby.setup libxml-ruby 0.3.6 extconf.rb {} rubyforge:8775
      Name: rb-libxml2
      Category:-append ruby textproc
      Maintainers: lharple comcast.net
      Platform: darwin
      Homepage: http://libxml.rubyforge.org/
      Description: Ruby bindings for libxml2
      Long Description: C-language Ruby binding to the Gnome libxml2 library, supporting a wide range of XML technologies and offering very competitive performance across the board.

      checksums md5 dc427ade84aca1f5fba8349340b8cbbd sha1 d137255eca7fe8e5457bc71012554b11f6351c54 rmd160 60d67674f28d3b538b21386fbe78d37fb5772378

      depends_lib-append port:libxml2 port:zlib port:libiconv

      patchfiles extconf.rb.patch

      configure.cmd ${ruby.bin} -rvendor-specific ext/xml/extconf.rb
      configure.args-append --with-zlib-dir=${prefix} --with-iconv-dir=${prefix} --with-xml2-include=${prefix}/include/libxml2 --with-xml2-lib=${prefix}/lib

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/rb-libxml2
      % sudo port install rb-libxml2
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching rb-libxml2
      ---> Verifying checksum for rb-libxml2
      ---> Extracting rb-libxml2
      ---> Configuring rb-libxml2
      ---> Building rb-libxml2 with target all
      ---> Staging rb-libxml2 into destroot
      ---> Installing rb-libxml2
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using rb-libxml2 with these commands:
      %  man rb-libxml2
      % apropos rb-libxml2
      % which rb-libxml2
      % locate rb-libxml2

     Where to find more information:

    Darwin Ports



    image test