Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
node-gyp make error no rule to make target
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
NodeNinja  
View profile  
 More options Nov 16 2012, 2:11 am
From: NodeNinja <aeon6f...@gmail.com>
Date: Thu, 15 Nov 2012 23:11:29 -0800 (PST)
Local: Fri, Nov 16 2012 2:11 am
Subject: node-gyp make error no rule to make target

I'm trying to build a node addon on linux with node-gyp

My binding.gyp looks like this

{
  "targets": [
{
  "target_name": "test",
  "sources": [ "test.cc" ]

}
]
}

when I do

node-gyp configure

I get a build folder with the required makefiles etc.

but when I try to do

node-gyp build

I get
make: *** No rule to make target `Release/obj.target/test/test.o', needed
by `Release/obj.target/test.node'.  Stop.

When I look into the folder structure I find that there is no directory
like Release/obj.target/test in the build folder.
Anyway to correct this?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Rajlich  
View profile  
 More options Nov 16 2012, 11:46 am
From: Nathan Rajlich <nat...@tootallnate.net>
Date: Fri, 16 Nov 2012 08:45:36 -0800
Local: Fri, Nov 16 2012 11:45 am
Subject: Re: [nodejs] node-gyp make error no rule to make target
This looks like the same error message:
https://github.com/TooTallNate/node-gyp/issues/165

You should ask that guy what he did to fix it.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
NodeNinja  
View profile  
 More options Nov 16 2012, 12:50 pm
From: NodeNinja <aeon6f...@gmail.com>
Date: Fri, 16 Nov 2012 09:50:00 -0800 (PST)
Subject: Re: [nodejs] node-gyp make error no rule to make target

On Friday, November 16, 2012 10:16:16 PM UTC+5:30, Nathan Rajlich wrote:

> This looks like the same error message:
> https://github.com/TooTallNate/node-gyp/issues/165

> You should ask that guy what he did to fix it.

Good Idea!  Will update this post as soon as I get some reply from him. How
to contact him though?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Rajlich  
View profile  
 More options Nov 16 2012, 1:20 pm
From: Nathan Rajlich <nat...@tootallnate.net>
Date: Fri, 16 Nov 2012 10:19:18 -0800
Local: Fri, Nov 16 2012 1:19 pm
Subject: Re: [nodejs] node-gyp make error no rule to make target
You could just reply to that GitHub issue.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
NodeNinja  
View profile  
 More options Nov 17 2012, 1:02 am
From: NodeNinja <aeon6f...@gmail.com>
Date: Fri, 16 Nov 2012 22:02:38 -0800 (PST)
Local: Sat, Nov 17 2012 1:02 am
Subject: Re: [nodejs] node-gyp make error no rule to make target

On Friday, November 16, 2012 11:50:01 PM UTC+5:30, Nathan Rajlich wrote:

> You could just reply to that GitHub issue.

YarcoWang at github helped me fix the problem.
I just spotted the same problem my source file was named "test.cpp" and in
the binding.gyp targets -> sources I had wrongly mentioned "test.cc"

Many thanks!!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »