<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Guys, thank you for reply.<br>
    I compiled 2.2.0-beta-2, but with some issues:<br>
    <br>
    = Installations =<br>
    <pre dir="ltr" id="CA-d1b01a2541961dac65004045e07d27abc8095a0f" lang="en"><span class="line"><span class="ID">yum</span> <span class="ID">install</span> <span class="ID">cmake</span> <span class="ID">libedit</span><span class="SPChar">-</span><span class="ID">devel</span> <span class="ID">flex</span> <span class="ID">openldap</span><span class="SPChar">-</span><span class="ID">devel </span></span><span class="line"><span class="Comment">qt-devel
</span></span><span class="line"><span class="ResWord">cd</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ResWord">local</span><span class="SPChar">/</span><span class="ID">src</span></span>
<span class="line"><span class="ID">wget</span> <span class="ID">http</span><span class="SPChar">:</span><span class="SPChar">/</span><span class="SPChar">/</span><span class="ID">www</span><span class="SPChar">.</span><span class="ID">shrew</span><span class="SPChar">.</span><span class="ID">net</span><span class="SPChar">/</span><span class="ID">download</span><span class="SPChar">/</span><span class="ID">ike</span><span class="SPChar">/</span><span class="ID">ike</span><span class="SPChar">-</span><span class="Number">2.2</span><span class="SPChar">.</span><span class="Number">0</span><span class="SPChar">-</span><span class="ID">beta</span><span class="SPChar">-</span><span class="Number">2.</span><span class="ID">tgz</span></span>
<span class="line"><span class="ID">tar</span> <span class="SPChar">-</span><span class="ID">zxvf</span> <span class="ID">ike</span><span class="SPChar">-</span><span class="Number">2.2</span><span class="SPChar">.</span><span class="Number">0</span><span class="SPChar">-</span><span class="ID">beta</span><span class="SPChar">-</span><span class="Number">2.</span><span class="ID">tgz

</span></span><span class="line"><span class="ResWord">cd</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ResWord">local</span><span class="SPChar">/</span><span class="ID">src</span><span class="SPChar">/</span><span class="ID">ike</span></span>
<span class="line"><span class="Comment"></span></span><span class="line"><span class="ID">cmake</span> <span class="SPChar">-</span><span class="ID">DDEBUG</span><span class="SPChar">=</span><span class="ID">YES</span> <span class="SPChar">-</span><span class="ID">DQTGUI</span><span class="SPChar">=</span><span class="ID">YES</span> <span class="SPChar">-</span><span class="ID">DNATT</span><span class="SPChar">=</span><span class="ID">YES</span> <span class="SPChar">-</span><span class="ID">DLDAP</span><span class="SPChar">=</span><span class="ID">YES</span> <span class="SPChar">-</span><span class="ID">LIBDIR</span><span class="SPChar">=</span><span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ID">lib64</span></span> <span class="line"><span class="Comment">-LIBDIR=/usr/lib64</span></span>

"# cmake -DDEBUG=YES -DQTGUI=YES -DNATT=YES -DLDAP=YES -LIBDIR=/usr/lib64
CMake Error: The source directory "/usr/local/src/ike/-LIBDIR=/<wbr>usr/lib64" does not exist.
Specify --help for usage, or press the help button on the CMake GUI."

cmake -DDEBUG=YES -DQTGUI=YES -DNATT=YES -DLDAP=YES -LIBDIR=/usr/lib64
<span class="line"><span class="ID">make</span></span>
<span class="line"><span class="ID">make</span> <span class="ID">install</span></span>
</pre>
    <pre dir="ltr" id="CA-edbcf4903df1d9865ecb01868e8f3c2e35af2a04" lang="en"><span class="line"><span class="ID">ls</span> <span class="SPChar">-</span><span class="ID">la</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ResWord">local</span><span class="SPChar">/</span><span class="ID">lib</span> <span class="SPChar">|</span> <span class="ID">grep</span> <span class="String">"so"</span> <span class="SPChar">|</span> <span class="ID">awk</span> '<span class="SPChar">{</span><span class="ID">print</span> <span class="String">"ln -s /usr/local/lib/"</span> <span class="SPChar">$</span><span class="Number">9</span> <span class="String">" /usr/lib64/"</span> <span class="SPChar">$</span><span class="Number">9</span> <span class="SPChar">}</span>'
