On Apr 24, 2006, at 19:17, Alan W. Irwin wrote:
> On 2006-04-24 06:54-0400 Koen van der Drift wrote:
>> On Apr 24, 2006, at 3:08 AM, Alan W. Irwin wrote:
>>> If it turns out to be bad syntax, then we can massage these
>>> results with sed
>>> to get them in the correct syntax on the Mac OS X platform. I
>>> hope it is
>>> something simple like that because the python interface is
>>> essential to our
>> Note that in my case, python is installed in the fink /sw
>> hierarchy, as a typical *nix package, so no Framework-structure.
>> However, it also generates a warning/error, although not fatal.
>> - Koen.
> Thanks for that report. I am glad to hear that our python
> interface is
> working for the test PLplot release and fink python. That's
> definitely a
> step in the right direction.
> It also sounds like we are quite close to having everything working
> for the
> Apple python case, but somebody (Hazen?) with access to Mac OS X
> who is
> using Apple python is going to have to verify what Per has said
> (and test
> the results with ./plplot-test.sh --front-end=python) and write up all
> the special requirements in the INSTALL file.
I've pasted a diff against CVS of python.ac below which I think is
part of the problem.
As I understand this from a quick scan, this is the test whether or
not python should be enabled.
To me it seems that whatever the settings of PYTHON_CPPFLAGS etc.
this test will only look in $prefix/include and /usr/include.
The way to fix this would probably be to make sure that it uses the
path obtained, in Hazen's case:
checking for the distutils Python package... yes
checking for Python include path... -I/Library/Frameworks/
checking for Python library path... -L/Library/Frameworks/
checking for Python site-packages path... /Library/Frameworks/
Hope this helps, I won't have time to look further into this for now.
RCS file: /cvsroot/plplot/plplot/cf/python.ac,v
retrieving revision 1.8
diff -u -d -b -w -r1.8 python.ac
--- cf/python.ac 27 Apr 2005 06:43:41 -0000 1.8
+++ cf/python.ac 24 Apr 2006 17:28:14 -0000
@@ -66,7 +66,8 @@
if test "$enable_python" = "yes"; then
if test -z "$with_python_incdir"; then
+ /usr/include/python$PYTHON_VERSION \
PL_FIND_INC(Python, with_python_incdir, enable_python)
if test "$enable_python" = no ; then
> Alan W. Irwin
> Astronomical research affiliation with Department of Physics and
> University of Victoria (astrowww.phys.uvic.ca).
> Programming affiliations with the FreeEOS equation-of-state
> for stellar interiors (freeeos.sf.net); PLplot scientific plotting
> package (plplot.org); the Yorick front-end to PLplot
> (yplot.sf.net); the
> Loads of Linux Links project (loll.sf.net); and the Linux Brochure
> Linux-powered Science
> Using Tomcat but need to do more? Need to support web services,
> Get stuff done quickly with pre-integrated technology to make your
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Plplot-devel mailing list