[GRASS5] [compiling on two or more processors?]

Glynn Clements glynn.clements at virgin.net
Sun Jun 16 18:48:43 EDT 2002


Sergiusz Pawlowicz wrote:

> I'm trying to compile Grass5 on machine with two processors:

[snip]

> Why does it fail?

The usual reason why parallel make fails is that one target depends
upon another but doesn't actually specify it as a dependency.

In this case, it looks like something is being built (from the
"do-compile" target) before src/CMD/head/head has been renamed to
src/CMD/head/head.<arch> (in the "pre-compile" target").

Try running "make pre-compile" first, without any "-j" switch, then
run the parallel make once that has completed.

If that doesn't work, it's unlikely to be fixed in 5.0.x. The build
system is intended to be replaced for 5.1.

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-dev mailing list