</span><span class="line"><span class="ID">#
ln</span> <span class="SPChar">-</span><span class="ID">s</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ResWord">local</span><span class="SPChar">/</span><span class="ID">lib</span><span class="SPChar">/</span><span class="ID">libss_idb</span><span class="SPChar">.</span><span class="ID">so</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ID">lib64</span><span class="SPChar">/</span><span class="ID">libss_idb</span><span class="SPChar">.</span><span class="ID">so</span></span>
<span class="line"><span class="ID">ln</span> <span class="SPChar">-</span><span class="ID">s</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ResWord">local</span><span class="SPChar">/</span><span class="ID">lib</span><span class="SPChar">/</span><span class="ID">libss_idb</span><span class="SPChar">.</span><span class="ID">so</span><span class="SPChar">.</span><span class="Number">2.2</span><span class="SPChar">.</span><span class="Number">0</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ID">lib64</span><span class="SPChar">/</span><span class="ID">libss_idb</span><span class="SPChar">.</span><span class="ID">so</span><span class="SPChar">.</span><span class="Number">2.2</span><span class="SPChar">.</span><span class="Number">0</span></span>
<span class="line"><span class="ID">ln</span> <span class="SPChar">-</span><span class="ID">s</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ResWord">local</span><span class="SPChar">/</span><span class="ID">lib</span><span class="SPChar">/</span><span class="ID">libss_ike</span><span class="SPChar">.</span><span class="ID">so</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ID">lib64</span><span class="SPChar">/</span><span class="ID">libss_ike</span><span class="SPChar">.</span><span class="ID">so</span></span>
<span class="line"><span class="ID">ln</span> <span class="SPChar">-</span><span class="ID">s</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ResWord">local</span><span class="SPChar">/</span><span class="ID">lib</span><span class="SPChar">/</span><span class="ID">libss_ike</span><span class="SPChar">.</span><span class="ID">so</span><span class="SPChar">.</span><span class="Number">2.2</span><span class="SPChar">.</span><span class="Number">0</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ID">lib64</span><span class="SPChar">/</span><span class="ID">libss_ike</span><span class="SPChar">.</span><span class="ID">so</span><span class="SPChar">.</span><span class="Number">2.2</span><span class="SPChar">.</span><span class="Number">0</span></span>
<span class="line"><span class="ID">ln</span> <span class="SPChar">-</span><span class="ID">s</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ResWord">local</span><span class="SPChar">/</span><span class="ID">lib</span><span class="SPChar">/</span><span class="ID">libss_ip</span><span class="SPChar">.</span><span class="ID">so</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ID">lib64</span><span class="SPChar">/</span><span class="ID">libss_ip</span><span class="SPChar">.</span><span class="ID">so</span></span>
<span class="line"><span class="ID">ln</span> <span class="SPChar">-</span><span class="ID">s</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ResWord">local</span><span class="SPChar">/</span><span class="ID">lib</span><span class="SPChar">/</span><span class="ID">libss_ip</span><span class="SPChar">.</span><span class="ID">so</span><span class="SPChar">.</span><span class="Number">2.2</span><span class="SPChar">.</span><span class="Number">0</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ID">lib64</span><span class="SPChar">/</span><span class="ID">libss_ip</span><span class="SPChar">.</span><span class="ID">so</span><span class="SPChar">.</span><span class="Number">2.2</span><span class="SPChar">.</span><span class="Number">0</span></span>
<span class="line"><span class="ID">ln</span> <span class="SPChar">-</span><span class="ID">s</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ResWord">local</span><span class="SPChar">/</span><span class="ID">lib</span><span class="SPChar">/</span><span class="ID">libss_ith</span><span class="SPChar">.</span><span class="ID">so</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ID">lib64</span><span class="SPChar">/</span><span class="ID">libss_ith</span><span class="SPChar">.</span><span class="ID">so</span></span>
<span class="line"><span class="ID">ln</span> <span class="SPChar">-</span><span class="ID">s</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ResWord">local</span><span class="SPChar">/</span><span class="ID">lib</span><span class="SPChar">/</span><span class="ID">libss_ith</span><span class="SPChar">.</span><span class="ID">so</span><span class="SPChar">.</span><span class="Number">2.2</span><span class="SPChar">.</span><span class="Number">0</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ID">lib64</span><span class="SPChar">/</span><span class="ID">libss_ith</span><span class="SPChar">.</span><span class="ID">so</span><span class="SPChar">.</span><span class="Number">2.2</span><span class="SPChar">.</span><span class="Number">0</span></span>
<span class="line"><span class="ID">ln</span> <span class="SPChar">-</span><span class="ID">s</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ResWord">local</span><span class="SPChar">/</span><span class="ID">lib</span><span class="SPChar">/</span><span class="ID">libss_log</span><span class="SPChar">.</span><span class="ID">so</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ID">lib64</span><span class="SPChar">/</span><span class="ID">libss_log</span><span class="SPChar">.</span><span class="ID">so</span></span>
<span class="line"><span class="ID">ln</span> <span class="SPChar">-</span><span class="ID">s</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ResWord">local</span><span class="SPChar">/</span><span class="ID">lib</span><span class="SPChar">/</span><span class="ID">libss_log</span><span class="SPChar">.</span><span class="ID">so</span><span class="SPChar">.</span><span class="Number">2.2</span><span class="SPChar">.</span><span class="Number">0</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ID">lib64</span><span class="SPChar">/</span><span class="ID">libss_log</span><span class="SPChar">.</span><span class="ID">so</span><span class="SPChar">.</span><span class="Number">2.2</span><span class="SPChar">.</span><span class="Number">0</span></span>
<span class="line"><span class="ID">ln</span> <span class="SPChar">-</span><span class="ID">s</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ResWord">local</span><span class="SPChar">/</span><span class="ID">lib</span><span class="SPChar">/</span><span class="ID">libss_pfk</span><span class="SPChar">.</span><span class="ID">so</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ID">lib64</span><span class="SPChar">/</span><span class="ID">libss_pfk</span><span class="SPChar">.</span><span class="ID">so</span></span>
<span class="line"><span class="ID">ln</span> <span class="SPChar">-</span><span class="ID">s</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ResWord">local</span><span class="SPChar">/</span><span class="ID">lib</span><span class="SPChar">/</span><span class="ID">libss_pfk</span><span class="SPChar">.</span><span class="ID">so</span><span class="SPChar">.</span><span class="Number">2.2</span><span class="SPChar">.</span><span class="Number">0</span> <span class="SPChar">/</span><span class="ID">usr</span><span class="SPChar">/</span><span class="ID">lib64</span><span class="SPChar">/</span><span class="ID">libss_pfk</span><span class="SPChar">.</span><span class="ID">so</span><span class="SPChar">.</span><span class="Number">2.2</span><span class="SPChar">.</span><span class="Number">0</span></span>

