Personal tools
You are here: Home Forum Install & build Salome 3.2.1 in Fedora Core 5

Salome 3.2.1 in Fedora Core 5

Up to Install & build
  • Salome 3.2.1 in Fedora Core 5

    Posted by Stefanescu Silviu at September 02. 2006
    Hello,

    I've tried to install Salome 3.2.1 in FC5. When running, all I get is:

    [root@stefanescu_silviu salome]# ./runSalome
    Searching for a free port for naming service: 2810 - Ok
    Configure parser: processing /root/salome_3.2.1/GUI_3.2.1/share/salome/resources/gui/SalomeApp.xml ...
    Configure parser: Warning : could not find configuration file /root/salome_3.2.1/GUI_3.2.1/share/salome/resources/SalomeApp.xml
    Configure parser: Warning : could not find user configuration file
    GEOM OCAF Resources
    GEOM Shape Healing Resources
    startSalome  {u'portkill': 0, u'file': 0, u'embedded': [u'SalomeAppEngine', u'study', u'cppContainer', u'registry', u'moduleCatalog'], u'killall': 0, 'appname': 'SalomeApp', u'modules': [u'GEOM', u'SMESH', u'VISU', u'SUPERV', u'MED', u'COMPONENT', u'PYCALCULATOR'], u'gui': 1, u'xterm': 0, u'interp': 0, u'pyModules': u'', 'port': 2810, u'splash': 1, u'SMESH_plugins': [u'NETGENPlugin', u'GHS3DPlugin'], u'key': [u'no'], 'plugins': [], 'containers': [], u'logger': 0, u'noexcepthandler': 0, u'standalone': [u'pyContainer', u'supervContainer', 'superv']}
    Lancement du Naming Service runNS.sh > /tmp/logs/silviu/salomeNS.log 2>&1
    Searching Naming Service ++++++++++Failed to narrow the root naming context
    Traceback (most recent call last):
      File "/root/salome_3.2.1/KERNEL_3.2.1/bin/salome/runSalome.py", line 767, in useSalome
        clt = startSalome(args, modules_list, modules_root_dir)
      File "/root/salome_3.2.1/KERNEL_3.2.1/bin/salome/runSalome.py", line 593, in startSalome
        clt=orbmodule.client()
      File "/root/salome_3.2.1/KERNEL_3.2.1/bin/salome/orbmodule.py", line 60, in __init__
        self.initNS()
      File "/root/salome_3.2.1/KERNEL_3.2.1/bin/salome/orbmodule.py", line 93, in initNS
        sys.exit(1)
    SystemExit: 1
    --- erreur au lancement Salome ---

    I have seen the same message in another post, when running under Mandriva. I suppose omniORB is the problem, but installing it both from sources or binaries comes out with the same result. Is there a way to make it work, though?

    • Re: Salome 3.2.1 in Fedora Core 5

      Posted by Arthur Magill at September 02. 2006
      There's a package called omniORBpy (python bindings for omniORB I guess) that I think you're missing. Try installing omniORB and omniORBpy from whatever package manager you have in Fedora, and using those (set 'use native') for your install.
      • Re: Salome 3.2.1 in Fedora Core 5

        Posted by Arthur Magill at September 02. 2006
        Doh! Forgot to include this URL:

        http://opensource.nederland.net/omniORB/
        • Re: Salome 3.2.1 in Fedora Core 5

          Posted by Stefanescu Silviu at September 05. 2006
          Thank you for the tip. I installed omniORB (4.0.7-2) and omniORBpy (2.7-1) with rpm, I changed the config.xml file to accept "use native" for omniORB and omniORB config file to detect the installed omniORB and omniORBpy. However, something doesn't work, I get another error message when trying to run Salome:

          root@stefanescu_silviu salome]# ./runSalome
          Searching for a free port for naming service: 2810 - Ok
          Traceback (most recent call last):
            File "", line 1, in ?
          ImportError: No module named CORBA
          Traceback (most recent call last):
            File "/root/salome_3.2.1/KERNEL_3.2.1/bin/salome/runSalome.py", line 23, in ?
              import orbmodule
            File "/root/salome_3.2.1/KERNEL_3.2.1/bin/salome/orbmodule.py", line 21, in ?
              from omniORB import CORBA
            File "./__init__.py", line 227, in ?
          ImportError: /usr/lib/python2.3/site-packages/_omnipymodule.so: undefined symbol: PyUnicodeUCS4_DecodeUTF16

          I assume that omniORB or omniORBpy are not installed correctly, but I can't figure what is the cause. A little more help, please?
          • Re: Salome 3.2.1 in Fedora Core 5

            Posted by Sergey Mozokhin at September 06. 2006
            Stefanescu Silviu wrote:
            ImportError: /usr/lib/python2.3/site-packages/_omnipymodule.so: undefined symbol: PyUnicodeUCS4_DecodeUTF16

            I assume that omniORB or omniORBpy are not installed correctly, but I can't figure what is the cause. A little more help, please?


            Hello. This means that omni which you installed and python in your system are not compatible (installed omniPy is compiled with python with Unicode support, but default python in /usr/lib is compiled without). The easiest way is to choose in Install Wizard also precompiled binaries of python, it should help.

            Other way is to install omni and python from Install Wizard with option "from sources". This means that omni and python will be compiled from scratch during installation procedure.

            Cheers,

            Sergey.

Powered by Ploneboard
Document Actions