Personal tools
You are here: Home Forum Install & build Installation SALOME 3.2.6 on Mandriva 2007

Installation SALOME 3.2.6 on Mandriva 2007

Up to Install & build
  • Installation SALOME 3.2.6 on Mandriva 2007

    Posted by Patrice Genet at May 25. 2007
    Hi,
    For information, I have installed SALOME 3.2.6 compiled for  Mandriva 2006 32 bits  on a Mandriva 2007 operating on a HP laptop.
    Salome 3.2.6 works perfectly.
    Thanks a lot.

    • Re: Installation SALOME 3.2.6 on Mandriva 2007

      Posted by cliff at May 30. 2007
      Patrice Genet wrote:
      Hi,
      For information, I have installed SALOME 3.2.6 compiled for  Mandriva 2006 32 bits  on a Mandriva 2007 operating on a HP laptop.
      Salome 3.2.6 works perfectly.
      Thanks a lot.


      Hi I'm beginner with that software, can you write step by step how you did that,
      i can't find readme file in my package.
      thanks
      • Re: Installation SALOME 3.2.6 on Mandriva 2007

        Posted by Renaud SALIOU at July 26. 2007
        I tried to install Salome 3.2.6 for mdv2006 on mdv2007.1 on both architectures (i586 and x86_64) and i have trouble with omniORB. I tried to adjust config.xml without success (same errors when i use native omniORB and automatic compilation failed ). I continue to look for.

        ###############" Install on i586
        [root@tahoe download]# rm -rf /opt/salome_3.2.6/ ; cd
        /root/download/InstallWizard_3.2.6_Mandriva2006.0 ; ./runInstall

        Not supported Linux platform!
        Trying to use default configuration file!

        [root@tahoe InstallWizard_3.2.6_Mandriva2006.0]# /root/salome_appli_3.2.6
        directory already exists, nothing done

        [root@tahoe InstallWizard_3.2.6_Mandriva2006.0]# D=/opt/salome_3.2.6 ; cd $D ;
        . env_products.sh ; . KERNEL_3.2.6/salome.sh ; . env_build.sh ; cd -
        /root/download/InstallWizard_3.2.6_Mandriva2006.0
        [root@tahoe InstallWizard_3.2.6_Mandriva2006.0]# cd
        /opt/salome_3.2.6/KERNEL_3.2.6 ; . salome.sh ; cd - ; runSalome --gui
        /root/download/InstallWizard_3.2.6_Mandriva2006.0
        Traceback (most recent call last):
          File "/opt/salome_3.2.6/KERNEL_3.2.6/bin/salome/envSalome.py", line 28, in

            import runSalome
          File "/opt/salome_3.2.6/KERNEL_3.2.6/bin/salome/runSalome.py", line 23, in

            import orbmodule
          File "/opt/salome_3.2.6/KERNEL_3.2.6/bin/salome/orbmodule.py", line 21, in

            from omniORB import CORBA
        ImportError: No module named omniORB

        ###############" Install on x86_64
        [root@guerre InstallWizard_3.2.6_Mandriva2006.0_64]# D=/opt/salome_3.2.6 ; cd
        $D ; . env_products.sh ; . KERNEL_3.2.6/salome.sh ; . env_build.sh ; cd -
        /root/download/InstallWizard_3.2.6_Mandriva2006.0_64
        [root@guerre InstallWizard_3.2.6_Mandriva2006.0_64]# cd
        /opt/salome_3.2.6/KERNEL_3.2.6 ; . salome.sh ; cd - ; runSalome --gui
        /root/download/InstallWizard_3.2.6_Mandriva2006.0_64
        Configure parser: Warning : could not find user configuration file
        Configure parser: Warning : could not find user configuration file
        Searching for a free port for naming service: 2810 2811 2812 - OK
        Lancement du Naming Service runNS.sh > /tmp/logs/root/salomeNS.log 2>&1
        Searching Naming Service + found in 0.1 seconds
        Searching /Containers/guerre/FactoryServerPy in Naming Service +++++ found in
        2.5 seconds
        Searching /Containers/guerre/SuperVisionContainer in Naming Service ++ found
        in 1.0 seconds
        Searching /Kernel/Session in Naming Service ++++Traceback (most recent call
        last):
          File "/opt/salome_3.2.6/KERNEL_3.2.6/bin/salome/runSalome.py", line 802, in
        useSalome
            clt = startSalome(args, modules_list, modules_root_dir)
          File "/opt/salome_3.2.6/KERNEL_3.2.6/bin/salome/runSalome.py", line 756, in
        startSalome
            session=clt.waitNSPID("/Kernel/Session",mySessionServ.PID,SALOME.Session)
          File "/opt/salome_3.2.6/KERNEL_3.2.6/bin/salome/orbmodule.py", line 173, in
        waitNSPID
            raise "Impossible de trouver %s" % theName
        Impossible de trouver /Kernel/Session
         
         
        --- erreur au lancement Salome ---
        >>>

        • Re: Installation SALOME 3.2.6 on Mandriva 2007

          Posted by Renaud SALIOU at August 14. 2007
          I corrected few things between python and corba and by now i have a new error:
          /opt/salome_3.2.6/KERNEL_3.2.6/lib/python2.4/site-packages/salome/libNOTIFICATION.py:5: RuntimeWarning: Python C API version mismatch for module swig_runtime_data1: This Python has API version 1013, module swig_runtime_data1 has version 1012.
            import _libNOTIFICATION
          omniORB: Assertion failed.  This indicates a bug in the application using
          omniORB, or maybe in omniORB itself.
           file: pyExceptions.cc
           line: 427
           info: PyClass_Check(excclass)
          omniORB: To endpoint: giop:tcp:132.168.36.21:2810. Send GIOP 1.0 MessageError because a protocol error has been detected. Connection is closed.
          Does anybody have clues totrack this issue, pls ?
          • Re: Installation SALOME 3.2.6 on Mandriva 2007

            Posted by Renaud SALIOU at August 14. 2007
            I restart from beginning to install salome 3.2.6 on Mandriva 2007.1 for i686. I modified config.xml on install parameter to "use native " for gcc,tcltk,sip. And it works with just some warnings about 'import site' failed.
            • Re: Installation SALOME 3.2.6 on Mandriva 2007

              Posted by Alexander Rabtchevich at August 14. 2007
              Renaud SALIOU wrote:
              I restart from beginning to install salome 3.2.6 on Mandriva 2007.1 for i686. I modified config.xml on install parameter to "use native " for gcc,tcltk,sip. And it works with just some warnings about 'import site' failed.


              Could you please provide all the steps lead you to the success? I guess you are the only one here who managed to install Salome on the latest Mandrakes and make it work.
              • Re: Installation SALOME 3.2.6 on Mandriva 2007

                Posted by Renaud SALIOU at August 14. 2007

                Below are commands i type on a mdv2007.1:

                D=~/download
                mkdir $D ; cd $D
                wget -c http://files.opencascade.com/Salome3.2.6/InstallWizard_3.2.6_Mandriva2006.0.tar.gz
                tar xvfz InstallWizard_3.2.6_Mandriva2006.0.tar.gz
                cd InstallWizard_3.2.6_Mandriva2006.0
                vim config.xml
                # Modify line below for targetdir and install property for python product in file config.xml
                #   
                # 
                #           install="install binaries"

                cd /root/download/InstallWizard_3.2.6_Mandriva2006.0 ; ./runInstall -f config.xml –b
                cd /opt/salome_3.2.6/KERNEL_3.2.6 ; . salome.sh ; cd - ; runSalome --gui

                 # There is just a warning message at beginning after launch/usr/lib/python2.5/site-packages/_xmlplus/parsers/expat.py:4: RuntimeWarning: Python C API version mismatch for module pyexpat: This Python has API version 1012, module pyexpat has version 1013. from pyexpat import *

                $KERNEL_ROOT_DIR/bin/salome/appliskel/runSession killSalome.py     # to stop completely Salome

                From this base, i suppose it's possible to redo installation to use one by one native products already installed.

                Below is packages i found quite similar to those packaged in Salome:

                urpmi swig swig-devel libboost1 libboost1-devel graphviz tcl tk autoconf automake doxygen libtool libtool-base libcppunit1.12_0 libcppunit1.12_0-devellibqwt5 libqwt5-devel libqwtplot3d0 libqwtplot3d0-devel python-qwt libomniorb4 libomniorb4-devel libomniorbpy2 omniorb PyQt PyQt-devel hdf5 libhdf5_0 libhdf5_0-devel docutils python-itkvtk python-vtk python-vtk-devel tcl-vtk tcl-vtk-devel vtk-data vtk-test-suite vtk-doc vtk-examples libvtk-qt libvtk-devel libvtk itkvtk-devel libpython2.5-devel python-scientific-devel python-numarray-devel libomniorbpy2 libomniorbpy2-devel libomniorbpy-doc


          • Re: Installation SALOME 3.2.6 on Mandriva 2007

            Posted by varun gupta at September 04. 2007

            Renaud SALIOU wrote:
            I corrected few things between python and corba and by now i have a new error:
            /opt/salome_3.2.6/KERNEL_3.2.6/lib/python2.4/site-packages/salome/libNOTIFICATION.py:5: RuntimeWarning: Python C API version mismatch for module swig_runtime_data1: This Python has API version 1013, module swig_runtime_data1 has version 1012.
              import _libNOTIFICATION
            omniORB: Assertion failed.  This indicates a bug in the application using
            omniORB, or maybe in omniORB itself.
             file: pyExceptions.cc
             line: 427
             info: PyClass_Check(excclass)
            omniORB: To endpoint: giop:tcp:132.168.36.21:2810. Send GIOP 1.0 MessageError because a protocol error has been detected. Connection is closed.
            Does anybody have clues totrack this issue, pls ?

            could u tell me what libraries are using in salome



Powered by Ploneboard
Document Actions