Skip to content

Commit

Permalink
Added support for Solaris, OpenSolaris, or illumos
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory Borg committed Jun 19, 2013
1 parent fb000c5 commit 0c83f40
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@ Binary packages are available for:
* SuSE[http://download.opensuse.org/repositories/devel:/languages:/ruby:/extensions/]
* Fedora[http://s390.koji.fedoraproject.org/koji/packageinfo?packageID=6756]

If you are installing on Solaris, OpenSolaris, or illumos will need to install
libxslt[http://www.opencsw.org/package/libxslt/] and
libxml[http://www.opencsw.org/package/libxml2_2/] from OpenCSW. After these
libraries have been installed, run:

NOKOGIRI_USE_SYSTEM_LIBRARIES=true sudo gem install nokogiri

== DEVELOPMENT:

=== Developing on C Ruby (MRI)
Expand Down
6 changes: 6 additions & 0 deletions ext/nokogiri/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ def have_iconv?
# First search /opt/local for macports
'/opt/local/include',

# Then check for OpenCSW packages
'/opt/csw/include',

# Then search /usr/local for people that installed from source
'/usr/local/include',

Expand All @@ -92,6 +95,9 @@ def have_iconv?
# First search /opt/local for macports
'/opt/local/lib',

# Then check for OpenCSW packages
'/opt/csw/lib',

# Then search /usr/local for people that installed from source
'/usr/local/lib',

Expand Down

0 comments on commit 0c83f40

Please sign in to comment.