Real Trouble Trying To Install Gem with Native Ext
Posted by: mind2find
Posted on: 2009-05-15 08:38:00
Hi all,
So I've been pushing through to get pauldix-feedzirra working on my account but it requires libxslt, which isn't installed in a way that I can compile a gem with.
So I downloaded libxslt and compiled/installed it successfully in my account. It is nokogiri as a dependency to pauldix-feedzirra that complains it can't find it first, so I simply (after a lot of digging) go into my .gem/gems/nokogiri-1.2.3/ext/nokogiri directory and run with my locally compiled path to libxslt:
"ruby extconf.rb --with-xslt-dir=/home/username/run --prefix=/home/username/.gem/gems and IT COMPILES!
Sadly, this doesn't fix it though. When I try to run gem install pauldix-feedzirra again, it doesn't recognize that nokogiri is installed and writes over the old directory, giving me the same error i was getting when it wasn't compiled. :(
I don't know if:
A.) the nokogiri gem isn't getting installed into the right place?
or
B.) there's some way to inform the gem install of where those dependencies are (libxslt custom location, etc.) though I haven't found any options for the gem install command that would do that.
ANY HELP!?!? I really need to get this native code usin' gem installed.
Thanks all!