|
From: Daniel T. <te...@fo...> - 2001-11-08 09:59:50
|
Hi Alan,
> (2) Get to the bottom of why plplot is not finding one or both of the
> python headers or the numpy headers. It essentially looks for Python.h and
> arrayobject.h. Are those both somewhere on your system? If not, there might
> be development versions of the python and numeric packages you still have to
> install. If they are both there, you probably have to modify plplot
> configuration a little by setting environment variables to help configure
> for plplot find the headers. The relevant variables are PYTHON_INC_DIR and
> PYTHON_NUM_DIR. I haven't tried this but try setting these environment
> variables respectively to the directories where Python.h and arrayobject.h
> are located. This should occur just before the configure step in the spec
> file. With this change to the spec file, I think configure will go ahead and
> configure python and numpy properly. Give it a try, and let me know whether
> it works. (If it doesn't work, let me know all the messages that you get
> from configure. If those are okay for python, then you are probably
> generating plmodule.so OK, and you may simply have to change the directory
> in the specfile file list which identifies where plmodule.so is installed.)
It worked. That was it. It is built now with Python2 and Numeric
20.2.1...
Thanks for your help
Daniel
--
***********************************************************************
Daniel TOURDE E-mail : dan...@fo...
Tel : +46 (0)8-55 50 43 44
Cellular : +46 (0)70-849 93 40
FOI, Swedish Defence Research Agency; Aeronautics Division - FFA
Dept. of Wind Energy and Aviation Environmental Research
SE-172 90 Stockholm, Sweden Fax : +46 (0)8-25 34 81
***********************************************************************
|