D
Dave Howell
I really really regret ever installing SnowLeopard.=20
I'm trying to build some HTML. I'd been using LibXML, but it's getting =
seriously anal-retentive on me, escaping stuff that I don't want escaped =
and complaining about not mixing documents. I figured I'd look for =
something that wouldn't keep interfering with me getting my work done.=20=
Hmm! Looks like Nokogiri might do that, and it's already installed. =
Let's try that.=20
...no suitable image found. Did find: . . ./nokogiri.bundle: mach-o, =
but wrong architecture=20
$*@*X&#&%&*#&*@#*$*#&
Stupid SnowLeopard.=20
Fine!
$ gem uninstall nokogiri
[But lots of things depend on this!]
Yea, I know. Delete it anyway.
$ gem install nokogiri
zlib is missing. please visit =
http://nokogiri.org/tutorials/installing_nokogiri.html for help with =
installing dependencies.
[bang head on desk]
[visit nokogiri.org]
"Because Nokogiri needs to be compiled and dynamically linked against =
both libxml2 and libxslt, it has gained a reputation for being =
complicated to install. Let=92s wrassle this little myth to the ground, =
shall we?
The following should work on both Leopard and Snow Leopard:
sudo port install libxml2 libxslt
sudo gem install nokogiri"
I'm pretty sure I already did this. . . .
$ sudo port install libxml2 libxslt
---> Computing dependencies for libxml2
---> Cleaning libxml2
---> Computing dependencies for libxslt
---> Cleaning libxslt
$ sudo gem install nokogiri
zlib is missing.=20
Newsflash: Myth that nokogiri hard to install? Not wrassled to ground.=20=
News Addenda: *Anything* that requires a port install is NOT easy to =
install. Installing MacPorts (a few months ago) was a nightmare.=20
gem tells me that I have some options:
--with-zlib-include
--without-zlib-include=3D${zlib-dir}/include
--with-zlib-lib
--without-zlib-lib=3D${zlib-dir}/lib
These absolutely mystify me. If i'm going to tell it I want it to =
install a gem WITHOUT a library, why would I tell it where the library =
is? I want to tell it to build WITH the library. THAT library. The one =
sitting RIGHT OVER THERE.=20
Well, at least I *think* it's over there. I have =
/opt/local/lib/libz.dylib -> libz.1.2.5.dylib. Is that some other =
library that does some other z-shaped thing? If not, how the heck do I =
make rubygems USE it?=20
$*@(#*$&*%)~!($ 64-bit library hell.=20
I'm trying to build some HTML. I'd been using LibXML, but it's getting =
seriously anal-retentive on me, escaping stuff that I don't want escaped =
and complaining about not mixing documents. I figured I'd look for =
something that wouldn't keep interfering with me getting my work done.=20=
Hmm! Looks like Nokogiri might do that, and it's already installed. =
Let's try that.=20
...no suitable image found. Did find: . . ./nokogiri.bundle: mach-o, =
but wrong architecture=20
$*@*X&#&%&*#&*@#*$*#&
Stupid SnowLeopard.=20
Fine!
$ gem uninstall nokogiri
[But lots of things depend on this!]
Yea, I know. Delete it anyway.
$ gem install nokogiri
zlib is missing. please visit =
http://nokogiri.org/tutorials/installing_nokogiri.html for help with =
installing dependencies.
[bang head on desk]
[visit nokogiri.org]
"Because Nokogiri needs to be compiled and dynamically linked against =
both libxml2 and libxslt, it has gained a reputation for being =
complicated to install. Let=92s wrassle this little myth to the ground, =
shall we?
The following should work on both Leopard and Snow Leopard:
sudo port install libxml2 libxslt
sudo gem install nokogiri"
I'm pretty sure I already did this. . . .
$ sudo port install libxml2 libxslt
---> Computing dependencies for libxml2
---> Cleaning libxml2
---> Computing dependencies for libxslt
---> Cleaning libxslt
$ sudo gem install nokogiri
zlib is missing.=20
Newsflash: Myth that nokogiri hard to install? Not wrassled to ground.=20=
News Addenda: *Anything* that requires a port install is NOT easy to =
install. Installing MacPorts (a few months ago) was a nightmare.=20
gem tells me that I have some options:
--with-zlib-include
--without-zlib-include=3D${zlib-dir}/include
--with-zlib-lib
--without-zlib-lib=3D${zlib-dir}/lib
These absolutely mystify me. If i'm going to tell it I want it to =
install a gem WITHOUT a library, why would I tell it where the library =
is? I want to tell it to build WITH the library. THAT library. The one =
sitting RIGHT OVER THERE.=20
Well, at least I *think* it's over there. I have =
/opt/local/lib/libz.dylib -> libz.1.2.5.dylib. Is that some other =
library that does some other z-shaped thing? If not, how the heck do I =
make rubygems USE it?=20
$*@(#*$&*%)~!($ 64-bit library hell.=20