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