On Thursday 24 December 2009, Tatsuro MATSUOKA wrote:
> Hello
>
> I have tried to build the cvs source at 2009-12-24.
> The 'make' procedures failed on cygwin-1.5 and cygwin-1.7
>
> The snapshot of the error on cygwin-1.7
>
> Making all in docs
> make[2]: Entering directory `/cygdrive/d/usr/Tatsu/cyghome-1.7/gnuplotcvs/gnuplot/docs'
> Makefile:73: *** Recursive variable `CC' references itself (eventually). Stop.
> make[2]: Leaving directory `/cygdrive/d/usr/Tatsu/cyghome-1.7/gnuplotcvs/gnuplot/docs'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/cygdrive/d/usr/Tatsu/cyghome-1.7/gnuplotcvs/gnuplot'
> make: *** [all] Error 2
>
>
> On cygwin1.5, the same error occurred.
>
> Perhaps the above are side effect of following change.
> 2009-12-24 Robert Schwebel <r.s...@pe...>
>
> * configure.in docs/Makefile.in:
> When cross compiling gnuplot, build the documentation generation tools
> in docs/ with CC_FOR_BUILD (host compiler), not with the cross compiler.
Yes. I see the same error under linux.
I have tried to fix this by revising the normal (not cross-compilation) definition
in configure.in from
CC_FOR_BUILD = "\$(CC)"
to
CC_FOR_BUILD = "{CC}"
That works for me here, but I am not confident that it is the correct fix.
This is beyond my depth of knowledge for autoconf/automake.
cc'ed to Robert Schwebel, author of the cross-compilation patch.
regards,
Ethan
|