PennMUSH Community

root/1.8.3/trunk/hints/mac_os_x.txt

Revision 1032, 1.2 kB (checked in by shawnw, 1 year ago)

Merged 1.8.3p4 into trunk

Line 
1 With the Xcode Developer Tools installed, configuring and building
2 just works. OS X includes OpenSSL and Sqlite3. MySQL and gettext-style
3 message translation isn't bundled with OS X, and must be installed
4 seperately. The fink package manager is recommended. It can be
5 downloaded at http://fink.sourceforge.net/
6
7 Once fink is installed, use the 'Fink Commander' application to
8 install packages, or, from the command line as an administrator, 'sudo
9 fink install PACKAGE'.
10
11 The important packages for Penn:
12
13 mysql15-dev      : MySQL
14 postgresql82-dev : Postgresql
15 libgettext3-dev  : Message translation.
16
17 Answer yes when if asked if you want to install additional packages
18 that they depend on.
19
20 fink installs packages in the /sw tree, which configure does not
21 normally check. Run it like so for message translation:
22
23 % CPPFLAGS=-I/sw/include LDFLAGS=-L/sw/lib ./configure
24
25 The database servers will be detected as long as /sw/bin is your path,
26 which, if you followed the installation istructions for fink,
27 will. Otherwise, run configure as:
28
29 % ./configure --with-mysql=/sw/bin/mysql_config
30 or
31 % ./configure --with-postgresql=/sw/bin/pgconfig
32
33 Misc. Stuff:
34
35 On PowerPC Macs, consider adding -mdynamic-no-pic to CFLAGS.
36
Note: See TracBrowser for help on using the browser.