Personal tools
You are here: Home Forum How to use Salome? compile SMESH_SRC_3.2.2

compile SMESH_SRC_3.2.2

Up to How to use Salome?
  • compile SMESH_SRC_3.2.2

    Posted by pichon at January 21. 2007
    Hi,

    I would like to compile SMESH sources.
    1. source env_build.sh  // to set env
    2. export SMESH_SRC_DIR=${INSTALL_ROOT}/SMESH_SRC_3.2.2 // to set SMESH source dir
    3. cd SMESH_SRC_DIR
    4. ./build_configure //O.K.

    user@ka:/usr/local/salome_3.2.2/SMESH_SRC_3.2.2# ./build_configure rm: ne peut enlever `./salome_adm': est un répertoire

    Updating 'configure.in' file ... done
    Updating 'configure' script ...  done

    user@ka:/usr/local/salome_3.2.2/SMESH_SRC_3.2.2#

    5. ./configure  // ERROR

    ---------------------------------------------
    Summary
    ---------------------------------------------

    Configure
               cc : yes
            boost : yes
         lex_yacc : yes
           python : yes
             swig : yes
          threads : yes
           OpenGL : no
               qt : yes
              vtk : yes
             hdf5 : yes
          omniORB : yes
              occ : no
          doxygen : yes
         graphviz : yes
              qwt : yes
           Kernel : yes
             Geom : yes
              Med : yes

    Default ORB   : omniORB


    ---------------------------------------------
    copying resource files, shell scripts, and
    xml files
    ---------------------------------------------


    ---------------------------------------------
    generating Makefiles and configure files
    ---------------------------------------------

    ln: `/usr/local/salome_3.2.2/SMESH_SRC_3.2.2/./salome_adm': cannot overwrite directory
    configure: creating ./config.status
    config.status: error: cannot find input file: ./salome_adm/unix/SALOMEconfig.h.in
    user@ka:/usr/local/salome_3.2.2/SMESH_SRC_3.2.2#


    Thank You
    • Re: compile SMESH_SRC_3.2.2

      Posted by pichon at January 21. 2007
      In addition, the system env are:

      user@ka:/usr/local/salome_3.2.2/SMESH_SRC_3.2.2# echo ${KERNEL_ROOT_DIR}
      /usr/local/salome_3.2.2/KERNEL_3.2.2

      user@ka:/usr/local/salome_3.2.2/SMESH_SRC_3.2.2# echo ${ROOT_SRCDIR}

      // empty output

      Thank You
    • Re: compile SMESH_SRC_3.2.2

      Posted by Erwan ADAM at January 22. 2007
      pichon wrote:
      Hi,

      I would like to compile SMESH sources.
      1. source env_build.sh  // to set env
      2. export SMESH_SRC_DIR=${INSTALL_ROOT}/SMESH_SRC_3.2.2 // to set SMESH source dir
      3. cd SMESH_SRC_DIR
      4. ./build_configure //O.K.

      user@ka:/usr/local/salome_3.2.2/SMESH_SRC_3.2.2# ./build_configure rm: ne peut enlever `./salome_adm': est un répertoire

      ...



      I think it is an old bug (fixed). SMESH_SRC_3.2.2/salome_adm should
      be a symbolic link to KERNEL_INSTALL/salome_adm ... but, in your case,
      I think that SMESH_SRC_3.2.2/salome_adm is a directory which contain
      a salome_adm which is the symbolic link ? Is that true ? In this case, please
      remove the SMESH_SRC_3.2.2/salome_adm with a rm -rf ...

      E.A.

      • Re: compile SMESH_SRC_3.2.2

        Posted by pichon at January 25. 2007
        Hi,

        When compiling SMESH_build with make, the ERROR comes:

        make[2]: entrant dans le répertoire « /usr/local/salome_3.2.2/SMESH_build/idl »
        /usr/bin/install -c -d  ../lib/python2.3/site-packages/salome
        /usr/local/salome_3.2.2/omniORB-4.0.5/bin/omniidl -bpythonbe -p ../../SMESH_SRC_3.2.2/salome_adm/unix -I/usr/local/salome_3.2.2/ omniORB-4.0.5/idl -I../../SMESH_SRC_3.2.2/idl -I../idl/salome -I/usr/local/salome_3.2.2/KERNEL_3.2.2/idl/salome -I/usr/local/sal ome_3.2.2/GEOM_3.2.2/idl/salome -I/usr/local/salome_3.2.2/MED_3.2.2/idl/salome -C../lib/python2.3/site-packages/salome ../idl/sa lome/SMESH_Gen.idl
        SALOME_Component.idl:53: Warning: Identifier 'Component' clashes with CORBA 3 keyword 'component'
        SALOME_Component.idl:178: Warning: Identifier 'Component' clashes with CORBA 3 keyword 'component'
        GEOM_Gen.idl:1952: Warning: Identifier 'Import' clashes with CORBA 3 keyword 'import'
        SALOMEDS.idl:99: Warning: Forward declared interface 'SALOMEDS::AttributeStudyProperties' was never fully defined
        SALOMEDS.idl:100: Warning: Forward declared interface 'SALOMEDS::AttributeParameter' was never fully defined
        SMESH_Mesh.idl:38: Warning: Forward declared interface 'SMESH::SMESH_GroupBase' was never fully defined
        SMESH_Mesh.idl:174: Warning: Forward declared interface 'SMESH::SMESH_Group' was never fully defined
        SMESH_Mesh.idl:175: Warning: Forward declared interface 'SMESH::SMESH_GroupOnGeom' was never fully defined
        SMESH_Mesh.idl:636: Warning: Forward declared interface 'SMESH::NumericalFunctor' was never fully defined
        ../idl/salome/SMESH_Gen.idl:43: Warning: Forward declared interface 'SMESH::FilterManager' was never fully defined
        ../idl/salome/SMESH_Gen.idl:44: Warning: Forward declared interface 'SMESH::SMESH_Pattern' was never fully defined
        omniidl: 11 warnings.
        /usr/local/salome_3.2.2/omniORB-4.0.5/bin/omniidl -bpythonbe -p ../../SMESH_SRC_3.2.2/salome_adm/unix -I/usr/local/salome_3.2.2/ omniORB-4.0.5/idl -I../../SMESH_SRC_3.2.2/idl -I../idl/salome -I/usr/local/salome_3.2.2/KERNEL_3.2.2/idl/salome -I/usr/local/sal ome_3.2.2/GEOM_3.2.2/idl/salome -I/usr/local/salome_3.2.2/MED_3.2.2/idl/salome -C../lib/python2.3/site-packages/salome ../idl/sa lome/SMESH_Mesh.idl
        SALOME_Component.idl:53: Warning: Identifier 'Component' clashes with CORBA 3 keyword 'component'
        SALOME_Component.idl:178: Warning: Identifier 'Component' clashes with CORBA 3 keyword 'component'
        GEOM_Gen.idl:1952: Warning: Identifier 'Import' clashes with CORBA 3 keyword 'import'
        SALOMEDS.idl:99: Warning: Forward declared interface 'SALOMEDS::AttributeStudyProperties' was never fully defined
        SALOMEDS.idl:100: Warning: Forward declared interface 'SALOMEDS::AttributeParameter' was never fully defined
        ../idl/salome/SMESH_Mesh.idl:36: Warning: Forward declared interface 'SMESH::SMESH_Hypothesis' was never fully defined
        ../idl/salome/SMESH_Mesh.idl:38: Warning: Forward declared interface 'SMESH::SMESH_GroupBase' was never fully defined
        ../idl/salome/SMESH_Mesh.idl:174: Warning: Forward declared interface 'SMESH::SMESH_Group' was never fully defined
        ../idl/salome/SMESH_Mesh.idl:175: Warning: Forward declared interface 'SMESH::SMESH_GroupOnGeom' was never fully defined
        ../idl/salome/SMESH_Mesh.idl:636: Warning: Forward declared interface 'SMESH::NumericalFunctor' was never fully defined
        omniidl: 10 warnings.
        /usr/local/salome_3.2.2/omniORB-4.0.5/bin/omniidl -bpythonbe -p ../../SMESH_SRC_3.2.2/salome_adm/unix -I/usr/local/salome_3.2.2/ omniORB-4.0.5/idl -I../../SMESH_SRC_3.2.2/idl -I../idl/salome -I/usr/local/salome_3.2.2/KERNEL_3.2.2/idl/salome -I/usr/local/sal ome_3.2.2/GEOM_3.2.2/idl/salome -I/usr/local/salome_3.2.2/MED_3.2.2/idl/salome -C../lib/python2.3/site-packages/salome ../idl/sa lome/SMESH_Hypothesis.idl
        /usr/local/salome_3.2.2/omniORB-4.0.5/bin/omniidl -bpythonbe -p ../../SMESH_SRC_3.2.2/salome_adm/unix -I/usr/local/salome_3.2.2/ omniORB-4.0.5/idl -I../../SMESH_SRC_3.2.2/idl -I../idl/salome -I/usr/local/salome_3.2.2/KERNEL_3.2.2/idl/salome -I/usr/local/sal ome_3.2.2/GEOM_3.2.2/idl/salome -I/usr/local/salome_3.2.2/MED_3.2.2/idl/salome -C../lib/python2.3/site-packages/salome ../idl/sa lome/SMESH_BasicHypothesis.idl
        SALOME_Component.idl:53: Warning: Identifier 'Component' clashes with CORBA 3 keyword 'component'
        SALOME_Component.idl:178: Warning: Identifier 'Component' clashes with CORBA 3 keyword 'component'
        GEOM_Gen.idl:1952: Warning: Identifier 'Import' clashes with CORBA 3 keyword 'import'
        SALOMEDS.idl:99: Warning: Forward declared interface 'SALOMEDS::AttributeStudyProperties' was never fully defined
        SALOMEDS.idl:100: Warning: Forward declared interface 'SALOMEDS::AttributeParameter' was never fully defined
        SMESH_Mesh.idl:38: Warning: Forward declared interface 'SMESH::SMESH_GroupBase' was never fully defined
        SMESH_Mesh.idl:174: Warning: Forward declared interface 'SMESH::SMESH_Group' was never fully defined
        SMESH_Mesh.idl:175: Warning: Forward declared interface 'SMESH::SMESH_GroupOnGeom' was never fully defined
        SMESH_Mesh.idl:636: Warning: Forward declared interface 'SMESH::NumericalFunctor' was never fully defined
        omniidl: 9 warnings.
        /usr/local/salome_3.2.2/omniORB-4.0.5/bin/omniidl -bpythonbe -p ../../SMESH_SRC_3.2.2/salome_adm/unix -I/usr/local/salome_3.2.2/ omniORB-4.0.5/idl -I../../SMESH_SRC_3.2.2/idl -I../idl/salome -I/usr/local/salome_3.2.2/KERNEL_3.2.2/idl/salome -I/usr/local/sal ome_3.2.2/GEOM_3.2.2/idl/salome -I/usr/local/salome_3.2.2/MED_3.2.2/idl/salome -C../lib/python2.3/site-packages/salome ../idl/sa lome/SMESH_Filter.idl
        SALOME_Component.idl:53: Warning: Identifier 'Component' clashes with CORBA 3 keyword 'component'
        SALOME_Component.idl:178: Warning: Identifier 'Component' clashes with CORBA 3 keyword 'component'
        GEOM_Gen.idl:1952: Warning: Identifier 'Import' clashes with CORBA 3 keyword 'import'
        SALOMEDS.idl:99: Warning: Forward declared interface 'SALOMEDS::AttributeStudyProperties' was never fully defined
        SALOMEDS.idl:100: Warning: Forward declared interface 'SALOMEDS::AttributeParameter' was never fully defined
        SMESH_Mesh.idl:36: Warning: Forward declared interface 'SMESH::SMESH_Hypothesis' was never fully defined
        SMESH_Mesh.idl:38: Warning: Forward declared interface 'SMESH::SMESH_GroupBase' was never fully defined
        SMESH_Mesh.idl:174: Warning: Forward declared interface 'SMESH::SMESH_Group' was never fully defined
        SMESH_Mesh.idl:175: Warning: Forward declared interface 'SMESH::SMESH_GroupOnGeom' was never fully defined
        omniidl: 9 warnings.
        /usr/local/salome_3.2.2/omniORB-4.0.5/bin/omniidl -bpythonbe -p ../../SMESH_SRC_3.2.2/salome_adm/unix -I/usr/local/salome_3.2.2/ omniORB-4.0.5/idl -I../../SMESH_SRC_3.2.2/idl -I../idl/salome -I/usr/local/salome_3.2.2/KERNEL_3.2.2/idl/salome -I/usr/local/sal ome_3.2.2/GEOM_3.2.2/idl/salome -I/usr/local/salome_3.2.2/MED_3.2.2/idl/salome -C../lib/python2.3/site-packages/salome ../idl/sa lome/SMESH_Group.idl
        SALOME_Component.idl:53: Warning: Identifier 'Component' clashes with CORBA 3 keyword 'component'
        SALOME_Component.idl:178: Warning: Identifier 'Component' clashes with CORBA 3 keyword 'component'
        GEOM_Gen.idl:1952: Warning: Identifier 'Import' clashes with CORBA 3 keyword 'import'
        SALOMEDS.idl:99: Warning: Forward declared interface 'SALOMEDS::AttributeStudyProperties' was never fully defined
        SALOMEDS.idl:100: Warning: Forward declared interface 'SALOMEDS::AttributeParameter' was never fully defined
        SMESH_Mesh.idl:36: Warning: Forward declared interface 'SMESH::SMESH_Hypothesis' was never fully defined
        SMESH_Mesh.idl:636: Warning: Forward declared interface 'SMESH::NumericalFunctor' was never fully defined
        ../idl/salome/SMESH_Group.idl:36: Warning: Forward declared interface 'SMESH::Predicate' was never fully defined
        omniidl: 8 warnings.
        /usr/local/salome_3.2.2/omniORB-4.0.5/bin/omniidl -bpythonbe -p ../../SMESH_SRC_3.2.2/salome_adm/unix -I/usr/local/salome_3.2.2/ omniORB-4.0.5/idl -I../../SMESH_SRC_3.2.2/idl -I../idl/salome -I/usr/local/salome_3.2.2/KERNEL_3.2.2/idl/salome -I/usr/local/sal ome_3.2.2/GEOM_3.2.2/idl/salome -I/usr/local/salome_3.2.2/MED_3.2.2/idl/salome -C../lib/python2.3/site-packages/salome ../idl/sa lome/SMESH_Pattern.idl
        SALOME_Component.idl:53: Warning: Identifier 'Component' clashes with CORBA 3 keyword 'component'
        SALOME_Component.idl:178: Warning: Identifier 'Component' clashes with CORBA 3 keyword 'component'
        GEOM_Gen.idl:1952: Warning: Identifier 'Import' clashes with CORBA 3 keyword 'import'
        SALOMEDS.idl:99: Warning: Forward declared interface 'SALOMEDS::AttributeStudyProperties' was never fully defined
        SALOMEDS.idl:100: Warning: Forward declared interface 'SALOMEDS::AttributeParameter' was never fully defined
        SMESH_Mesh.idl:36: Warning: Forward declared interface 'SMESH::SMESH_Hypothesis' was never fully defined
        SMESH_Mesh.idl:38: Warning: Forward declared interface 'SMESH::SMESH_GroupBase' was never fully defined
        SMESH_Mesh.idl:174: Warning: Forward declared interface 'SMESH::SMESH_Group' was never fully defined
        SMESH_Mesh.idl:175: Warning: Forward declared interface 'SMESH::SMESH_GroupOnGeom' was never fully defined
        SMESH_Mesh.idl:636: Warning: Forward declared interface 'SMESH::NumericalFunctor' was never fully defined
        omniidl: 10 warnings.
        make[2]: quittant le répertoire « /usr/local/salome_3.2.2/SMESH_build/idl »
        cd src ; make lib
        make[2]: entrant dans le répertoire « /usr/local/salome_3.2.2/SMESH_build/src »
        cd SMDS ; make lib
        make[3]: entrant dans le répertoire « /usr/local/salome_3.2.2/SMESH_build/src/SMDS »
        make[3]: Rien à faire pour « lib ».
        make[3]: quittant le répertoire « /usr/local/salome_3.2.2/SMESH_build/src/SMDS »
        cd SMESHDS ; make lib
        make[3]: entrant dans le répertoire « /usr/local/salome_3.2.2/SMESH_build/src/SMESHDS »
        make[3]: *** Pas de règle pour fabriquer la cible « SMDS_Mesh.hxx », nécessaire pour « SMESHDS_Document.lo ». Arrêt.
        make[3]: quittant le répertoire « /usr/local/salome_3.2.2/SMESH_build/src/SMESHDS »
        make[2]: *** [lib_SMESHDS] Erreur 2
        make[2]: quittant le répertoire « /usr/local/salome_3.2.2/SMESH_build/src »
        make[1]: *** [lib_src] Erreur 2
        make[1]: quittant le répertoire « /usr/local/salome_3.2.2/SMESH_build »
        make: *** [all] Erreur 2
Powered by Ploneboard
Document Actions