On Mon, Aug 18, 2008 at 11:10:21AM -0400, Erik Southworth wrote:
> How would I do: { r.Run('./selfextractor.bin') } in rMake?
> 
> It 'cvc cooks' but rMake can't find the file.
> Seems likes it's reading the *cmd* as a literal whole and doesn't understand
> I want to run the program so it can dump it's contents.

Almost certainly, "selfextractor.bin" depends on some other program
that can't be discovered automatically.  You can discover this using
the strace program -- probably something like:
strace -o /tmp/selfextrator.out -etrace=exec -f selfextractor.bin

r.Run() isn't really any different with cvc cook or rMake -- it's just
that in the rMake case you don't have as much stuff installed (just
what is listed as required to build) and so that's almost always the
source of differences between cvc cook and rMake: rMake builds should
be repeatable, not just build on some system that happens to have the
right things installed.
_______________________________________________
Foresight-devel mailing list
Foresight-devel@lists.rpath.org
http://lists.rpath.org/mailman/listinfo/foresight-devel

Reply via email to