I grabbed the Mercurial sources and attempted a build, but it errored
out with the following message:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -pthread -MT
cloexec.lo -MD -MP -MF .deps/cloexec.Tpo -c cloexec.c -fPIC -DPIC -o
.libs/cloexec.o
In file included from cloexec.c:28:0:
./unistd.h:122:6: error: operator '&&' has no left operand
make[4]: *** [cloexec.lo] Error 1
make[4]: Leaving directory
`/home/melrobin/octave/current_octave/octave/libgnu'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/melrobin/octave/current_octave/octave/libgnu'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/melrobin/octave/current_octave/octave/libgnu'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/melrobin/octave/current_octave/octave'
make: *** [all] Error 2
I was able to download and build the 3.5.90 snapshot on the same system
(Fedora 16). Any idea of what could be causing this error. I am using
gcc 4.6.2