On 2009-07-27 20:16+0900 Valery Pipin wrote: > while printenv give : > CMAKE_INCLUDE_PATH=/usr/include:/usr/include/python2.5:/usr/include/numpy > still I have: > error: arrayobject.h: No such file or directory
Sorry, Valery. I was making an incorrect assumption about our build system when I responded to your previous post. It turns out that before we were assuming that the python -c "import numpy; print numpy.get_include()" command would _always_ obtain the parent of the numpy directory where arrayobject.h would be found. For some reason that assumption is not correct on your platform. I have now (revision 10182 for our svn trunk version) changed our build system so it uses find_path to look for arrayobject.h in the numpy case _guided by_ the above numpy.get_include() result. This new logic should work for most users without them having to do anything special. However, since we now use find_path, CMAKE_INCLUDE_DIR (either cache variable specified with -D option or environment variable specified with export) should work for those cases (like yours) where arrayobject.h is not in the expected place. Please test revision 10182 to confirm that this solves your problem. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general