webkit.js
webkit.js copied to clipboard
ninja: error: obj/webkit.ninja:234: unknown build rule 'solink_js'
$ ninja -C Debug
ninja: Entering directory `Debug'
ninja: error: obj/webkit.ninja:234: unknown build rule 'solink_js'
build obj/webkit.js: solink_js obj/src/webkit.WebView.o $
^ near here
Playing around trying to figure this one out, any ideas?
I'm thinking it's all that stuff in ./setup.sh, but it's broken on my end so I'll go through, try everything, and see if I can't get it running.
Oh man! My system was running ./setup.sh with sh instead of bash and it was freaking out. Running now, it'll probably resolve this
https://github.com/selbyk/webkit.js/commit/182bbe0de9eabc9aa18100f52db96c002fcb900b https://github.com/selbyk/webkit.js/commit/9d171c8d60648c6689bf430e02a5a4252b546633
Funny... the other day I told someone I thought these comments were just for show, but changing #!/bin/sh to #!/bin/bash gets the scripts to run without running bash ./script.sh
. The problem still exists, though. =/
$ ninja -C Debug
ninja: Entering directory `Debug'
ninja: error: obj/webkit.ninja:241: unknown build rule 'solink_js'
build obj/webkit.js: solink_js obj/src/webkit.WebView.o $
^ near here
@selbyk GYP generates these "ninja build" files. When GYP runs (the hacked together one to support javascript thats included) generates some rules for solink_js with the build file. It's entirely likely that the built in GYP is not running, and you're still using a system / standard GYP, so the ninja build files are coming out but its not generating a javascript-friendly build file.
Also, solink_js = Shared Object Linking Step (Javascript).
I'll take another look on kubuntu soon, hopefully (it built successfully on ubuntu and OS X..)
Hi,
I am getting all these emails you and Selby are sending one another could you please take me of the list?
Jake
Date: Thu, 29 Jan 2015 20:50:06 -0800 From: [email protected] To: [email protected] Subject: Re: [webkit.js] ninja: error: obj/webkit.ninja:234: unknown build rule 'solink_js' (#35)
@selbyk GYP generates these "ninja build" files. When GYP runs (the hacked together one to support javascript thats included) generates some rules for solink_js with the build file. It's entirely likely that the built in GYP is not running, and you're still using a system / standard GYP, so the ninja build files are coming out but its not generating a javascript-friendly build file.
Also, solink_js = Shared Object Linking Step (Javascript).
I'll take another look on kubuntu soon, hopefully (it built successfully on ubuntu and OS X..)
— Reply to this email directly or view it on GitHub.
=
To anyone receiving these emails without knowing as to why, it's due to the fact that you probably subscribed to the repository webkit.js. Hope this helps. It would be best to unsubscribe if you don't wish to proceed with their discussion as it may hinder their progress.
On Fri, Jan 30, 2015 at 6:24 PM, euler333 [email protected] wrote:
Hi,
I am getting all these emails you and Selby are sending one another could you please take me of the list?
Jake
Date: Thu, 29 Jan 2015 20:50:06 -0800 From: [email protected] To: [email protected] Subject: Re: [webkit.js] ninja: error: obj/webkit.ninja:234: unknown build rule 'solink_js' (#35)
@selbyk GYP generates these "ninja build" files. When GYP runs (the hacked together one to support javascript thats included) generates some rules for solink_js with the build file. It's entirely likely that the built in GYP is not running, and you're still using a system / standard GYP, so the ninja build files are coming out but its not generating a javascript-friendly build file.
Also, solink_js = Shared Object Linking Step (Javascript).
I'll take another look on kubuntu soon, hopefully (it built successfully on ubuntu and OS X..)
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub https://github.com/trevorlinton/webkit.js/issues/35#issuecomment-72237058 .
Please stop sending me these messages.
Date: Fri, 30 Jan 2015 10:27:12 -0800 From: [email protected] To: [email protected] CC: [email protected] Subject: Re: [webkit.js] ninja: error: obj/webkit.ninja:234: unknown build rule 'solink_js' (#35)
To anyone receiving these emails without knowing as to why, it's due to the
fact that you probably subscribed to the repository webkit.js. Hope this
helps. It would be best to unsubscribe if you don't wish to proceed with
their discussion as it may hinder their progress.
On Fri, Jan 30, 2015 at 6:24 PM, euler333 [email protected] wrote:
Hi,
I am getting all these emails you and Selby are sending one another could
you please take me of the list?
Jake
Date: Thu, 29 Jan 2015 20:50:06 -0800
From: [email protected]
Subject: Re: [webkit.js] ninja: error: obj/webkit.ninja:234: unknown build
rule 'solink_js' (#35)
@selbyk GYP generates these "ninja build" files. When GYP runs (the hacked
together one to support javascript thats included) generates some rules for
solink_js with the build file. It's entirely likely that the built in GYP
is not running, and you're still using a system / standard GYP, so the
ninja build files are coming out but its not generating a
javascript-friendly build file.
Also, solink_js = Shared Object Linking Step (Javascript).
I'll take another look on kubuntu soon, hopefully (it built successfully
on ubuntu and OS X..)
—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub
https://github.com/trevorlinton/webkit.js/issues/35#issuecomment-72237058
.
— Reply to this email directly or view it on GitHub.
=
@euler333 @JDBStudio You're probably watching the webkit.js project on github which is why you're getting these emails, unwatch it by clicking on the "unwatch" button at: https://github.com/trevorlinton/webkit.js or click "View it on github" in the email and click "Unsubscribe" in the Notifications column.
Ok. Thanks.
Date: Fri, 30 Jan 2015 16:08:47 -0800 From: [email protected] To: [email protected] CC: [email protected] Subject: Re: [webkit.js] ninja: error: obj/webkit.ninja:234: unknown build rule 'solink_js' (#35)
@euler333 @JDBStudio You're probably watching the webkit.js project on github which is why you're getting these emails, unwatch it by clicking on the "unwatch" button at: https://github.com/trevorlinton/webkit.js or click "View it on github" in the email and click "Unsubscribe" in the Notifications column.
— Reply to this email directly or view it on GitHub.
=
I fixed it by duplicating solink_js for my platform (ubuntu 18).
Also replaced $ar with emcc to fix .bc linking errors like so: emcc input1.o input2.o -o output.bc
@blockspacer @trevorlinton Can you explain more on how you fixed this issue ?