[Xapian-devel] xapian-bindings ruby not honouring prefix?
Samuel Williams
space.ship.traveller at gmail.com
Wed Dec 15 13:19:42 GMT 2010
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
More information about the Xapian-devel
mailing list