Hello,
It's a bit worrying that it doesn't seem to have attempted to compile
SpecView. So after it asks about using the -fPIC compiler flag it should
actually try and compile SpecView, e.g.:
Use -fPIC compiler flag (y or n) (if gcc compiler y, otherwise n; answer y
unless you know otherwise)? y
cd memops/global && make
make[1]: Entering directory
`/scratch/wb104/ccpnmr/ccpnmr3.0/cNg/memops/global'
cc -O2 -fPIC -DDO_NOT_HAVE_MALLOC -I/usr/include/python2.7
-I/usr/lib/python2.7/dist-packages/numpy/core/include/numpy -c
npy_contourer.c
etc.
If you:
> ls /home/kanyi/ccpnmr/ccpnmr3.0/cNg/memops/global
you should be seeing some *.o files and some *.so files and I guess you
have neither??
Wayne
On Mon, 3 Dec 2012, Balázs Attila wrote:
> Hello.
>
> I tried install specView1.0.2.tar.gz package, on Ubuntu 12.04 LTS. Intel i3 processor, 64bit
> system. The installation runing correctly, but I can't start the software.
> Installation parameters:
> Assuming your platform is linux
> Are you using 64 bit libraries? (answer n unless you know otherwise) (y or n))? n
> Found Python include match: /usr/include/python2.7_d
> Found Python lib match: /usr/lib/python2.7
> Need to know where Python directory is, in order to compile specView
> This directory should contain [include/*/python2.*, lib*/*/python2.*], and /usr does
> Guess Python dir = "/usr", is this correct (y or n)? y
> Guess Python version = 2.7 (by looking), is this ok (y or n) (reply y unless sure otherwise)?
> y
> Compile and install specView code (y or n)? y
> You can create environment file from scratch (this does not copy it from
> environment_default.txt)
> If you have already created it and edited it by hand you probably do not want to create it
> again here.
> Create environment file (y or n) (answer y unless you know otherwise)? y
> Use -fPIC compiler flag (y or n) (if gcc compiler y, otherwise n; answer y unless you know
> otherwise)? y
> Backing up ccpnmr3.0/cNg/environment.txt to ccpnmr3.0/cNg/environment.bak
> Do you want to create a bin directory (answer y unless you know otherwise) (y or n)? y
> Creating the bin directory
> Finished installation script
>
> The message I've got when I try start the program:
>
> $./specView
> Traceback (most recent call last):
> File "/home/kanyi/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/SpecView.py", line 3, in <module>
> from ccpnmr.specView.gui.DisplayPanel import DEFAULT_COLORS
> File "/home/kanyi/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/DisplayPanel.py", line 24, in
> <module>
> from ccpnmr.specView.gui.SpecPanel import SpectrumPanel
> File "/home/kanyi/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/SpecPanel.py", line 22, in
> <module>
> from ccpnmr.specView.model.Spectrum import SCALES, PPM, POINT, WIDTH, FREE, HZ
> File "/home/kanyi/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/model/Spectrum.py", line 12, in
> <module>
> from ccpnmr.cNg.Peak import findPeaks, fitPeaks
> ImportError: No module named Peak
> Error in sys.excepthook:
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 66, in apport_excepthook
> from apport.fileutils import likely_packaged, get_recent_crashes
> File "/usr/lib/python2.7/dist-packages/apport/__init__.py", line 1, in <module>
> from apport.report import Report
> File "/usr/lib/python2.7/dist-packages/apport/report.py", line 18, in <module>
> import problem_report
> File "/usr/lib/python2.7/dist-packages/problem_report.py", line 14, in <module>
> import zlib, base64, time, sys, gzip, struct, os
> File "/usr/lib/python2.7/gzip.py", line 36, in <module>
> class GzipFile(io.BufferedIOBase):
> AttributeError: 'module' object has no attribute 'BufferedIOBase'
>
> Original exception was:
> Traceback (most recent call last):
> File "/home/kanyi/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/SpecView.py", line 3, in <module>
> from ccpnmr.specView.gui.DisplayPanel import DEFAULT_COLORS
> File "/home/kanyi/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/DisplayPanel.py", line 24, in
> <module>
> from ccpnmr.specView.gui.SpecPanel import SpectrumPanel
> File "/home/kanyi/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/SpecPanel.py", line 22, in
> <module>
> from ccpnmr.specView.model.Spectrum import SCALES, PPM, POINT, WIDTH, FREE, HZ
> File "/home/kanyi/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/model/Spectrum.py", line 12, in
> <module>
> from ccpnmr.cNg.Peak import findPeaks, fitPeaks
> ImportError: No module named Peak
>
> Any idea to solve this problem?
>
> Best,
> Attila
>
>
>
|