Martin
unread,Feb 28, 2012, 11:55:15 PM2/28/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Cappuccino & Objective-J
Please help me, I am clueless why building narwhal-jsc failed during
running bootstrap.sh
OS : Mac 10.7.3
Capp : 0.9.5
The following is the error log :
Would you like to build the JavaScriptCore engine? This is optional
but will
make building and running Cappuccino and Objective-J much faster.
Enter "yes" or "no":
yes
sh configure
No <JavaScriptCore/JavaScript.h> detected. Using <JavaScriptCore/
JavaScriptCore.h> instead.
gcc -o lib/libnarwhal.dylib narwhal.c -dynamiclib -0s -
force_cpusubtype_ALL -mmacosx-version-min=10.4 -arch i386 -Iinclude -
framework JavaScriptCore
In file included from narwhal.c:3:
include/narwhal.h:9:43: error: JavaScriptCore/JavaScriptCore.h: No
such file or directory
In file included from narwhal.c:3:
include/narwhal.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘JSObjectMakeDate’
include/narwhal.h:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘JSValueMakeStringWithUTF8CString’
include/narwhal.h:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘JSValueMakeStringWithUTF8CString’
include/narwhal.h:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘JSValueMakeStringWithUTF16’
include/narwhal.h:97: error: expected ‘)’ before ‘_context’
include/narwhal.h:127: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘NWChar’
include/narwhal.h:144: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘_TO_STRING’
include/narwhal.h:226: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘_JS_fn’
include/narwhal.h:237: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘_JS_date’
include/narwhal.h:243: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘_GET_VALUE’
include/narwhal.h:270: error: expected ‘)’ before ‘_context’
include/narwhal.h:374: error: expected ‘)’ before ‘_context’
include/narwhal.h:397: error: expected specifier-qualifier-list before
‘JSContextRef’
include/narwhal.h:400: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘Custom_class’
include/narwhal.h:412: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘NW_Require’
include/narwhal.h:413: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘NW_Exports’
include/narwhal.h:414: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘NW_Module’
include/narwhal.h:415: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘NW_System’
include/narwhal.h:416: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘NW_Print’
include/narwhal.h:417: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘_context’
include/narwhal.h:419: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘NW_require’
include/narwhal.h:421: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘JSObjectMakeArray’
include/narwhal.h:422: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘JSObjectMakeDate’
include/narwhal.h:423: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘JSObjectMakeError’
include/narwhal.h:424: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘JSObjectMakeRegExp’
include/narwhal.h:429: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘_PROTECT’
include/narwhal.h:436: error: expected ‘)’ before ‘_context’
include/narwhal.h:438: error: expected ‘)’ before ‘_context’
include/narwhal.h:441: error: expected specifier-qualifier-list before
‘JSContextRef’
include/narwhal.h:444: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘Context_new’
include/narwhal.h:446: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘NW_inititialize’
narwhal.c:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘JSObjectMakeArray’
narwhal.c:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘JSObjectMakeDate’
narwhal.c:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘JSObjectMakeError’
narwhal.c:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘JSObjectMakeRegExp’
narwhal.c:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘ReadFile’
narwhal.c:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘NW_print’
narwhal.c:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘NW_read’
narwhal.c:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘NW_isFile’
narwhal.c:100: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘NW_factory_t’
narwhal.c:103: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘NW_requireNative’
narwhal.c:133: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘envpToObject’
narwhal.c:151: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘argvToArray’
narwhal.c:165: error: expected ‘)’ before ‘_context’
narwhal.c:189: error: expected ‘)’ before ‘object’
narwhal.c:199: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘Context_class’
narwhal.c:212: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘Context_new’
narwhal.c:222: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘NW_inititialize’
narwhal.c:285: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘narwhal_wrapped’
narwhal.c:357: error: expected ‘)’ before ‘_context’
make: *** [lib/libnarwhal.dylib] Error 1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: building narwhal-jsc failed. Hit enter to continue.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================================