Linux build broken?

Added by Ben Hymers almost 9 years ago


I've just updated to the latest version from github, and am having trouble building on linux. Running "make linux32" from src/ spews out a lot of errors, ending in (and all looking like) this:

In file included from /usr/include/features.h:387,
                 from /usr/include/sys/types.h:26,
                 from jam.h:368,
                 from variable.c:33:
/usr/include/gnu/stubs.h:7: fatal error: gnu/stubs-32.h: No such file or directory
compilation terminated.
make[1]: *** [jam0] Error 1
make[1]: Leaving directory `/home/ben/development/jamplus/src'
make: *** [linux32] Error 2

Is this to be expected? It happens with gcc 4.4 and 4.5, from a clean clone.

Note also that building the suggested 'linux64' target doesn't work as there aren't any module files for linux64, but that linux32 actually makes binaries in a linuxx64 directory! Very confusing.

I just had a search through the history and it looks like there were some commits by Lucas Meijer around the 16th December last year that fiddled with linuxy things, I don't know enough to know how they've changed things though. All I know is that checking out a version before those commits and running the old "make linux" works without error.