I used a virgin OS 10.4 install ( cd)
Patch to current Apple Upgrades
Installed Dev Tools From same CD
1 Install Darwin Ports …
darwinports.opendarwin.org/getdp/
Fallow Current Instructions
- ports
sudo port install jpeg
sudo port install libpng
sudo port install tiff (Will also Grab zlib)
sudo port install freetype
sudo port install fftw
fftw @2.1.5_2 (active)
freetype @2.1.10_1 (active)
jpeg @6b_1 (active)
libpng @1.2.8_2+darwin_8 (active)
tiff @3.8.0_0+darwin_8 (active)
zlib @1.2.3_0 (active)
By default the ports are installed into the /opt/ directory tree s set you path and such …
Get Python 2.4
Python version is 2.4 from python.org/download/mac/ (used installers)
My Bash Profile… …
PATH=/Library/Frameworks/Python.framework/Versions/2.4/bin:${PATH}
:/usr/local/panda/bin/:/opt/local/bin/:
~/bin/:/Library/Frameworks/Python.framework/Versions/2.4/bin
C_INCLUDE_PATH=/usr/include/malloc/ ; export C_INCLUDE_PATH
CPLUS_INCLUDE_PATH=/usr/include/malloc/ ; export CPLUS_INCLUDE_PATH
LOCAL_PPREMAKE_CONFIG=/Users/roger/Config.pp ; export LOCAL_PPREMAKE_CONFIG
PPREMAKE_CONFIG=/Users/roger/Config.pp ; export PPREMAKE_CONFIG
DTOOL=/home/roger/player/dtool
PYTHONPATH=/Users/roger/player:/usr/local/panda/lib; export PYTHONPATH
CVS_RSH=/usr/bin/ssh ; export CVS_RSH
MACOSX_DEPLOYMENT_TARGET=10.4; export MACOSX_DEPLOYMENT_TARGET
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}/usr/local/panda/lib: ; export DYLD_LIBRARY_PATH
…
sudo mkdir /usr/local/panda
sudo chmod 777 /usr/local/panda
…
mkdir player
cd player
cvs -d xxxxxxxxxx@cvs.sourceforge.net:/cvsroot/panda3d co ppremake
aclocal
autoheader
automake --foreign -a
autoconf
./configure -with-platform=osx
make install
…
Create Local Config.pp
In home directory
… Config.pp looks like
#define OPTIMIZE 2
#define HAVE_GL 1
#define INSTALL_PYTHON_SOURCE
#define GENPYCODE_LIBS libtoontown libotp libpandaexpress libpanda libpandaphysics libdirect libpandafx
#define PRC_PATH_ENVVARS CFG_PATH ETC_PATH
#define DEFAULT_PATHSEP : :
… dtools
cvs -d xxxxxxxxxxxxxxxxxx@cvs.sourceforge.net:/cvsroot/panda3d co dtool
cd dtools
ppremake
make install
… panda
cvs -d xxxxxxxxxxxxxxxx@cvs.sourceforge.net:/cvsroot/panda3d co dtool
cd panda
ppremake
make install