Samuel Williams
2010-Dec-15 13:19 UTC
[Xapian-devel] xapian-bindings ruby not honouring prefix?
Hi, I'm trying to install the ruby bindings into a local gem however make install copies the libraries into a non-prefix directory: /Library/Ruby/Site/1.8/universal-darwin10.0/_xapian.bundle $ ./configure --prefix=blah $ make all install make all-recursive Making all in ruby make all-recursive Making all in . make[4]: Nothing to be done for `all-am'. Making all in docs make all-am make[5]: Nothing to be done for `all-am'. make[2]: Nothing to be done for `all-am'. Making install in ruby make install-recursive Making install in . make[4]: Nothing to be done for `install-exec-am'. test -z "/Library/Ruby/Site/1.8" || /opt/local/bin/gmkdir -p "/Library/Ruby/Site/1.8" /opt/local/bin/ginstall -c -m 644 xapian.rb '/Library/Ruby/Site/1.8' test -z "/Library/Ruby/Site/1.8/universal-darwin10.0" || /opt/local/bin/gmkdir -p "/Library/Ruby/Site/1.8/universal-darwin10.0" /bin/sh ../libtool --mode=install /opt/local/bin/ginstall -c _xapian.la '/Library/Ruby/Site/1.8/universal-darwin10.0' libtool: install: /opt/local/bin/ginstall -c .libs/_xapian.bundle /Library/Ruby/Site/1.8/universal-darwin10.0/_xapian.bundle libtool: install: /opt/local/bin/ginstall -c .libs/_xapian.lai /Library/Ruby/Site/1.8/universal-darwin10.0/_xapian.la ---------------------------------------------------------------------- Libraries have been installed in: /Library/Ruby/Site/1.8/universal-darwin10.0 If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable during execution See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- .... snip .... I thought that it should honour the prefix path? Kind regards, Samuel
Olly Betts
2010-Dec-15 14:03 UTC
[Xapian-devel] xapian-bindings ruby not honouring prefix?
On Thu, Dec 16, 2010 at 02:19:42AM +1300, Samuel Williams wrote:> I'm trying to install the ruby bindings into a local gem however make install > copies the libraries into a non-prefix directory: > /Library/Ruby/Site/1.8/universal-darwin10.0/_xapian.bundleSee the INSTALL document in the xapian-bindings source, section "Installing without root access". Cheers, Olly