So the way I work around the "missing flock" issue is by setting the $LINK
env variable to the same value I set the $CXX env variable to.

As to the general topic of this thread, though, I'm +1. I wasn't a huge fan
of the additional android-configure script going into the main node repo.


On Wed, Jul 10, 2013 at 5:02 PM, Adam Malcontenti-Wilson <
[email protected]> wrote:

> Hi Nathan,
>
> On Thursday, 11 July 2013 02:46:36 UTC+10, Nathan Rajlich wrote:
>>
>> Regarding the gyp issue you created, you can specify a "flavor" to create
>> the Makefile for, by doing something like `gyp -f make-linux --depth=.`.
>> That ends up creating a Makefile equivalent to what would be created if ran
>> directly on linux. That's how I do cross-compiling for my RPi from OS X:
>> http://n8.io/cross-**compiling-nodejs-v0.8/<http://n8.io/cross-compiling-nodejs-v0.8/>
>>
>
> That's what I would have thought, but it didn't work when I tried that.
> The Mac flavor has some fixes that are actually needed (or at least they
> seem to be for me). For example, flock isn't available on Mac, so gyp can
> emulate it with gyp-mac-tool however that only happens if you specify the
> Mac flavor. When you specify the linux flavor it will try and use anything
> that's available on a linux host system, and most likely fail with some
> tool (like flock) missing on Mac OS X. I'm not sure why you seem to be able
> to get the linux makefile to work and mine doesn't - that's interesting,
> but I thought that the best way forward would be to actually set the
> correct host flavor then just submit patches to gyp to make it do the
> correct thing. I mean I don't think a Linux makefile will work very well on
> a Windows PC.
>
> --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to