Jabberwocky

libxml-ruby on Debian

Posted in deployment by elisehuard on September 17, 2008

If, like me, you get the following error message:

Install the library or try one of the following options to extconf.rb:
--with-xml2-dir=/path/to/libxml2
--with-xml2-lib=/path/to/libxml2/lib
--with-xml2-include=/path/to/libxml2/include

The solution is very, very simple.
sudo apt-get install libxml2
sudo apt-get install libxml2-dev

(and maybe an sudo ldconfig -v for good measure)
(especially that last one gets the C includes needed to build libxml-ruby).

Advertisements
Tagged with: , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: