It should work without patching anything. I've never had this problem with building GRASS 6.x. Do you have any unusual flags in your build?

You say 6.2.2, but the error says 6.2.1 - somehow the makefiles are crossing?

Have you customized your GCC installation at all? Mine is clean and is also /usr/include/c++/....

I wonder if it's trying to compile with 'gcc -x c++' instead of 'g+ +' (the /usr/include/gcc/... implies this). I've found that the two operate a little differently - 'g++' does some automatic include/link magic that 'gcc -x c++' doesn't.

On Jul 26, 2007, at 4:48 AM, Jeshua Lacock wrote:


I just built 6.2.2 with one failed module here on Mac OS X:

make[2]: *** No rule to make target `/usr/include/gcc/darwin/4.0/c+ +/iostream', needed by `ami_stream.d'. Stop.
make[1]: *** [build] Error 2
make: *** [/usr/src/openosx-grass-autobuild/src/grass-6.2.1/ dist.powerpc-apple-darwin8.9.0/bin/r.terraflow] Error 2


On my machine "/usr/include/gcc/darwin/4.0/c++/iostream" is "/usr/ include//c++/4.0.0/iostream".

After replacing about 20 lines in `ami_stream.d' it started having similar problems with `mm_utils.d'.

Can anyone advise how were those ".d" files generated? Or do I have to fix one line at a time?


Thanks,

Jeshua Lacock, Owner
<http://OpenOSX.com>
phone: 877.240.1364


_______________________________________________
grass-dev mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grass-dev

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Time is an illusion - lunchtime doubly so."

- Ford Prefect


_______________________________________________
grass-dev mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grass-dev

Reply via email to