Dear Phenix users, I am a new user of phenix. When I install it in a new machine installed Linux F4, I meet a problem in gtk. I paste the information( the reported err is in red words). " generating PHENIX environment setup script creating /marmor9/pub/bin/phenix-1.1a/phenix_env generating libtbx environment additions creating $PHENIX_BUILD/dispatcher_include_phenix.sh setting environment configuring PHENIX components /marmor9/pub/bin/phenix-1.1a/build/intel-linux/python/bin/gtk-query-immodules-2.0: error while loading shared libraries: /marmor9/pub/bin/phenix-1.1a/build/intel-linux/python/lib/libgdk-x11-2.0.so.0: cannot restore segment prot after reloc: Permission denied generating gdk-pixbuf.loaders file" .....other is ok After installation, i source the env and run with phenix command, it told me these errors: File "/marmor9/pub/bin/phenix-1.1a/phenix/wxGUI/wxPhenix.py", line 11, in ? from wxPython.wx import * File "/marmor9/pub/bin/phenix-1.1a/build/intel-linux/python/lib/python2.4/site-packages/wx-2.5.3-gtk2-ansi/wxPython/__init__.py", line 10, in ? import _wx File "/marmor9/pub/bin/phenix-1.1a/build/intel-linux/python/lib/python2.4/site-packages/wx-2.5.3-gtk2-ansi/wxPython/_wx.py", line 3, in ? from _core import * File "/marmor9/pub/bin/phenix-1.1a/build/intel-linux/python/lib/python2.4/site-packages/wx-2.5.3-gtk2-ansi/wxPython/_core.py", line 15, in ? import wx._core File "/marmor9/pub/bin/phenix-1.1a/build/intel-linux/python/lib/python2.4/site-packages/wx-2.5.3-gtk2-ansi/wx/__init__.py", line 42, in ? from wx._core import * File "/marmor9/pub/bin/phenix-1.1a/build/intel-linux/python/lib/python2.4/site-packages/wx-2.5.3-gtk2-ansi/wx/_core.py", line 4, in ? import _core_ ImportError: /marmor9/pub/bin/phenix-1.1a/build/intel-linux/python/lib/libgdk-x11-2.0.so.0: cannot restore segment prot after reloc: Permission denied Then I share this disk and source and run in another machine install red-hat 9, it did work. So maybe some library configurations are different, but since I have no too much experience about it. Is it possible for your expert give me some suggestion? Thank you in advance for your any suggestions! Best regards, Cheng Luo, Ph.D. Cheng Luo, Ph.D. Marmorstein's Lab Room 327,3601 Spruce StreetThe Wistar Institute PA(19104) USA Tel:215-898-2304 2006-01-06
chcon -c -v -R -u system_u -r object_r -t lib_t /marmor9/pub/bin/phenix-1.1a/build/intel-linux/python/lib/ will probably do the trick. Look up SELinux for more information at http://www.nsa.gov/selinux/info/faq.cfm hope this helps :) Erik On Fri, 6 Jan 2006, Cheng Luo, Ph.D. wrote:
Dear Phenix users,
I am a new user of phenix. When I install it in a new machine installed Linux F4, I meet a problem in gtk. I paste the information( the reported err is in red words).
" generating PHENIX environment setup script
creating /marmor9/pub/bin/phenix-1.1a/phenix_env
generating libtbx environment additions
creating $PHENIX_BUILD/dispatcher_include_phenix.sh
setting environment
configuring PHENIX components
/marmor9/pub/bin/phenix-1.1a/build/intel-linux/python/bin/gtk-query-immodules-2.0: error while loading shared libraries: /marmor9/pub/bin/phenix-1.1a/build/intel-linux/python/lib/libgdk-x11-2.0.so.0: cannot restore segment prot after reloc: Permission denied generating gdk-pixbuf.loaders file"
.....other is ok
After installation, i source the env and run with phenix command, it told me these errors: File "/marmor9/pub/bin/phenix-1.1a/phenix/wxGUI/wxPhenix.py", line 11, in ? from wxPython.wx import * File "/marmor9/pub/bin/phenix-1.1a/build/intel-linux/python/lib/python2.4/site-packages/wx-2.5.3-gtk2-ansi/wxPython/__init__.py", line 10, in ? import _wx File "/marmor9/pub/bin/phenix-1.1a/build/intel-linux/python/lib/python2.4/site-packages/wx-2.5.3-gtk2-ansi/wxPython/_wx.py", line 3, in ? from _core import * File "/marmor9/pub/bin/phenix-1.1a/build/intel-linux/python/lib/python2.4/site-packages/wx-2.5.3-gtk2-ansi/wxPython/_core.py", line 15, in ? import wx._core File "/marmor9/pub/bin/phenix-1.1a/build/intel-linux/python/lib/python2.4/site-packages/wx-2.5.3-gtk2-ansi/wx/__init__.py", line 42, in ? from wx._core import * File "/marmor9/pub/bin/phenix-1.1a/build/intel-linux/python/lib/python2.4/site-packages/wx-2.5.3-gtk2-ansi/wx/_core.py", line 4, in ? import _core_ ImportError: /marmor9/pub/bin/phenix-1.1a/build/intel-linux/python/lib/libgdk-x11-2.0.so.0: cannot restore segment prot after reloc: Permission denied
Then I share this disk and source and run in another machine install red-hat 9, it did work. So maybe some library configurations are different, but since I have no too much experience about it. Is it possible for your expert give me some suggestion?
Thank you in advance for your any suggestions!
Best regards,
Cheng Luo, Ph.D.
Cheng Luo, Ph.D. Marmorstein's Lab Room 327,3601 Spruce StreetThe Wistar Institute PA(19104) USA Tel:215-898-2304 2006-01-06
participants (2)
-
Cheng Luo, Ph.D.
-
Erik Mckee