<div>do i succeed to start mosh server? seems i cannot connect to my remote vps using mobaxterm</div><div><br></div><div><b>Server Side</b>:</div><div><div><div>&nbsp;~/ins_t/bin/mosh-server&nbsp;</div><div><br></div><div>MOSH CONNECT 60001 10/TPxxxxxxxxxxxx7Fw</div><div><br></div><div>mosh-server (mosh 1.2.4)</div><div>Copyright 2012 Keith Winstein &lt;mosh-devel@mit.edu&gt;</div><div>License GPLv3+: GNU GPL version 3 or later &lt;http://gnu.org/licenses/gpl.html&gt;.</div><div>This is free software: you are free to change and redistribute it.</div><div>There is NO WARRANTY, to the extent permitted by law.</div><div><br></div><div>[mosh-server detached, pid = 26278]</div><div>[wow@home mosh2]$ pgrep mosh</div><div>[wow@home mosh2]$ pgrep mosh -lf</div><div><br></div><div><b>Client Side:</b></div><div><br></div><div>SSH Connection: a.a.a.a 52165 x.x.x.x 22</div><div>bash: mosh-server: command not found</div><div>X11 forwarding request failed on channel 0</div><div>Connection to vps.iyanwu.com closed.</div><div><br></div><div>©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤</div><div><br></div><div>Session stopped</div><div>&nbsp; &nbsp; - Press &lt;return&gt; to exit tab</div><div>&nbsp; &nbsp; - Press r to restart session</div><div>&nbsp; &nbsp; - Press s to save terminal output to file</div></div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------&nbsp;Original&nbsp;------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From: </b>&nbsp;"wowmailman";&lt;wowmailman@qq.com&gt;;</div><div><b>Date: </b>&nbsp;Jun 13, 2014</div><div><b>To: </b>&nbsp;"Anders Kaseorg"&lt;andersk@MIT.EDU&gt;; <wbr></div><div><b>Cc: </b>&nbsp;"mosh-users"&lt;mosh-users@mit.edu&gt;; <wbr></div><div><b>Subject: </b>&nbsp;Re: [mosh-users] why i failed to build mosh? i haveinstalledprotobuf,but configure said it cannot find it, why?</div></div><div><br></div><div>seems i succeed, thank you</div><div><br></div><div>autotools is rather tricky sometimes, haha</div><div><br></div><div><div>export PKG_CONFIG_PATH=/home/bigforest/ins_t/lib/pkgconfig</div><div>./configure CFLAGS=-I/home/bigforest/ins_t/include LDFLAGS=-L/home/bigforest/ins_t/lib --prefix=$HOME/ins_t</div><div><br></div><div>make then ...</div><div><br></div><div>make[2]: Leaving directory `/home/bigforest/code/mosh/man'</div><div>Making all in conf</div><div>make[2]: Entering directory `/home/bigforest/code/mosh/conf'</div><div>make[2]: Nothing to be done for `all'.</div><div>make[2]: Leaving directory `/home/bigforest/code/mosh/conf'</div><div>make[2]: Entering directory `/home/bigforest/code/mosh'</div><div>make[2]: Leaving directory `/home/bigforest/code/mosh'</div><div>make[1]: Leaving directory `/home/bigforest/code/mosh'</div><div>[bigforest@309223 mosh]$ echo $?</div><div>0</div></div><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From: </b>&nbsp;"Anders Kaseorg";&lt;andersk@MIT.EDU&gt;;</div><div><b>Date: </b>&nbsp;Jun 13, 2014</div><div><b>To: </b>&nbsp;"wowmailman"&lt;wowmailman@qq.com&gt;; <wbr></div><div><b>Cc: </b>&nbsp;"mosh-users"&lt;mosh-users@mit.edu&gt;; <wbr></div><div><b>Subject: </b>&nbsp;Re: [mosh-users] why i failed to build mosh? i haveinstalledprotobuf,but configure said it cannot find it, why?</div></div><div><br></div>On Fri, 13 Jun 2014, wowmailman wrote:<br>&gt; make clean<br>&gt; export protobuf_CFLAGS=-I/home/bigforest/ins_t/include<br>&gt; export protobuf_LIBS=-L/home/bigforest/ins_t/lib<br>&gt; export PKG_CONFIG_PATH=/home/bigforest/ins_t/lib/pkgconfig<br>&gt; ./configure --prefix=$HOME/ins_t<br>&gt; make<br><br>Can you try again without protobuf_CFLAGS and protobuf_LIBS (unset them if <br>necessary), keeping only PKG_CONFIG_PATH?&nbsp; protobuf_CFLAGS and <br>protobuf_LIBS are preventing the linker from seeing the needed -l flags.<br><br>Anders<br>.<br></div></div>