On 6 January 2011 22:30, Bollinger, John C <john.bollin...@stjude.org> wrote:
> Hello All,
>
> Today I have been looking into DESTDIR usage for the other language bindings 
> supported by OpenBabel.  I am reporting my findings for discussion here 
> before filing any more bug reports on the topic:
>
> 2) Ruby -- The mkmf-generated Makefile for the Ruby binding supports DESTDIR, 
> but OpenBabel's installation rules have coopted it for their own purposes.  
> The rules as written don't achieve the result described in the installation 
> docs, however.  To get that, the generation of the Makefile needs to be 
> managed.  That is, the install location needs to be configured into the 
> generated Makefile.  If that were done then DESTDIR would be available for 
> its conventional purpose, and the rules for the Ruby bindings would then also 
> be more consistent with those for the Perl and Python bindings.

I've added support for DESTDIR for the Ruby bindings.

Unfortunately, mkmf doesn't seem to support any mechanism for
specifying --prefix (and believe me, I tried a few - I also note that
someone has started a mkmf2 project because of these and other
shortcomings) so we still need to continue co-opting DESTDIR for this
purpose. In any case, the previous behaviour is maintained and now it
also supports DESTDIR.

- Noel

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to