[Libguestfs] [PATCH 1/6] out-of-tree build: cheap fix for building of Perl, Ruby bindings

Hilko Bengen bengen at hilluzination.de
Wed Aug 17 11:02:56 UTC 2011


* Richard W.M. Jones:

> On Wed, Aug 17, 2011 at 12:41:57AM +0200, Hilko Bengen wrote:
>> For ExtUtils::MakeMaker (Perl), there is an alternative (setting
>> INST_ARCHLIB, INST_LIB, INST_BIN, INST_SCRIPT, INST_MAN1DIR, and
>> INST_MAN3DIR) but this would not work for the test cases.
>> 
>> For rake (Ruby), I have found no obvious way to specify a different
>> target directory.
>
> I'm sure there must be a better way to do this.  I'll have
> to take a closer look at it.

I am happy to keep the two one-liner patches as part of the
debian/patches queue as long as there is no better solution.

> I applied 2, 3, 4 from the patch series and I'll push it later
> once I confirm that make && make check is OK for me.

make && make check worked for me when building from the source
directory.

make check still has a few issues when run from a separate directory. I
believe that all of them happen because the files (i.e.
"../COPYING.LIB") uploaded to the VM are not found because they did not
exist in the build tree.

Cheers,
-Hilko




More information about the Libguestfs mailing list