Jun, Sèbastien is right. I've been a bit sloppily hacking away on this thing, but it seems like it's time to start trying to maintain a more visible/stable project so that people like you can iterate on this and hopefully contribute some useful stuff :)
I know that I ran into this and did something to fix it, but I'm not sure what that was at this point. You're welcome to pull from http://github.com/isaacs/k7 now, if you don't mind my crazy stuff in there, or you can wait until Sèbastien has had a chance to review my changes and integrate them into his repo, which should be a bit more stable. My current priority is to stabilize and bring my master more in sync with Sèbastien's, so we should have a more consistent codebase moving forward. (Maybe a week or two?) If you find any other bugs, please post them to http://k7js.org. We're working on a process for maintaining a central stable branch, and documentation and whatnot, but it's still very new at this point. --i On Mar 27, 9:35 am, Sébastien Pierre <[email protected]> wrote: > Hi Jun, > > This post may be a little bit off-topic as it's K7 and not V8-related, > but I'm replying here for now. > > Le Fri, 27 Mar 2009 08:15:57 -0700, > Jun Yang <[email protected]> a écrit : > > > Then I tried k7 executable itself and found curl and fastcgi both > > missing: > > > $ ./k7 > > ReferenceError: system is not defined > > ReferenceError: has is not defined > > K7/V8 version 1.1.3 > > > for (var p in net.http.server) print(p); > > shttpd > > > for (var p in net.http.client) print(p); > > On my machine, I have > > $ ./k7 > ReferenceError: __module__ is not defined > ReferenceError: time is not defined > K7/V8 version 1.1.3> for (var p in net.http.server) print(p); > > shttpd > fcgi> for (var p in net.http.client) print(p) > > curl > > There is a problem with some references being garbage-collected (in > your case, system and has, in my case __module__ and time), and we're > looking into that. It's likely that fcgi and curl modules got garbage > collected as well. If you want to make sure they are loaded, you can > add a printf in " lib/net/http/server/fcgi.cpp" MODULE block. > > I can only suggest that in the meantime you try a previous version, > such as version "06c73900fad62b2b6d92ac21d9afbc7990494741". > > Sorry for that, it's a priority for us to fix this ! > > -- Sébastien --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
