[webkit-help] How to build JavaScriptCore on Ubuntu only

Zhou Li lzcarl at gmail.com
Wed Apr 28 22:31:28 PDT 2010


Thank you for your script. I tried build-jsc.sh but there are still
problems.

root at ubuntu-desktop:~/tools/WebKit-r58231# ./build-jsc.sh
rm -f libdummy.so.1.0.0 libdummy.so libdummy.so.1 libdummy.so.1.0
g++ -Wl,-O1 -shared -Wl,-soname,libdummy.so.1 -o libdummy.so.1.0.0
-L/usr/lib -lQtGui -lQtCore -lpthread
ln -s libdummy.so.1.0.0 libdummy.so
ln -s libdummy.so.1.0.0 libdummy.so.1
ln -s libdummy.so.1.0.0 libdummy.so.1.0
g++ -c -pipe -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wcast-align
-Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter
-Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn
-Winit-self -O2 -D_REENTRANT -DENABLE_JIT=1 -DENABLE_YARR=1
-DENABLE_YARR_JIT=1 -DBUILDING_QT__=1 -DNDEBUG -DBUILDING_QT__
-DBUILDING_JavaScriptCore -DBUILDING_WTF -DQT_NO_DEBUG -DQT_CORE_LIB
-DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I../../../JavaScriptCore
-I/usr/include/qt4/QtCore -I/usr/include/qt4 -I../../../JavaScriptCore
-I../../../../WebKit-r58231 -I../../../JavaScriptCore/assembler
-I../../../JavaScriptCore/bytecode -I../../../JavaScriptCore/bytecompiler
-I../../../JavaScriptCore/debugger -I../../../JavaScriptCore/interpreter
-I../../../JavaScriptCore/jit -I../../../JavaScriptCore/parser
-I../../../JavaScriptCore/pcre -I../../../JavaScriptCore/profiler
-I../../../JavaScriptCore/runtime -I../../../JavaScriptCore/wtf
-I../../../JavaScriptCore/wtf/symbian -I../../../JavaScriptCore/wtf/unicode
-I../../../JavaScriptCore/yarr -I../../../JavaScriptCore/API
-I../../../JavaScriptCore/ForwardingHeaders
-I../../../JavaScriptCore/generated -I../include/QtWebKit -I.
-I../../../JavaScriptCore -I. -o obj/release/jsc.o
../../../JavaScriptCore/jsc.cpp
make: *** No rule to make target `libjscore.a', needed by `jsc'.  Stop.
make: *** Waiting for unfinished jobs....

And no executable is generated. Is there any step I missed? Thanks.


On Wed, Apr 28, 2010 at 11:41 PM, Ariya Hidayat <ariya.hidayat at gmail.com>wrote:

> > I'm wondering if I can build JavaScriptCore on Ubuntu Linux only. Because
> > the webkit trunk source is too big, and what I want is just its js
> engine. I
> > tried make under the folder JavaScriptCore, but it required xcodebase,
> which
> > is for Mac OS. I also tried using make-generated-source.sh, but it seems
> > nothing useful generated. I didn't find any instruction on building that
> > component. Can somebody help me?
>
> If you don't mind using the Qt port, read and follow the thread at
> https://lists.webkit.org/pipermail/webkit-qt/2010-January/000089.html
>
>
>
> --
> Ariya Hidayat
> http://www.linkedin.com/in/ariyahidayat
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>



-- 
Zhou Li
Ph.D student
School of Informatics and Computing
Indiana University at Bloomington
website: www.cs.indiana.edu/~lizho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20100429/4a2c20ff/attachment.html>


More information about the webkit-help mailing list