<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<br><br>> Date: Fri, 3 Sep 2010 12:26:44 +0300<br>> From: marius.zbihlei@1and1.ro<br>> To: betergreen@live.com; sr-users@lists.sip-router.org<br>> Subject: Re: [SR-Users] error when install kamailio with TLS module.<br>> <br>> peter_green lion wrote:<br>> ><br>> ><br>> > > From: henning.westerholt@1und1.de<br>> > > To: sr-users@lists.sip-router.org<br>> > > Subject: Re: [SR-Users] error when install kamailio with TLS module.<br>> > > Date: Fri, 3 Sep 2010 09:47:15 +0200<br>> > > CC: betergreen@live.com<br>> > ><br>> > > On Friday 03 September 2010, peter_green lion wrote:<br>> > > > I try to install kamailio with enable TLS module, but it raise error.<br>> > > > when i enable module TLS and run command make all,make install, <br>> > the error<br>> > > > is :<br>> > > ><br>> > > > #make install<br>> > > ><br>> > > > Makefile.defs defs skipped<br>> > > > make[1]: Entering directory `/usr/src/kamailio-3.0.1/modules/tls'<br>> > > > MAIN_NAME=kamailio ./sip-router_cert.sh -d /usr/local/etc/kamailio/<br>> > > > hostname: Unknown host<br>> > > > ./sip-router_cert.sh: line 142: which: command not found<br>> > > > Could not find openssl command<br>> > > > Set OPENSSL environment variable properly (see -h for more info)<br>> > > > [..]<br>> > > > please help me find and fix this problem,<br>> > ><br>> > > Hi Peter,<br>> > ><br>> > > you don't have openssl installed on the machine, or its not in the <br>> > default<br>> > > path. Either install it, or set the OPENSSL variable to the proper <br>> > location of<br>> > > the binary. Just run this command to get more informations:<br>> > ><br>> > > ~/projects/sip-router/modules/tls$ ./sip-router_cert.sh -h<br>> > > NAME<br>> > > sip-router_cert.sh - Generate a self-signed TLS/SSL certificate for <br>> > use with<br>> > > sip-router.<br>> > > ...<br>> > ><br>> > > Cheers,<br>> > ><br>> > > Henning<br>> ><br>> > hi Henning,<br>> > i have run command to check:<br>> > yum install openssl<br>> > Setting up Install Process<br>> > Parsing package install arguments<br>> > Package openssl - 0.9.8e-12.el5_4.6.i686 is already installed.<br>> > Nothing to do<br>> ><br>> ><br>> ><br>> > [root@appliance kamailio-3.0.2]# yum install openssl-dev<br>> > Loading "fastestmirror" plugin<br>> > Loading mirror speeds from cached hostfile<br>> > * base: mirror-fpt-telecom.fpt.net<br>> > * updates: mirror-fpt-telecom.fpt.net<br>> > * addons: mirror-fpt-telecom.fpt.net<br>> > * extras: mirror-fpt-telecom.fpt.net<br>> > Setting up Install Process<br>> > Parsing package install arguments<br>> > No package openssl-dev available.<br>> ><br>> > and :<br>> ><br>> > [root@appliance tls]# ./sip-router_cert.sh -h<br>> > NAME<br>> > sip-router_cert.sh - Generate a self-signed TLS/SSL certificate for <br>> > use with sip-router.<br>> ><br>> > SYNOPSIS<br>> > sip-router_cert.sh [options]<br>> ><br>> ><br>> > i run command again : make install<br>> ><br>> > make[1]: Entering directory `/usr/src/kamailio-3.0.2/modules/tls'<br>> > MAIN_NAME=kamailio ./sip-router_cert.sh -d /usr/local/etc/kamailio/<br>> > ./sip-router_cert.sh: line 142: which: command not found<br>> <br>> Hello<br>> <br>> It seems you don't have the "which" command. Please check the $PATH <br>> environment variable includes the common directories (/usr/bin for which <br>> on my system). Please check that which is installed (yum install which).<br>> <br>> After that rerun the script. Openssl looks to be installed .<br>> <br>> Cheers<br>> Marius<br>> > Could not find openssl command<br>> > Set OPENSSL environment variable properly (see -h for more info)<br>> > make[1]: *** [install-tls-cert] Error 1<br>> > make[1]: Leaving directory `/usr/src/kamailio-3.0.2/modules/tls'<br>> > make: *** [install-modules] Error 1<br>> ><br>> > so, please suggest me to fix it.<br>> ><br>> ><br>> > thanks.<br>> > peter green<br>> ><br>> ><br>> ><br>> ><br>> ><br>> <br><br><br>thanks Marius,<br>you`re true.<br>after i run "yum install which",<br>and "make install " is okie.<br>thanks for your help.<br><br>and thanks Henning too.<br><br>sincerely <br><br>Peter green<br>                                            </body>
</html>