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