Wayne and Henry,
I noticed something similar to this problem when I upgraded to
Analysis 1.0.15. I had a modified installCode.py script in which I
had a number of optimized C complier flags put in that were specific
for my machine. After removing these flags and just using the -fPIC
and -O3 flags, everything complied just fine. Don't know if this
helps or not, but I thought I should share.
- J
On Aug 9, 2007, at 10:41 AM, Wayne Boucher wrote:
> Hello,
>
> Two possibilities there, either the C code was not compiled
> (successfully)
> or the symbolic links in the python directories back to the C code
> did not
> get made. If you look in /Applications/ccpnmr/ccpnmr1.0/c/memops/
> global
> (for example) do you see any *.so files? If so, the C compilation has
> (probably) worked. If not, it has not, so either it hasn't
> happened (for
> some obscure reason) or something went wrong. The latter can
> happen, for
> example, if some of the "standard" files are missing (or the compiler
> itself!). So check if "cc" exists and check if /usr/X11R6/include/X11
> actually has any *.h files in it (although I think the installation
> script
> checks the latter, if I remember correctly).
>
> If the C compilation is ok the next suspect is that the symbolic
> linking
> has not worked. If so then cd into
> /Applications/ccpnmr/ccpnmr1.0/python/memops/c and do either "source
> linkSharedObjs" or (if that fails because your Mac doesn't like the
> "source" command) then make sure linkSharedObjs is executable (using
> chmod) and then just run it. Do the same in
> /Applications/ccpnmr/ccpnmr1.0/python/ccp/c and
> /Applications/ccpnmr/ccpnmr1.0/python/ccpnmr/c.
>
> By the way, is your Mac 10.3.9 or 10.4? (The former sometimes has
> other
> things missing as well.)
>
> Wayne
>
> On Thu, 9 Aug 2007, Henry Hocking wrote:
>
>> Dear developers,
>>
>> I am trying to install analysis1.0.15 on OS X. I have X Darwin
>> installed, Tcl/Tk, python 2.3.5, running under tcsh I get the
>> following
>> error message when testing analyis:
>>
>> Error, the Analysis module will not work, something is wrong with
>> the C
>> code.
>>
>> Traceback (most recent call last):
>>
>> File
>> "/Applications/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/
>> AnalysisGui.py",
>> line 72, in ?
>>
>> from ccpnmr.analysis.AnalysisPopup import AnalysisPopup
>>
>> File
>> "/Applications/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/
>> AnalysisPopup.py", line 92, in ?
>>
>> from ccpnmr.analysis.Analysis import Analysis
>>
>> File
>> "/Applications/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/Analysis.py",
>> line 83, in ?
>>
>> from memops.c.MemCache import MemCache
>>
>> ImportError: No module named MemCache
>>
>>
>>
>>
>>
>> Henry
>>
>> --
>> University of Edinburgh
>> Joseph Black Chemistry Bldg, West Mains Rd.,
>> Edinburgh EH9 3JJ
>>
------------------------------------------------------------
Johnny E. Croy, Ph.D.
Post-Doctoral Research Fellow
Wuttke Lab
University of Colorado, Bouder
Department of Chemistry and Biochemistry
Cristol Chemistry, UCB 215
Boulder CO 80309-0215
Email: [log in to unmask]
Lab Phone: 1-303-492-2369
------------------------------------------------------------
|