Jhon Thomas wrote:
Hi all



Dear Jhon,
Thanks for your email and apologies for the problem. Fedora 6 was not available to us when we built the packages, but hopefully we can sort you problem out. It certainly will be supported fully in future releases.

[EMAIL PROTECTED] ccp4]$ ./ccp4mg-1.0/bin/ccp4mg
Traceback (most recent call last):
  File "<stdin>", line 2, in ?
  File "/usr/progs/ccp4/ccp4mg- 1.0/python/ui/history.py", line 16, in ?
    from display_table import DT
File "/usr/progs/ccp4/ccp4mg-1.0/python/ui/display_table.py", line 16, in ?
    from mmdb import *
  File "/usr/progs/ccp4/ccp4mg- 1.0/lib/mmdb.py", line 4, in ?
    import _mmdb
ImportError: /usr/progs/ccp4/./ccp4mg-1.0/bin/../lib/libmmdb.so: cannot restore segment prot after reloc: Permission denied

This is a problem related to the SE (Security Enhanced) Linux module in the operating system. Binaries must be "blessed" or given permission to run. As root you need to type (all on one line):

find /usr/progs/ccp4/ccp4mg- 1.0/ -name '*.so*' -exec chcon -t texrel_shlib_t {} \;

Traceback (most recent call last):
  File "/usr/progs/ccp4/./ccp4mg-1.0/bin/..//python/ui/ui.py", line 55, in ?
    from opengl import *
  File "/usr/progs/ccp4/ccp4mg-1.0/lib/opengl.py", line 4, in ?
    import _opengl
ImportError: /usr/progs/ccp4/./ccp4mg- 1.0/bin/../lib/libglut.so.3: undefined symbol: glXBindChannelToWindowSGIX


This looks like a problem with the libglut that we ship with ccp4mg being incompatible with the one expected to be on Fedora 6. You could try to install the libglut package on your system and delete the one in ccp4mg-10/lib. However I am not sure if this is the best course of action. Installing the standalone package from http://www.ysbl.york.ac.uk/~ccp4mg/download/index.html as I think you do below may be a better option.



and  again, when i tried to install this separately:

I get the massage like this:
[EMAIL PROTECTED] ./ccp4mg-1.0/bin/ccp4mg
./ccp4mg-1.0/bin/ccp4mg: line 205: /home/thomas/./ccp4mg-1.0/bin/..//pythondist//bin/python: cannot execute binary file ./ccp4mg-1.0/bin/ccp4mg: line 245: /home/thomas/./ccp4mg-1.0/bin/..//pythondist//bin/python: cannot execute binary file ./ccp4mg-1.0/bin/ccp4mg: line 285: /home/thomas/./ccp4mg-1.0/bin/..//pythondist//bin/python: cannot execute binary file

Is any one have this kind of experience?
please give the suggesstions.

This is slightly wierd. What output do the commands:

file /home/thomas/ccp4mg-1.0/bin/pythondist/bin/python
ldd /home/thomas/ccp4mg-1.0/bin/pythondist/bin/python

give?

Best Wishes,
Stuart McNicholas

Reply via email to