Skip to content

Instantly share code, notes, and snippets.

@meelash
Created September 2, 2010 15:52
Show Gist options
  • Select an option

  • Save meelash/562461 to your computer and use it in GitHub Desktop.

Select an option

Save meelash/562461 to your computer and use it in GitHub Desktop.
sh configure
Detected <JavaScriptCore/JavaScript.h>
gcc -o lib/libnarwhal.dylib narwhal.c -dynamiclib -0s -force_cpusubtype_ALL -mmacosx-version-min=10.4 -arch i386 -arch ppc -Iinclude -framework JavaScriptCore
mkdir -p `dirname bin/narwhal-webkit`
gcc -o bin/narwhal-webkit -DWEBKIT -x objective-c narwhal-jsc.c -0s -force_cpusubtype_ALL -mmacosx-version-min=10.4 -arch i386 -arch ppc -Iinclude -framework JavaScriptCore -L/usr/lib -liconv -Llib -lnarwhal \
-framework Foundation -framework WebKit
install_name_tool -change "lib/libnarwhal.dylib" "@executable_path/../lib/libnarwhal.dylib" "bin/narwhal-webkit"
mkdir -p `dirname lib/binary-engine.dylib`
g++ -o lib/binary-engine.dylib src/binary-engine.cc -0s -force_cpusubtype_ALL -mmacosx-version-min=10.4 -arch i386 -arch ppc -Iinclude -dynamiclib -framework JavaScriptCore -L/usr/lib -liconv -Llib -lnarwhal
#install_name_tool -change "/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore" "@executable_path/../frameworks/JavaScriptCore.framework/JavaScriptCore" "lib/binary-engine.dylib"
mkdir -p `dirname lib/file-engine.dylib`
g++ -o lib/file-engine.dylib src/file-engine.cc -0s -force_cpusubtype_ALL -mmacosx-version-min=10.4 -arch i386 -arch ppc -Iinclude -dynamiclib -framework JavaScriptCore -L/usr/lib -liconv -Llib -lnarwhal
#install_name_tool -change "/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore" "@executable_path/../frameworks/JavaScriptCore.framework/JavaScriptCore" "lib/file-engine.dylib"
mkdir -p `dirname lib/interpreter.dylib`
g++ -o lib/interpreter.dylib src/interpreter.cc -0s -force_cpusubtype_ALL -mmacosx-version-min=10.4 -arch i386 -arch ppc -Iinclude -dynamiclib -framework JavaScriptCore -L/usr/lib -liconv -Llib -lnarwhal
#install_name_tool -change "/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore" "@executable_path/../frameworks/JavaScriptCore.framework/JavaScriptCore" "lib/interpreter.dylib"
mkdir -p `dirname lib/io-engine.dylib`
g++ -o lib/io-engine.dylib src/io-engine.cc -0s -force_cpusubtype_ALL -mmacosx-version-min=10.4 -arch i386 -arch ppc -Iinclude -dynamiclib -framework JavaScriptCore -L/usr/lib -liconv -Llib -lnarwhal
src/io-engine.cc: In function ‘const OpaqueJSValue* TextInputStream_read(const OpaqueJSContext*, OpaqueJSValue*, OpaqueJSValue*, size_t, const OpaqueJSValue* const*, const OpaqueJSValue**)’:
src/io-engine.cc:258: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’
src/io-engine.cc: In function ‘const OpaqueJSValue* TextInputStream_read(const OpaqueJSContext*, OpaqueJSValue*, OpaqueJSValue*, size_t, const OpaqueJSValue* const*, const OpaqueJSValue**)’:
src/io-engine.cc:258: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’
#install_name_tool -change "/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore" "@executable_path/../frameworks/JavaScriptCore.framework/JavaScriptCore" "lib/io-engine.dylib"
cd deps/http-parser && make http_parser.o
ragel -s -G2 http_parser.rl -o http_parser.c
make[1]: ragel: No such file or directory
make[1]: *** [http_parser.c] Error 1
make: *** [deps/http-parser/http_parser.o] Error 2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: building narwhal-jsc failed. Hit enter to continue.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment