You'll probably want to also compile Tcl yourself.

Not sure the version included with OS X is compiled with support for
threads, but you'd have to check...

Tcl:

./configure --enable-threads ...

If you don't compile Tcl with support for threads, you won't get the fast
"Zippy" allocator.

- n

On 2/21/07, Michael Andrews <[EMAIL PROTECTED]> wrote:


use your own paths for tcl and aolserver in the configure command of
course...

M

On Feb 21, 2007, at 1:22 PM, Michael Andrews wrote:


I had this same issue.  You need to get and compile tdom from CVS. Do not
get it from a mirror on http://www.tdom.org/

Do this:

cvs -d:pserver:[EMAIL PROTECTED]:/usr/local/pubcvs login
cvs -z3 -d:pserver:[EMAIL PROTECTED]:/usr/local/pubcvs co tdom
../configure --enable-symbols --with-tcl=/usr/local/aolserver/lib
--prefix=/usr/local/aolserver --with-aolserver=/usr/local/aolserver

That'll fix your issue.

On Feb 21, 2007, at 12:48 PM, John Divney wrote:

Hi,

I am having trouble w/ tdom on OS X.  I am able to run make/make install
w/out issue.
This copies the libraries to the aolserver directory, but when I start
AOLServer I get the following error:

[21/Feb/2007:12:44:52][382.2684407744][-main-] Error: tcl: source
/usr/local/aolserver/modules/tcl/init.tcl failed: couldn't find procedure
Tdom_Init
NONE
couldn't find procedure Tdom_Init
   while executing
"ns_eval package require tdom"
   (file "/usr/local/aolserver/modules/tcl/init.tcl" line 64)
   invoked from within
"source $file"

I am calling package require from aolserver/modules/tcl/init.tcl

The libraries are in /aolserver/lib/tdom0.8.0

When I grep for Tdom_Init is is only in the .a file, not in the .so or
.dylib file, so I think I am doing something wrong w/ my CONFIG file.

Here is how I am calling that.

../configure \
  --mandir=/usr/local/share/man \
  --enable-threads \
  --prefix=/usr/local/aolserver \
  --libdir=/System/Library/Tcl \
  --with-tcl=/System/Library/Frameworks/Tcl.framework \
  --with-tclinclude=/System/Library/Frameworks/Tcl.framework/Headers

I have tried a ton of alternatives, read through posts on openacs site,
and some others, but nothing seems to work.
Any help is appreciated !

Thanks!

div


--
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.




--
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.




--
Nathan Folkman
[EMAIL PROTECTED]


--
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.

Reply via email to