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

Quentin Smith quentin at MIT.EDU
Sun Nov 17 14:44:21 EST 2013


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.

Best,
--Quentin

On Sun, 17 Nov 2013, James E Keenan wrote:

> Today I attempted to build mosh from source on an older Mac, an iBook G4.  No 
> binary was available at http://mosh.mit.edu/#getting for OS X 10.4, hence the 
> attempt to build from source.
>
> I quickly discovered I lacked the 'protobuf' prerequisite.  I got that from 
> http://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz and successfully 
> built it from source and installed it (in /usr/local/bin), as evidenced by:
>
> #####
> $ protoc --version
> libprotoc 2.5.0
> #####
>
> However, when I went back to 'mosh', my run of './configure' ended with the 
> following output:
>
> #####
> configure: WARNING: C library doesn't advertise wchar_t is Unicode (OS X 
> works anyway with workaround).
> checking whether IUTF8 is declared... no
> configure: WARNING: No IUTF8 termios mode; character-erase of multibyte 
> character sequence probably does not work properly in canonical mode on this 
> platform.
> checking for protobuf... no
> configure: error: Package requirements (protobuf) were not met:
>
> No package 'protobuf' found
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively, you may set the environment variables protobuf_CFLAGS
> and protobuf_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
> #####
>
> Can you shed any light on:
>
> (1) Why the protobuf package requirements were not met?
>
> (2) What it would mean or take to set the protobuf_CFLAGS and protobuf_LIBS 
> environmental variables?
>
> Compressed config.log is attached.
>
> Thank you very much.
> Jim Keenan
>


More information about the mosh-users mailing list