Hi, i have been trying to install Analysis onto Kubuntu 8.04 for a few
days now, originally I could get to the very last step when it would
punch out an error ....
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
In file included from python_util.c:48:
python_util.h:51:20: error: Python.h: No such file or directory
In file included from python_util.c:48:
python_util.h:74: error: expected ‘)’ before ‘*’ token
python_util.h:77: error: expected ‘)’ before ‘*’ token
python_util.h:80: error: expected ‘)’ before ‘*’ token
python_util.h:83: error: expected ‘)’ before ‘*’ token
python_util.h:86: error: expected ‘)’ before ‘*’ token
python_util.h:89: error: expected ‘)’ before ‘*’ token
python_util.h:92: error: expected ‘)’ before ‘*’ token
python_util.h:95: error: expected ‘)’ before ‘*’ token
python_util.h:98: error: expected ‘)’ before ‘*’ token
python_util.h:101: error: expected ‘)’ before ‘*’ token
python_util.h:103: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
python_util.h:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
python_util.h:109: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
python_util.h:112: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
python_util.h:116: error: expected ‘)’ before ‘*’ token
python_util.h:119: error: expected ‘)’ before ‘*’ token
python_util.c:52: error: expected ‘)’ before ‘*’ token
python_util.c:57: error: expected ‘)’ before ‘*’ token
python_util.c:71: error: expected ‘)’ before ‘*’ token
python_util.c:123: error: expected ‘)’ before ‘*’ token
python_util.c:181: error: expected ‘)’ before ‘*’ token
python_util.c:236: error: expected ‘)’ before ‘*’ token
python_util.c:297: error: expected ‘)’ before ‘*’ token
python_util.c:359: error: expected ‘)’ before ‘*’ token
python_util.c:414: error: expected ‘)’ before ‘*’ token
python_util.c:475: error: expected ‘)’ before ‘*’ token
python_util.c:537: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
python_util.c:556: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
python_util.c:575: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
python_util.c:595: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
python_util.c:623: error: expected ‘)’ before ‘*’ token
python_util.c:652: error: expected ‘)’ before ‘*’ token
make[1]: *** [python_util.o] Error 1
make[1]: Leaving directory
`/home/laurence/Documents/CCPNMR/ccpnmr/ccpnmr1.0/c/memops/global'
make: *** [global] Error 2
Do you want to create a bin directory (answer y unless you know
otherwise) (y or n)? y
Creating the bin directory
Could not remove directory ccpnmr1.0/data/ccp/chemComp/nonpolymer
(probably not a problem)
Run Analysis (as test) (y or n)? y
Error, the Analysis module will not work, something is wrong with the C
code.
Traceback (most recent call last):
File
"/home/laurence/Documents/CCPNMR/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisGui.py",
line 72, in <module>
from ccpnmr.analysis.AnalysisPopup import AnalysisPopup
File
"/home/laurence/Documents/CCPNMR/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py",
line 92, in <module>
from ccpnmr.analysis.Analysis import Analysis
File
"/home/laurence/Documents/CCPNMR/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/Analysis.py",
line 83, in <module>
from memops.c.MemCache import MemCache
ImportError: No module named MemCache
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
So after alot of searching i found this webpage -
http://canyouanalysethis.blogspot.com/2006/06/analysis-on-dapper-drake_12.html
However i have now installed tcl8.5 / tk8.5 and changed the appropriate
lines in the installcode.py but i can never get passed this stage
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Are you using 64 bit libraries? (answer n unless you know otherwise) (y
or n))? n
Assuming you have already installed Tcl on your computer (if you want to
use our Tcl8.5 you will need to download it first).
[ did not find match for tcl.h in /usr/include ]
[ did not find match for tcl.h in /usr/include ]
Need to know where Tcl directory is, in order to compile Analysis
(This directory should contain include/*/[tcl.h] and (lib or
lib32)/[tclConfig.sh])
Where is the Tcl dir? /usr
[ did not find match for tcl.h in /usr/include ]
Found 2 copies of tcl.h in /usr/include/*:
3: /usr/include/tcl8.5
3: /usr/include/tcl8.5/tcl-private/generic
Which number do you want (1 to 2)? 1
[ using /usr/include/tcl8.5 for tcl.h ]
[ did not find match for tclConfig.sh in /usr/lib ]
[ did not find match for tclConfig.sh in /usr/lib32 ]
Could not find required files include/*/[tcl.h] and (lib or
lib32)/[tclConfig.sh] in /usr
Where is the Tcl dir? /usr/include
[ did not find match for tcl.h in /usr/include/include ]
Traceback (most recent call last):
File "installCode.py", line 1409, in <module>
main(log_file)
File "installCode.py", line 1120, in main
(tk_abs_dir, tk_incl_dir, tk_lib_dir) = (tcl_abs_dir, tcl_incl_dir,
tcl_lib_dir) = getCodeDirs('Tcl', sysDir, tcl_abs_dir, ('tcl.h',),
('tclConfig.sh',), searchForInclude=1)
File "installCode.py", line 1017, in getCodeDirs
result = allFilesFound(dir, reqdInclFiles, reqdLibFiles,
allowMultiDirs, searchForInclude)
File "installCode.py", line 957, in allFilesFound
incl_dir = searchForReqdFile(inclDir, reqdInclFiles[0])
File "installCode.py", line 916, in searchForReqdFile
searchForFile(dir, reqdFile, foundDirs)
File "installCode.py", line 905, in searchForFile
files = os.listdir(dir)
OSError: [Errno 2] No such file or directory: '/usr/include/include'
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Biggest apologies for the very large Email! if anyone could help i would
most appreciate it.
Kind Regards
Laurence Arnold
Biophysics
|