On Wed, Apr 3, 2013 at 12:14 PM, Jorge Chamorro <[email protected]> wrote:
> On 03/04/2013, at 11:40, Ben Noordhuis wrote:
>> On Wed, Apr 3, 2013 at 11:14 AM, Jorge Chamorro <[email protected]> 
>> wrote:
>>> I can't compile my module without headers... they're missing, is it a bug?
>>
>> No, it's intentional.
>
> How so? May I ask why? They used to come even with the pre-built .pkg 
> installers.

The short of it is that add-on authors should use node-gyp rather than
system-wide headers.

I've outlined some of the reasons in the issue.  The primary reason is
to cut down on spurious build failures (because people have old
headers installed, or conflicting headers, or... etc.) and to make it
easy to build on Windows.

It works well, too.  My personal projects get substantially fewer
bogus bug reports ever since I ditched node-waf and hand-crafted
Makefiles.

>> There is a feature request for adding a `make
>> install-dev` target:
>
> But then most people won't have the headers handy... why not leave it as it 
> was?
>
>> https://github.com/joyent/node/issues/5112
>>
>>> I want my money back!
>>
>> /me refunds Jorge his $0.00
>
> That's it :-)
>
> --
> ( Jorge )();

-- 
-- 
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