From: David L. <wh...@oz...> - 2000-12-04 19:37:51
|
Hey Brent; Turns out I had thread 2.0 in the path. I see that Thread 2.2 is in the distro - i'll build that and see if it works any better (hopefully). If tclhttpd 3.2.1 requres Thread 2.2 shouldn't it insist on that version? Regards, Dave LeBlanc -----Original Message----- From: bw...@in... [mailto:bw...@in...]On Behalf Of Brent Welch Sent: Monday, December 04, 2000 10:56 AM To: David LeBlanc Cc: tcl...@li... Subject: Re: [Tclhttpd-users] 3.2.1 crashes on first access with threads enabled. >>>"David LeBlanc" said: > Platform: NT 4.0sp6 workstation > > tcl 8.3.2 tk 8.3.2 > > tclhttpd 3.2.1 > > I built tcl/tk 8.3.2 from the tclhttpd distro and also installed tcllib 0.8. > > With a thread count of 0 in the httpd.rc file, it comes up, one can access > pages, but it crashes (access violation in Wish) fairly readily but not > consistanly on the same access (for example "simple template" crashed once, > but not when retried after restarting tclhttpd). With threads set to 8, it > will crash on first access by a browser with an access violation, although > the requested (home) page is displayed by the browser. > > If i've enabled threads in the tcl/tk build (I did!), do I also have to > build the threads package? If so, where should it be installed? > > All input appreciated! Yes - you need the thread extension. I'm suprised it doesn't complain during startup that the "package require Thread" doesn't work. Configure and build the thread extension with the same prefix, exec-prefix as your threaded Tcl build, and those Tcl shells should find the thread package after you "make install" it. -- Brent Welch <bre...@in...> http://www.interwoven.com |