RESOLVED INVALID 18489
Squirrelfish doesn't build on linux
https://bugs.webkit.org/show_bug.cgi?id=18489
Summary Squirrelfish doesn't build on linux
Gabor Loki
Reported 2008-04-14 07:18:58 PDT
Currently the squirrelfish branch is not compiled on linux. The first error looks like: g++ -c -pipe -Wreturn-type ... -o tmp/JSBase.o ../../../JavaScriptCore/API/JSBase.cpp In file included from ../../../JavaScriptCore/kjs/JSGlobalObject.h:26, from ../../../JavaScriptCore/API/JSBase.cpp:32: ../../../JavaScriptCore/kjs/JSVariableObject.h:32:22: error: Register.h: No such file or directory ... Which means there are missing Makefile rules, include headers, etc. So, I have created a small patch which solves this problem. At least in my system there are no more build failure.
Attachments
Proposed Squirrelfish build fix for Linux (5.85 KB, patch)
2008-04-14 07:25 PDT, Gabor Loki
ggaren: review+
Build, template, macros fixes for Linux (12.98 KB, patch)
2008-04-29 02:21 PDT, Gabor Loki
mjs: review+
Add missing includes and sources (5.23 KB, patch)
2008-05-15 03:13 PDT, Gabor Loki
no flags
Gabor Loki
Comment 1 2008-04-14 07:25:37 PDT
Created attachment 20531 [details] Proposed Squirrelfish build fix for Linux Let me know if I have missed something.
Geoffrey Garen
Comment 2 2008-04-14 14:58:12 PDT
Comment on attachment 20531 [details] Proposed Squirrelfish build fix for Linux Committed revision 31883. I had to remove tab characters from the ChangeLog. In the future, please use spaces, rather than tabs.
Gabor Loki
Comment 3 2008-04-29 02:21:04 PDT
Created attachment 20886 [details] Build, template, macros fixes for Linux This patch is for revision 32670. The proposed fix contains the followings: - rename JavaScriptCore/kjs/LocalStorage.h to JavaScriptCore/kjs/LocalStorageEntry.h (like in http://trac.webkit.org/changeset/32259), but I didn't able to update XCode Project file. Please someone (who have a Mac) update this. - template problem in JavaScriptCore/kjs/collector.{h,cpp}: A new template instance (like in 'allocateNumber') cannot be created only from forward declaration. - add missing QT_*_NAMESPACE defines (like in http://trac.webkit.org/changeset/32306). - add some missing includes and sources
Gabor Loki
Comment 4 2008-04-29 02:23:28 PDT
Revision 32670 is not build on Linux (Qt). I have attached a proposed patch, see my last comment.
Maciej Stachowiak
Comment 5 2008-05-02 04:01:09 PDT
Comment on attachment 20886 [details] Build, template, macros fixes for Linux These fixes look good to me.
Gabor Loki
Comment 6 2008-05-15 03:13:06 PDT
Created attachment 21157 [details] Add missing includes and sources Revision 33436 is not build on Linux (Qt). The proposed fix contains the followings: - Add missing includes - Remove extra qualification - Add missing sources to WebCore.pro
Jan Alonzo
Comment 7 2008-05-22 06:18:21 PDT
Hi Gabor The squirrelfish branch has just been merged into WebKit trunk today. I'm not sure if this patch still applies (gtk port in linux builds fine for example). Regards
Gabor Loki
Comment 8 2008-05-23 04:45:13 PDT
The squirrelfish branch have been merged. Qt port is also OK (rev 34071).
Alexey Proskuryakov
Comment 9 2008-05-23 05:55:08 PDT
Comment on attachment 21157 [details] Add missing includes and sources Clearing the review flag, so that this doesn't show up in review queue.
Note You need to log in before you can comment on or make changes to this bug.