<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      <span class="transpan"><span style="background-color: rgb(239,
          239, 239);" id="tran1" onmouseover="highlight(this,true)"
          onmouseout="highlight(this,false)">We resumed your procedure
          such as it is described on your site, and we compiled with the
          debug mode, we reproduced the same error, below the executed
          commands and their results :</span></span><br>
      <br>
      # make -d install
      <br>
      <br>
      ...
      <br>
      ...
      <br>
      ...
      <br>
         Trying pattern rule with stem `install-share'.
      <br>
         Rejecting impossible implicit prerequisite `install-share.mod'.
      <br>
         Trying pattern rule with stem `install-share'.
      <br>
         Trying implicit prerequisite `install-share.sh'.
      <br>
         Looking for a rule with intermediate file `install-share.sh'.
      <br>
          Avoiding implicit rule recursion.
      <br>
          Trying pattern rule with stem `install-share.sh'.
      <br>
          Trying implicit prerequisite `install-share.sh,v'.
      <br>
          Trying pattern rule with stem `install-share.sh'.
      <br>
          Trying implicit prerequisite `RCS/install-share.sh,v'.
      <br>
          Trying pattern rule with stem `install-share.sh'.
      <br>
          Trying implicit prerequisite `RCS/install-share.sh'.
      <br>
          Trying pattern rule with stem `install-share.sh'.
      <br>
          Trying implicit prerequisite `s.install-share.sh'.
      <br>
          Trying pattern rule with stem `install-share.sh'.
      <br>
          Trying implicit prerequisite `SCCS/s.install-share.sh'.
      <br>
         No implicit rule found for `install-share'.
      <br>
         Finished prerequisites of target file `install-share'.
      <br>
        Must remake target `install-share'.
      <br>
        Successfully remade target file `install-share'.
      <br>
       Finished prerequisites of target file `install'.
      <br>
      Must remake target `install'.
      <br>
      touch           /usr/local/lib64/kamailio/modules/xprint.so
      <br>
      Putting child 0x00674f50 (install) PID 16567 on the chain.
      <br>
      Live child 0x00674f50 (install) PID 16567
      <br>
      Reaping winning child 0x00674f50 PID 16567
      <br>
      install -m 755  xprint.so /usr/local/lib64/kamailio/modules
      <br>
      Live child 0x00674f50 (install) PID 16568
      <br>
      Reaping winning child 0x00674f50 PID 16568
      <br>
      Removing child 0x00674f50 PID 16568 from chain.
      <br>
      Successfully remade target file `install'.
      <br>
      Reaping winning child 0x007954f0 PID 14626
      <br>
      Removing child 0x007954f0 PID 14626 from chain.
      <br>
          Successfully remade target file `install-modules'.
      <br>
         Finished prerequisites of target file `install-every-module'.
      <br>
        Must remake target `install-every-module'.
      <br>
        Successfully remade target file `install-every-module'.
      <br>
        Considering target file `install-cfg'.
      <br>
         File `install-cfg' does not exist.
      <br>
          Considering target file `<i class="moz-txt-slash"><span
          class="moz-txt-tag">/</span>usr/local/etc/kamailio<span
          class="moz-txt-tag">/</span></i>'.
      <br>
           Finished prerequisites of target file `<i
        class="moz-txt-slash"><span class="moz-txt-tag">/</span>usr/local/etc/kamailio<span
          class="moz-txt-tag">/</span></i>'.
      <br>
          No need to remake target `<i class="moz-txt-slash"><span
          class="moz-txt-tag">/</span>usr/local/etc/kamailio<span
          class="moz-txt-tag">/</span></i>'.
      <br>
         Finished prerequisites of target file `install-cfg'.
      <br>
        Must remake target `install-cfg'.
      <br>
      Putting child 0x00794240 (install-cfg) PID 16569 on the chain.
      <br>
      Live child 0x00794240 (install-cfg) PID 16569
      <br>
      Reaping winning child 0x00794240 PID 16569
      <br>
      Live child 0x00794240 (install-cfg) PID 16572
      <br>
      Reaping winning child 0x00794240 PID 16572
      <br>
      Live child 0x00794240 (install-cfg) PID 16573
      <br>
      Reaping winning child 0x00794240 PID 16573
      <br>
      Live child 0x00794240 (install-cfg) PID 16576
      <br>
      Reaping winning child 0x00794240 PID 16576
      <br>
      Live child 0x00794240 (install-cfg) PID 16577
      <br>
      /bin/sh: -c: line 18: syntax error near unexpected token `fi'
      <br>
      /bin/sh: -c: line 18: `                         fi ; \'
      <br>
      Reaping losing child 0x00794240 PID 16577
      <br>
      make: *** [install-cfg] Error 2
      <br>
      Removing child 0x00794240 PID 16577 from chain.
      <br>
      <br>
      <br>
      <br>
      [root@gtk:/usr/local/src][Tue 05/08/2014 15:34:58]
      <br>
      # pwd
      <br>
      /usr/local/src
      <br>
      # mkdir kamailio-4.0
      <br>
      [root@gtk:/usr/local/src][Tue 05/08/2014 15:35:10]
      <br>
      # cd kamailio-4.0/
      <br>
      [<a class="moz-txt-link-abbreviated"
        href="mailto:root@gtk:/usr/local/src/kamailio-4.0">root@gtk:/usr/local/src/kamailio-4.0</a>][Tue
      05/08/2014 15:35:30]
      <br>
      # git clone --depth 1 --no-single-branch
      git://git.sip-router.org/sip-router kamailio
      <br>
      Cloning into 'kamailio'...
      <br>
      remote: Counting objects: 35659, done.
      <br>
      remote: Compressing objects: 100% (17387/17387), done.
      <br>
      remote: Total 35659 (delta 27031), reused 24700 (delta 17867)
      <br>
      Receiving objects: 100% (35659/35659), 20.78 MiB | 3.33 MiB/s,
      done.
      <br>
      Resolving deltas: 100% (27031/27031), done.
      <br>
      [<a class="moz-txt-link-abbreviated"
        href="mailto:root@gtk:/usr/local/src/kamailio-4.0">root@gtk:/usr/local/src/kamailio-4.0</a>][Tue
      05/08/2014 15:35:58]
      <br>
      # cd kamailio/
      <br>
      [<a class="moz-txt-link-abbreviated"
        href="mailto:root@gtk:/usr/local/src/kamailio-4.0/kamailio">root@gtk:/usr/local/src/kamailio-4.0/kamailio</a>][Tue
      05/08/2014 15:36:03]
      <br>
      # git checkout -b 4.0 origin/4.0
      <br>
      Branch 4.0 set up to track remote branch 4.0 from origin.
      <br>
      Switched to a new branch '4.0'
      <br>
      [<a class="moz-txt-link-abbreviated"
        href="mailto:root@gtk:/usr/local/src/kamailio-4.0/kamailio">root@gtk:/usr/local/src/kamailio-4.0/kamailio</a>][Tue
      05/08/2014 15:36:08]
      <br>
      # CPU=core2
      <br>
      [<a class="moz-txt-link-abbreviated"
        href="mailto:root@gtk:/usr/local/src/kamailio-4.0/kamailio">root@gtk:/usr/local/src/kamailio-4.0/kamailio</a>][Tue
      05/08/2014 15:38:04]
      <br>
      # make cfg
      <br>
      target architecture <x86_64>, host architecture
      <x86_64>
      <br>
      making config...
      <br>
      rm -f modules.lst
      <br>
      make --no-print-directory modules.lst
      <br>
      saving modules list...
      <br>
      [<a class="moz-txt-link-abbreviated"
        href="mailto:root@gtk:/usr/local/src/kamailio-4.0/kamailio">root@gtk:/usr/local/src/kamailio-4.0/kamailio</a>][Tue
      05/08/2014 15:38:32]
      <br>
      # vi modules.lst
      <br>
      [<a class="moz-txt-link-abbreviated"
        href="mailto:root@gtk:/usr/local/src/kamailio-4.0/kamailio">root@gtk:/usr/local/src/kamailio-4.0/kamailio</a>][Tue
      05/08/2014 15:39:15]
      <br>
      # cat modules.lst | grep include_modules
      <br>
      include_modules= db_mysql
      <br>
      modules= $(filter-out $(modules_noinc), $(addprefix modules/,
      $(include_modules) )) $(modules_noinc)
      <br>
      [<a class="moz-txt-link-abbreviated"
        href="mailto:root@gtk:/usr/local/src/kamailio-4.0/kamailio">root@gtk:/usr/local/src/kamailio-4.0/kamailio</a>][Tue
      05/08/2014 15:40:15]
      <br>
      # make all
      <br>
      generating autover.h ...
      <br>
      CC (gcc) [kamailio]             action.o
      <br>
      CC (gcc) [kamailio]             atomic_ops.o
      <br>
      CC (gcc) [kamailio]             basex.o
      <br>
      CC (gcc) [kamailio]             bit_count.o
      <br>
      CC (gcc) [kamailio]             bit_scan.o
      <br>
      CC (gcc) [kamailio]             cfg_core.o
      <br>
      CC (gcc) [kamailio]             cfg_parser.o
      <br>
      CC (gcc) [kamailio]             core_cmd.o
      <br>
      CC (gcc) [kamailio]             counters.o
      <br>
      CC (gcc) [kamailio]             crc.o
      <br>
      CC (gcc) [kamailio]             daemonize.o
      <br>
      CC (gcc) [kamailio]             data_lump.o
      <br>
      CC (gcc) [kamailio]             data_lump_rpl.o
      <br>
      CC (gcc) [kamailio]             dns_cache.o
      <br>
      CC (gcc) [kamailio]             dprint.o
      <br>
      ...
      <br>
      ...
      <br>
      ...
      <br>
      ...
      <br>
      CC (gcc) [M xhttp.so]           xhttp_mod.o
      <br>
      LD (gcc) [M xhttp.so]           xhttp.so
      <br>
      CC (gcc) [M xhttp_rpc.so]               xhttp_rpc.o
      <br>
      CC (gcc) [M xhttp_rpc.so]               xhttp_rpc_fnc.o
      <br>
      LD (gcc) [M xhttp_rpc.so]               xhttp_rpc.so
      <br>
      CC (gcc) [M xlog.so]            xl_lib.o
      <br>
      CC (gcc) [M xlog.so]            xlog.o
      <br>
      LD (gcc) [M xlog.so]            xlog.so
      <br>
      CC (gcc) [M xprint.so]          xp_lib.o
      <br>
      CC (gcc) [M xprint.so]          xprint.o
      <br>
      LD (gcc) [M xprint.so]          xprint.so
      <br>
      <br>
      [<a class="moz-txt-link-abbreviated"
        href="mailto:root@gtk:/usr/local/src/kamailio-4.0/kamailio">root@gtk:/usr/local/src/kamailio-4.0/kamailio</a>][Tue
      05/08/2014 15:42:23]
      <br>
      # make install
      <br>
      touch           /usr/local/sbin//kamailio
      <br>
      install -m 755 kamailio <i class="moz-txt-slash"><span
          class="moz-txt-tag">/</span>usr/local/sbin<span
          class="moz-txt-tag">/</span></i>
      <br>
      make[2]: `libsrdb2.so.1.0' is up to date.
      <br>
      make[2]: `libsrdb1.so.1.0' is up to date.
      <br>
      LD (gcc) [M db_mysql.so]                db_mysql.so
      <br>
      touch           /usr/local/lib64/kamailio//libsrdb2.so.1.0
      <br>
      install -m 755 libsrdb2.so.1.0 <i class="moz-txt-slash"><span
          class="moz-txt-tag">/</span>usr/local/lib64/kamailio<span
          class="moz-txt-tag">/</span></i>
      <br>
      rm -f /usr/local/lib64/kamailio//libsrdb2.so.1 \
      <br>
      /usr/local/lib64/kamailio//libsrdb2.so
      <br>
      cd <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>usr/local/lib64/kamailio<span
          class="moz-txt-tag">/</span></i> ; ln -s libsrdb2.so.1.0
      libsrdb2.so.1
      <br>
      cd <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>usr/local/lib64/kamailio<span
          class="moz-txt-tag">/</span></i> ; ln -s libsrdb2.so.1.0
      libsrdb2.so
      <br>
      touch           /usr/local/lib64/kamailio//libsrdb1.so.1.0
      <br>
      install -m 755 libsrdb1.so.1.0 <i class="moz-txt-slash"><span
          class="moz-txt-tag">/</span>usr/local/lib64/kamailio<span
          class="moz-txt-tag">/</span></i>
      <br>
      rm -f /usr/local/lib64/kamailio//libsrdb1.so.1 \
      <br>
      /usr/local/lib64/kamailio//libsrdb1.so
      <br>
      cd <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>usr/local/lib64/kamailio<span
          class="moz-txt-tag">/</span></i> ; ln -s libsrdb1.so.1.0
      libsrdb1.so.1
      <br>
      ...
      <br>
      ...
      <br>
      ...
      <br>
      ...
      <br>
      make[2]: `libsrdb1.so.1.0' is up to date.
      <br>
      make[2]: `libkcore.so.1.0' is up to date.
      <br>
      make[2]: `libsrutils.so.1.0' is up to date.
      <br>
      LD (gcc) [M usrloc.so]          usrloc.so
      <br>
      make[2]: Nothing to be done for `install-if-newer'.
      <br>
      make[2]: Nothing to be done for `install-if-newer'.
      <br>
      make[2]: Nothing to be done for `install-if-newer'.
      <br>
      make[2]: Nothing to be done for `install-if-newer'.
      <br>
      touch           /usr/local/lib64/kamailio/modules/usrloc.so
      <br>
      install -m 755  usrloc.so /usr/local/lib64/kamailio/modules
      <br>
      touch           /usr/local/lib64/kamailio/modules/xhttp.so
      <br>
      install -m 755  xhttp.so  /usr/local/lib64/kamailio/modules
      <br>
      touch /usr/local/lib64/kamailio/modules/xhttp_rpc.so
      <br>
      install -m 755  xhttp_rpc.so /usr/local/lib64/kamailio/modules
      <br>
      touch           /usr/local/lib64/kamailio/modules/xlog.so
      <br>
      install -m 755  xlog.so  /usr/local/lib64/kamailio/modules
      <br>
      touch           /usr/local/lib64/kamailio/modules/xprint.so
      <br>
      install -m 755  xprint.so /usr/local/lib64/kamailio/modules
      <br>
      /bin/sh: -c: line 18: syntax error near unexpected token `fi'
      <br>
      /bin/sh: -c: line 18: `                         fi ; \'
      <br>
      make: *** [install-cfg] Error 2
      <br>
      <br>
      Thank you for your help,<br>
      <br>
      Best Regards,<br>
      <br>
      Djamel BAHAMID.<br>
      <br>
      Le 05/08/2014 14:54, Daniel-Constantin Mierla a écrit :<br>
    </div>
    <blockquote cite="mid:53E0D403.8000300@gmail.com" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      It is working ok with bash here and this is probably the most used
      shell.<br>
      <br>
      Are you sure you haven't changed the Makefile somehow?<br>
      <br>
      Can you try running make with verbose/debugging parameter and see
      if there is a hint in the output?<br>
      <br>
      Daniel<br>
      <br>
      <div class="moz-cite-prefix">On 05/08/14 14:36, Djamel Bahamid
        wrote:<br>
      </div>
      <blockquote cite="mid:53E0CFC6.9000105@inserm.fr" type="cite">
        <meta content="text/html; charset=windows-1252"
          http-equiv="Content-Type">
        <div class="moz-cite-prefix">Hello, <br>
          <br>
          When I execute the command echo $SHELL, I have the following
          result : <br>
          <br>
          /bin/bash <br>
          <br>
          What's to be done now to avoid this error ? <br>
          <br>
          Best Regards, <br>
          <br>
          Djamel. <br>
          <br>
          Le 01/08/2014 22:13, Daniel-Constantin Mierla a écrit :<br>
        </div>
        <blockquote cite="mid:53DBF4D0.9040803@gmail.com" type="cite">
          <meta content="text/html; charset=windows-1252"
            http-equiv="Content-Type">
          Hello,<br>
          <br>
          what is your shell? See where /sbin/sh is pointing to:<br>
          <br>
          ls -l /sbin/sh<br>
          <br>
          also, do:<br>
          <br>
          echo $SHELL<br>
          <br>
          Cheers,<br>
          Daniel<br>
          <br>
          <div class="moz-cite-prefix">On 01/08/14 18:20, Djamel Bahamid
            wrote:<br>
          </div>
          <blockquote cite="mid:53DBBE33.9010103@inserm.fr" type="cite">
            <meta http-equiv="content-type" content="text/html;
              charset=windows-1252">
            <span class="transpan"><span style="background-color:
                rgb(239, 239, 239);" id="tran0"
                onmouseover="highlight(this,true)"
                onmouseout="highlight(this,false)">Hello everybody,</span><br>
              <br>
              <span style="background-color: rgb(239, 239, 239);"
                id="tran1" onmouseover="highlight(this,true)"
                onmouseout="highlight(this,false)">I am new on this
                environment ( Kamailio). I try to install(settle)
                Kamailio 4.1.4, on an O.S Suse Sles11 SP3, all the
                compilation took place, with the exception of the
                installation (make install), where I obtain the
                following error: <br>
                <br>
              </span></span><br>
            <span class="transpan"><span style="background-color:
                rgb(239, 239, 239);" id="tran1"
                onmouseover="highlight(this,true)"
                onmouseout="highlight(this,false)">make[2]: Nothing to
                be done for `install-if-newer'. <br>
                touch          
                /usr/local/lib64/kamailio/modules/userblacklist.so <br>
                install -m 755  userblacklist.so 
                /usr/local/lib64/kamailio/modules <br>
                make[2]: `libkmi.so.1.0' is up to date. <br>
                make[2]: `libsrdb1.so.1.0' is up to date. <br>
                make[2]: `libkcore.so.1.0' is up to date. <br>
                make[2]: `libsrutils.so.1.0' is up to date. <br>
                LD (gcc) [M usrloc.so]          usrloc.so <br>
                make[2]: Nothing to be done for `install-if-newer'. <br>
                make[2]: Nothing to be done for `install-if-newer'. <br>
                make[2]: Nothing to be done for `install-if-newer'. <br>
                make[2]: Nothing to be done for `install-if-newer'. <br>
                touch          
                /usr/local/lib64/kamailio/modules/usrloc.so <br>
                install -m 755  usrloc.so 
                /usr/local/lib64/kamailio/modules <br>
                touch          
                /usr/local/lib64/kamailio/modules/xhttp.so <br>
                install -m 755  xhttp.so 
                /usr/local/lib64/kamailio/modules <br>
                touch          
                /usr/local/lib64/kamailio/modules/xhttp_rpc.so <br>
                install -m 755  xhttp_rpc.so 
                /usr/local/lib64/kamailio/modules <br>
                touch          
                /usr/local/lib64/kamailio/modules/xlog.so <br>
                install -m 755  xlog.so 
                /usr/local/lib64/kamailio/modules <br>
                touch          
                /usr/local/lib64/kamailio/modules/xprint.so <br>
                install -m 755  xprint.so 
                /usr/local/lib64/kamailio/modules <br>
                /bin/sh: -c: line 18: syntax error near unexpected token
                `fi' <br>
                <b><font color="#ff0000">/bin/sh: -c: line 18:
                    `                         fi ; \' <br>
                    make: *** [install-cfg] Error 2 </font></b></span><br>
              <span style="background-color: rgb(239, 239, 239);"
                id="tran2" onmouseover="highlight(this,true)"
                onmouseout="highlight(this,false)"><br>
                <br>
                Could you help me please to solve this error,<br>
                <br>
                Best Regards,<br>
                <br>
                Djamel.<br>
              </span></span> <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <br>
            <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
          </blockquote>
          <br>
          <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
        </blockquote>
        <br>
      </blockquote>
      <br>
      <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
    </blockquote>
    <br>
  </body>
</html>