Personal tools
You are here: Home Forum Install & build KERNEL-Src: bad variable name

KERNEL-Src: bad variable name

Up to Install & build
  • KERNEL-Src: bad variable name

    Posted by HAEFFLER_Benoit at November 15. 2006
    HELLO Everybodi

    I try to install Salome v3.2.2 on my ubuntu edgy

    but ./runInstall

    give me some errors

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

    benzoid555@ubuntu:~/MyDownloads/InstallWizard_3.2.2_DS$ libGL warning: 3D driver claims to not support visual 0x4b
    [: 90: ==: unexpected operator
    ./gcc-3.3.5.sh: 94: source: not found
    ./gcc-3.3.5.sh: 95: where_gcc: not found
    ./remove_tmp.sh: 4: source: not found
    export: 70: KERNEL-Src: bad variable name
    export: 104: KERNEL-Src: bad variable name
    ./remove_tmp.sh: 4: source: not found

    i have already install gcc-3.3 version
     gcc-3.3 -dumpversion
    3.3.6
    i have choose not install option for gcc-3.3.5

    I dont now  what, i must do  to install Salome-platform ?

    Thanks You




    • Re: KERNEL-Src: bad variable name

      Posted by Vadim SANDLER at November 16. 2006
      Hello,

      This problem was already discussed - please follow this thread:
      http://www.salome-platform.org/forum/forum_9/thread_903
      In short, it seems that on Ubuntu /bin/sh is linked to /bin/dash and that causes the problems. If you have root access on you PC you can relink it to the /bin/bash:
      >> ln -fs /bin/bash /bin/sh

      Regards,
      Vadim.
      • Re: KERNEL-Src: bad variable name

        Posted by HAEFFLER_Benoit at November 17. 2006
        Thanks Vadim for your answer

        I have all ready linked dash to sh : sudo ln -fs /bin/bash /bin/sh

        I have install Salome on /opt/salome_3.2.2/
         :  cd InstallWizard_3.2.2_DS/
        ./runInstall

        I have edit env_build.sh
        change "out_var=`echo $1 $2 | awk -v dir=$3 '{                   \"
        to "out_var=`echo $1 $2 | awk -W sprintf=5060 -v dir=$3 '{   \"


        I have edit KERNEL_3.2.2/salome.sh/salome.sh
        - and change "out_var=`echo $1 $2 | awk -v dir=$3 '{                   \"
        to "out_var=`echo $1 $2 | awk -W sprintf=5060 -v dir=$3 '{   \"

        I have edit  KERNEL_3.2.2/bin/salome/runSalome
        - add "source /opt/salome_3.2.2/env_build.sh"

        Yet i can launch Salome with  KERNEL_3.2.2/bin/salome/runSalome

        Thank vadim for your help




Powered by Ploneboard
Document Actions