You mght try to build against the latest SVN source tree, however, try this:

Build and install tclsh8.4 and apache from darwinports, plus other stuff like postgres. Go get Pgtcl off of gborg.postgresql.org and get it built and installed. (If you want to use a SQL database, this is one way to go about it, and we've had good results with it.)

Run the configure script:

tclsh8.4 ./configure.tcl -prefix /opt/local -with-apxs /opt/local/ sbin/apxs -verbose -with-tclconfig /opt/local/lib/tclConfig.sh

It will complain about several undefined variables.

Edit configs.tcl and change

set ::configs::TCL_SHLIB_LD {}

to be

set ::configs::TCL_SHLIB_LD {cc -dynamiclib -undefined suppress - flat_namespace}
~

tclsh8.4 make.tcl

tclsh8.4 make.tcl install

On Sep 27, 2005, at 1:42 PM, Michael Rogers wrote:

I've searched everywhere, but can't find a build for mac os X. I've obtained the sources from cvs, and after much mangling of build scripts, have gotten it to compile, but not successfully run (apache doesn't complain when it loads the module, but it doesn't regonize my .rvt or .tcl files, and when I shut down apache, it complains that "Cannot remove module mod_rivet.c: not found in module list").

My question:
Do I need to keep plugging at it, or am I re-inventing the wheel (has someone already gotten in to compile and run on the Mac)?

Any pointers would help.

Many thanks,

Michael Rogers
Assistant Professor
Computer Science
Tennessee Technological University
[EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to