[webkit-help] Running jsc from command line
Vineet Rajani
vrajani at mpi-sws.org
Wed Jul 18 09:17:44 PDT 2012
Hi
I downloaded the Webkit source code r122160. I built and successfully ran
safari from the built binaries as per the guidelines specified here (
http://www.webkit.org/building/build.html). I did this on Mac OS X 10.7.4
with GCC 4.2.1.
Now, I intend to run jsc independently for interpreting the javascript
source without having to do this in the browser. To this end I ran the jsc
binary present at
<WebKitHome>/WebKitBuild/Debug/JavaScriptCore.framework/Versions/A/Resources
but I get the following error:
*dyld: Symbol not found:
__ZN3JSC14JSGlobalObject16putDirectVirtualEPNS_8JSObjectEPNS_9ExecStateENS_12PropertyNameENS_7JSValueEj
*
* Referenced from:
WebKit-r122160/WebKitBuild/Debug/JavaScriptCore.framework/Versions/A/Resources/jsc
*
* Expected in:
/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
*
* in
WebKit-r122160/WebKitBuild/Debug/JavaScriptCore.framework/Versions/A/Resources/jsc
*
*Trace/BPT trap: 5*
*
*
I found a similar problem reported here (
https://bugs.webkit.org/show_bug.cgi?id=79065) and tried setting the
DYLD_FRAMEWORK_PATH
to the framework directory built from the source (<WebKitHome>/
WebKitBuild/Debug/JavaScriptCore.framework) but it doesn't help. I have
tried this for both release and debug builds.
How can I run jsc and interpret my javascript programs on command line.
Thanks in advance,
Vineet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20120718/701d5e81/attachment.html>
More information about the webkit-help
mailing list