On Aug 7, 2006, at 6:10 PM, Dossy Shiobara wrote:
On 2006.08.07, John Buckman <[EMAIL PROTECTED]> wrote:
The modifications to util/*.tcl stated above seem critical and the
CVS head should be so patched.
The build is still kinda shaky. In theory, you could build like this
(on Debian):
$ ./configure TCLSH=/usr/bin/tclsh --with-tcl=/usr/lib/tcl8.4
$ make
$ make install
I seem to remember one of the scripts pointing directly to /usr/local/
bin/tclsh as well.
And it'll use the path specified in TCLSH as the executable to use to
execute the .tcl scripts.
I'm not sure I like this: for one, we should probably use autoconf to
auto-detect the tclsh binary using the TCL_EXEC_PREFIX from
tclConfig.sh
or some other magic as a default. That would probably eliminate the
most FAQ build issue with 4.5.0 that you ran up against.
Sure, that'd be better, but as a hack, at least you could make
TCLSH=/usr/bin/tclsh --with-tcl=/usr/lib/tcl8.4
the default, that can be over-ridden. That's not inelegant, I think.
The pre-3.3 gcc error you encountered I created a patch for and folks
have verified it fixes the problem, so I'll commit that now.
Thanks again for the feedback and congratulations on BookMooch.com, by
the way. I love the Server: header. :-)
<blush> Thanks!
johnmac:/b/lib johnbuckman$ curl -I http://bookmooch.com
HTTP/1.1 200 OK
MIME-Version: 1.0
P3P: CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo"
Date: Tue, 08 Aug 2006 03:12:07 GMT
Server: MoochServer/4.5.0
Content-Type: text/html; charset=iso-8859-1
Content-Length: 6336
Connection: close
---
btw, that P3P header is pretty much a requirement if you want cookies
to stick around. IE's default w/o that header is to toss them when
the browser exits.
Also, I had a pretty rough day with AOLServer hanging all day after
10 mins of running.
I can't prove it yet, but there's some situation that causes ns_db
handles to not get cleaned up. It only happens in production, not
under an "ab" test harness. I solved it by manually releasing all my
db handles and wrapping catch{} statements around everything. It
might be "adp flush failed" "abort exception raised" -- or maybe some
other exception.
-john
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]>
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject:
field of your email blank.