From: Rafael L. <lab...@ps...> - 2003-08-16 11:36:47
|
* Alan W. Irwin <ir...@be...> [2003-08-15 17:16]: > On Sat, 16 Aug 2003, Rafael Laboissiere wrote: > > > [...] Clearly, PYTHON_INC_DIR and PYTHON_NUM_DIR are wrong. This happens because > > the list of possible include directories is hardcoded in the file sysloc.in. > > Instead of this, we might change the configure logic to check only > > $prefix/include/python$PYTHON_VERSION (and > > /usr/include/python$PYTHON_VERSION). > > I much prefer this idea which gives no chance for a version mismatch between > the python executable version and the required header files. Same for me. I will try to implement it. > You should also include a failure message that the user needs to install the > python development package with the correct version. The current version of configure issues a warning message when the header file is not found: warning: can't find Python.h, setting enable_python to no What do you mean by "failure message"? Would just an addition to the above warning message mentioning the need to install the correct development package be enough? > Once you get plplot built for python-2.3, the way to test if it actually > works is to run > > $(prefix)/lib/plplot5.2.1/examples/python/pythondemos.py Thanks for the reminder. > Please let us know how that test goes. I will. -- Rafael |