From: Koen v. d. D. <kvd...@ea...> - 2003-12-25 18:02:00
|
On Dec 24, 2003, at 1:28 PM, Alan W. Irwin wrote: > Python: > > PY_VERSION=`python -c 'import sys ; print sys.version[0:3]'` > export PYTHON_INC_DIR=/usr/include/python${PY_VERSION}/ > > The first command is just a trick to get the python version that is > normally > part of the include directory name, but if you know your python > version in > advance it won't be necessary. The export command is the important > one. > Adjust that line (including the correct version number for your default > python) to wherever your python headers are located. Thanks for the input. From previous postings on Mac OSX and plplot I understand that I need to use --disable-shared. However, when shared is disabled, python will be disabled by the configure script. I could compile plplot with shared enabled, but I don't know yet whether the package is usable. I'll do some more testing in the next couple of days if I can find some time during the holidays. Besides python, X11 and tcltk, are there any other packages needed for plplot? thanks, - Koen. |