It is working ok with bash here and this is probably the most used shell.

Are you sure you haven't changed the Makefile somehow?

Can you try running make with verbose/debugging parameter and see if there is a hint in the output?

Daniel

On 05/08/14 14:36, Djamel Bahamid wrote:
Hello,

When I execute the command echo $SHELL, I have the following result :

/bin/bash

What's to be done now to avoid this error ?

Best Regards,

Djamel.

Le 01/08/2014 22:13, Daniel-Constantin Mierla a écrit :
Hello,

what is your shell? See where /sbin/sh is pointing to:

ls -l /sbin/sh

also, do:

echo $SHELL

Cheers,
Daniel

On 01/08/14 18:20, Djamel Bahamid wrote:
Hello everybody,

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:


make[2]: Nothing to be done for `install-if-newer'.
touch           /usr/local/lib64/kamailio/modules/userblacklist.so
install -m 755  userblacklist.so  /usr/local/lib64/kamailio/modules
make[2]: `libkmi.so.1.0' is up to date.
make[2]: `libsrdb1.so.1.0' is up to date.
make[2]: `libkcore.so.1.0' is up to date.
make[2]: `libsrutils.so.1.0' is up to date.
LD (gcc) [M usrloc.so]          usrloc.so
make[2]: Nothing to be done for `install-if-newer'.
make[2]: Nothing to be done for `install-if-newer'.
make[2]: Nothing to be done for `install-if-newer'.
make[2]: Nothing to be done for `install-if-newer'.
touch           /usr/local/lib64/kamailio/modules/usrloc.so
install -m 755  usrloc.so  /usr/local/lib64/kamailio/modules
touch           /usr/local/lib64/kamailio/modules/xhttp.so
install -m 755  xhttp.so  /usr/local/lib64/kamailio/modules
touch           /usr/local/lib64/kamailio/modules/xhttp_rpc.so
install -m 755  xhttp_rpc.so  /usr/local/lib64/kamailio/modules
touch           /usr/local/lib64/kamailio/modules/xlog.so
install -m 755  xlog.so  /usr/local/lib64/kamailio/modules
touch           /usr/local/lib64/kamailio/modules/xprint.so
install -m 755  xprint.so  /usr/local/lib64/kamailio/modules
/bin/sh: -c: line 18: syntax error near unexpected token `fi'
/bin/sh: -c: line 18: `                         fi ; \'
make: *** [install-cfg] Error 2



Could you help me please to solve this error,

Best Regards,

Djamel.


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda