From: Bruce S. <Bru...@nc...> - 2007-12-25 16:17:02
|
There are two different issues: where is Python, and where will visual be installed. If you said --prefix=/usr/local but didn't specify that Python was to be found in /usr, you would have a problem. From the Linux download page at vpython.org: *which python* (find out where Python is located)* * Make a note of the /prefix/ preceding /bin/python, such as /usr or /usr/local. (a) If /prefix/ is /usr/local, execute *../visual-x.x.x/configure* (b) If /prefix/ is something else, and Visual can go into prefix/lib/python/site-packages, execute * ../visual-x.x.x/configure --prefix=*/prefix/ (c) If you want to use a different version of Python than the one found with "which python", or (b) is not appropriate, specify both the particular Python and where to install Visual: * PYTHON=/somewhere1/bin/python ../visual-x.x.x/configure --prefix=/somewhere2* If "somewhere1" and "somewhere2" are different, you must also add the "somewhere2" directory to Python's module search path. For details, at www.python.org <http://www.python.org> read section 4.1 (Modifying Python's Search Path) in the section Installing Python Modules of the Python 2.3 on-line documentation. Bruce Sherwood Frédéric Mantegazza wrote: > On mardi 25 décembre 2007, Bruce Sherwood wrote: > > >> Thanks for the detailed report. I don't expect to be able very soon to >> address the issue of better reporting of precisely which libraries are >> missing, but some day.... I'm puzzled about the boost libraries, as I >> thought those were checked. >> > > Ok. > > >> The problem with numpy sounds like an error >> in issuing the configure command: you need configure --prefix=/usr if >> Python and its site-packages are in /usr. As is documented in the >> install instructions, by default configure assumes the target Python is >> in /usr/local. >> > > I understand, but I want to install manually compiled packages > in /usr/local, so I set --prefix to that dir. I may have to give another > param to tell configure to search dependent libs? Anyway, it is not a big > problem. > > |