Skip to content

Commit 0c83f40

Browse files
author
Cory Borg
committed
Added support for Solaris, OpenSolaris, or illumos
1 parent fb000c5 commit 0c83f40

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

README.rdoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,13 @@ Binary packages are available for:
111111
* SuSE[http://download.opensuse.org/repositories/devel:/languages:/ruby:/extensions/]
112112
* Fedora[http://s390.koji.fedoraproject.org/koji/packageinfo?packageID=6756]
113113

114+
If you are installing on Solaris, OpenSolaris, or illumos will need to install
115+
libxslt[http://www.opencsw.org/package/libxslt/] and
116+
libxml[http://www.opencsw.org/package/libxml2_2/] from OpenCSW. After these
117+
libraries have been installed, run:
118+
119+
NOKOGIRI_USE_SYSTEM_LIBRARIES=true sudo gem install nokogiri
120+
114121
== DEVELOPMENT:
115122

116123
=== Developing on C Ruby (MRI)

ext/nokogiri/extconf.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ def have_iconv?
7474
# First search /opt/local for macports
7575
'/opt/local/include',
7676

77+
# Then check for OpenCSW packages
78+
'/opt/csw/include',
79+
7780
# Then search /usr/local for people that installed from source
7881
'/usr/local/include',
7982

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

98+
# Then check for OpenCSW packages
99+
'/opt/csw/lib',
100+
95101
# Then search /usr/local for people that installed from source
96102
'/usr/local/lib',
97103

0 commit comments

Comments
 (0)