On Sat, Jul 18, 2015 at 11:37:49AM +0100 I heard the voice of Aaron Sloman, and lo! it spake thus: > > Not sure that I had done the right thing so I looked in version.c and > saw: > #include "ctwm.h" > #include "version.h" > #define VERSION_ID "3.8.2-post" > > which makes me wonder whether I somehow fetched an old version.
That's what you'd get on head. You'd have to try to get an older version; could always look at e.g. `bzr log | less` to double check that you've got recent stuff. > But that produced a lot of error messages: This looks like the money shot: > Linking C executable cmTryCompileExec1962921915 [...] > /usr/lib64/ccache/cc > CMakeFiles/cmTryCompileExec1962921915.dir/testCCompiler.c.o -o > cmTryCompileExec1962921915 -rdynamic > /usr/bin/ld: i386 architecture of input file > `/usr/lib/gcc/x86_64-redhat-linux/5.1.1/../../../crt1.o' is incompatible with > i386:x86-64 output Seems similar to the compiler issues you've had in the past. The crt1 and the other crt files (which are toolchain builtin bits; they contain stuff like the glue that actually calls main() when the image activates) won't link with the objects the compiler is creating. And I believe that the "i386:x86-64" means the compiler is building 32-bit code. It's a little interesting that from > -- The C compiler identification is GNU 5.1.1 > -- Check for working C compiler: /usr/lib64/ccache/cc it looks like it finds a compiler that looks like it's part of ccache (which is a compiler/wrapper that caches across multiple compilations); that may just be a coincidence of naming, but it's suggestive. Do you have a e.g. /usr/bin/cc or gcc or something that's something different? You could try using that instead by something like % make CC=/usr/bin/cc allclean cmake (the 'allclean' cleans up all remnants of old cmake runs, just to be safe) Anyway, a little googling did dig up <https://bugzilla.redhat.com/show_bug.cgi?id=139476> from back in Fedora 3 days, which suggests making sure glibc-devel.x86_64 is installed. Still, it seems a little b0rked that it's building 32-bit code, without being explicitly asked to... -- Matthew Fuller (MF4839) | [email protected] Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.
