[mosh-users] mosh configure failure on Darwin/PPC

James E Keenan jkeen at verizon.net
Sun Nov 17 19:51:59 EST 2013


On 11/17/13 2:44 PM, Quentin Smith wrote:
> Hi James,
>
> As part of installing protobuf, it should have installed a file called
> protobuf.pc, probably in /usr/local/lib/pkgconfig/protobuf.pc. Assuming
> that's where it is, try:
>
> PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure
>
> to tell configure to look there.
>

Thanks for your rapid response.  That enabled ./configure to complete, 
apparently successfully.

#####
configure:  === Configuration results ===
configure: Version:             1.2.4
configure: c++ compiler:        g++
configure: Warning CXXFLAGS:    -Wall
configure: Picky CXXFLAGS:
configure: Harden CFLAGS:        -D_FORTIFY_SOURCE=2 -fPIE
configure:  =============================
#####

Unfortunately, 'make' did not succeed:

#####
[mosh-1.2.4] 509 $ make
make  all-recursive
Making all in src
Making all in protobufs
   GEN    userinput.pb.cc
   GEN    hostinput.pb.cc
   GEN    transportinstruction.pb.cc
make  all-am
   CXX    userinput.pb.o
   CXX    hostinput.pb.o
   CXX    transportinstruction.pb.o
   AR     libmoshprotos.a
Making all in util
   CXX    locale_utils.o
   CXX    swrite.o
   CXX    select.o
   CXX    timestamp.o
timestamp.cc:48: warning: converting negative value 
‘-0x00000000000000001’ to ‘uint64_t’
   CXX    pty_compat.o
pty_compat.cc:42:25: error: sys/stropts.h: No such file or directory
pty_compat.cc: In function ‘pid_t my_forkpty(int*, char*, const 
termios*, const winsize*)’:
pty_compat.cc:96: error: ‘I_PUSH’ was not declared in this scope
make[3]: *** [pty_compat.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
#####

About 20 minutes of internet search suggests that many platforms lack a 
'sys/stropts.h' file.  This search at Apple, for instance, turns up nothing:

https://www.apple.com/search/?q=sys/stropts.h

Thank you very much.
Jim Keenan


More information about the mosh-users mailing list