On Friday 29 August 2008 17:20:19 Laurence Arnold wrote:
> Hi yes there are in fact to pythons in include version 2.4 and 2.5, inside
> the 2.5 directory there is indeed a Python.h
Here's what I remember from the last time I installed Analysis on an
Ubuntu system:
- I definitely had to install (sudo apt-get) the packages
python-dev, tcl-dev and tk-dev . There may have been more.
- The installCode script automatically selected Python 2.4,
and I had to tell it to use 2.5 explicitly.
- The script expects a number of Tcl/Tk header files to
be in /usr/include, but the Ubuntu packages store
the files in /usr/include/tcl8.4 . I solved this
by running the script, making a symbolic link from
/usr/include to /usr/include/tcl8.4 for the file
it complained about, and repeating this process until
there were no more errors.
On a previous occasion last year, I used another approach
by modifying the installCode script (quoting from a message
from last year):
---------------------------------------------------------
I commented out the two "getCodeDir"
lines in the installCode.py script and added lines to set the
various path variable to the following values:
tcl_abs_dir = "/usr"
tcl_lib_dir = "lib/tcl8.4"
tk_abs_dir = "/usr"
tk_lib_dir = "lib/tk8.4"
tcl_incl_dir = "include/tcl8.4"
tk_incl_dir = "include/tcl8.4"
-----------------------------------------------------------
I guess this approach should also still work, unless the
script has changed a lot.
Cheers,
--
Lieven Buts
Ultrastructure Laboratory
Vrije Universiteit Brussel
|