[mosh-devel] compilation error on CentOS 5

Quentin Smith quentin at MIT.EDU
Tue Apr 10 15:49:42 EDT 2012


Hi Florin,

htobe64 is something that should be provided in a system header. Can you 
grep through your includes (probably /usr/include and /usr/lib/gcc) to see 
if there's a header that provides htobe64?

--Quentin

On Tue, 10 Apr 2012, Florin Andrei wrote:

> mosh-1.1.1 (really the Fedora 16 src.rpm), rebuilding it on CentOS 5
> x86_64. I assume the rebuild process is fine on Fedora, but I can't
> verify that.
>
> On CentOS 5 the process ends with:
>
> checking for library containing clock_gettime... -lrt
> checking for setupterm in -lncurses... yes
> checking whether mach_absolute_time is declared... no
> checking whether pipe2 is declared... no
> checking whether signalfd is declared... no
> checking whether htobe64 is declared... no
> checking whether OSSwapHostToBigInt64 is declared... no
> configure: error: Unable to find byte swapping functions
>
> Here's the config.log file:
>
> http://pastebin.com/2NZGdCB4
>
> I assume this is some dependency that is missing, yet it's not declared
> in the RPM spec file. Are there any libraries that I need to install?
>
> -- 
> Florin Andrei
> http://florin.myip.org/
>
> _______________________________________________
> mosh-devel mailing list
> mosh-devel at mit.edu
> http://mailman.mit.edu/mailman/listinfo/mosh-devel
>



More information about the mosh-devel mailing list