From: Matthew Smillie Date: 2006-06-02T01:19:14+09:00 Subject: Re: Importing libraries - Installing OOo4R On Jun 1, 2006, at 15:58, Anthony Elizondo wrote: > I've been looking for some documentation on the proper way to import > libraries, and I can't seem to find any definite rules. > > Suppose I want to "install" OpenOffice4R, OOo4R. Should I just copy > the contents of lib into /usr/local/lib/ruby/1.8? (I'm working in > FreeBSD). Looks like a proper package hasn't been made for it - a bit of a warning sign that it might not be entirely complete, perhaps. Anyway, what I'd suggest is: 1. go to ooo4r/redist/rubyzip and install that as if it were a separate package - it comes with documentation on how to install it (alternately, download it from here: http://sourceforge.net/projects/ rubyzip) 2. remove the CVS directories from the ooo4r/lib and ooo4r/lib/ OOo4R directories. 3. copy ooo4r/lib/OOo4R to /usr/local/lib/ruby/site_ruby/1.8/ OOo4R (the /usr/local/lib/ruby/1.8 directory is where the standard libraries live, site_ruby is where other libraries are installed) hope that helps. matt smillie.