Closed markc closed 12 years ago
https://github.com/mschwartz/SilkJS/downloads
You might need to download libmm from the downloads page on github and build it. The other three dependent libraries' source code is there, too.
The MacOSX instructions may be close enough to work for archlinux - just don't use the OSX Makefile :)
https://github.com/mschwartz/SilkJS/wiki/Build-Instructions
I've never installed or used archlinux.
If you don't mind making notes about the build process and post them on groups.google.com/group/SilkJS, I can add the info to the Wiki.
On Dec 9, 2011, at 10:22 AM, Mark Constable wrote:
Might be worth mentioning that gyp requires python 2. I'm trying to build silkjs with Archlinux and it defaults to python3. So far v8 has built okay (x64) but the dependencies for silkjs itself are a challenge. I'm getting this right off the bat...
SilkJS.h:41:16: fatal error: mm.h: No such file or directory
and if I modify the Makefile to -I the full path of my kernel includes then it's a real mess. I'll keep trying.
Reply to this email directly or view it on GitHub: https://github.com/mschwartz/SilkJS/issues/1
Well I got it to build and surfing to localhost:9090 brings up the expected pages. Great :)
As it turns out there is a so called AUR (Archlinux User Repo) package for mm v.1.4.2 so I haven't installed any of your dependency packages. I'll post a PKGBUILD to the google group as soon as I create one but it might take a few days.
Awesome!
I'd be interested in how it performs for you. I run something like:
ab -t 30 -k -c 50 http://localhost:9090/anchor.png
And I put anchor.png in my apache docroot and compare:
ab -t 30 -k -c 50 http://localhost/anchor.png
I generally find that Apache is faster by 10% or so. But SIlkJS is written almost entirely in JavaScript which isn't 100% as fast as compiled/optimized C code ;)
On Sat, Dec 10, 2011 at 6:36 AM, Mark Constable < reply@reply.github.com
wrote:
Well I got it to build and surfing to localhost:9090 brings up the expected pages. Great :)
As it turns out there is a so called AUR (Archlinux User Repo) package for mm v.1.4.2 so I haven't installed any of your dependency packages. I'll post a PKGBUILD to the google group as soon as I create one but it might take a few days.
Reply to this email directly or view it on GitHub: https://github.com/mschwartz/SilkJS/issues/1#issuecomment-3091085
Might be worth mentioning that gyp requires python 2. I'm trying to build silkjs with Archlinux and it defaults to python3. So far v8 has built okay (x64) but the dependencies for silkjs itself are a challenge. I'm getting this right off the bat...
SilkJS.h:41:16: fatal error: mm.h: No such file or directory
and if I modify the Makefile to -I the full path of my kernel includes then it's a real mess. I'll keep trying.