File: README.MacOSX

package info (click to toggle)
libapache2-mod-rivet 2.2.0-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,884 kB
  • ctags: 1,016
  • sloc: sh: 12,406; xml: 6,972; tcl: 6,149; ansic: 5,515; makefile: 200; sql: 91; lisp: 78
file content (33 lines) | stat: -rw-r--r-- 1,132 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

$Id: README.MacOSX 290934 2005-09-22 12:57:33Z karl $

Building Rivet isn't 100% turnkey under Mac OS X, but it's getting better
and hopefully it won't be too long until it builds without tweaking.

In the meantime, here's what we do:

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