Finaly I run ikec 

ii : ## : VPN Connect, ver 2.2.0
## : Copyright 2009 Shrew Soft Inc.
## : press the <h> key for help
!! : invalid parameters specified ...
>> : ikec -r "name" [ -u <user> ][ -p <pass> ][ -a ]
 -r     site configuration path
 -u     connection user name
 -p     connection user password
 -a     auto connect

</pre>
    It is possible to import Cisco PCF via CLI ?<br>
    <br>
    <br>
    On 3/18/2012 7:08 PM, lestoilfante wrote:
    <blockquote
cite="mid:CAMRjn=M3VQteYJ9yJyEwUMijANOnjLmTPrAS2fSjtd+_cjEkMg@mail.gmail.com"
      type="cite">You should disable the gui on compiling time. then run
      iked and ikec -r configfilename -u username -p password -a
      <div><br>
        <br>
        <div class="gmail_quote">On Tue, Mar 13, 2012 at 9:42 AM, <a
            moz-do-not-send="true" href="mailto:cmlitguy@gmail.com">cmlitguy@gmail.com</a>
          <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:cmlitguy@gmail.com">cmlitguy@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
            I want to ask if someone know how I can start Shrew VPN
            Client from command-line on Linux.<br>
            I found same questions in mailing-list <a
              moz-do-not-send="true"
              href="http://lists.shrew.net/pipermail/vpn-help/2011-April/003636.html"
              target="_blank">http://lists.shrew.net/pipermail/vpn-help/2011-April/003636.html</a>,
            but with no clear response.<br>
            Also I tried to find help starting the programs:<br>
            # ikea --help<br>
            ikea: cannot connect to X server<br>
            <br>
            # ikec --help<br>
            ikec: cannot connect to X server<br>
            <br>
            # iked --help<br>
            !! : socket bind failed<br>
            daemon network configuration failed<br>
             ( line 9, col 15 )<br>
            <br>
            Cant someone ask if is possible to establish a VPN tunnel
            using Shrew Soft VPN Client from command-line ?<br>
            Now we are using vpnc + simple php script with apache to
            make a connection via Web Browser:<br>
            <br>
            Thanks in advance.<br>
            _______________________________________________<br>
            vpn-help mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:vpn-help@lists.shrew.net" target="_blank">vpn-help@lists.shrew.net</a><br>
            <a moz-do-not-send="true"
              href="http://lists.shrew.net/mailman/listinfo/vpn-help"
              target="_blank">http://lists.shrew.net/mailman/listinfo/vpn-help</a><br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>