building on cygwin
Kelly O'Hair
kelly.ohair at oracle.com
Mon Oct 15 10:08:33 PDT 2012
On Sep 28, 2012, at 9:17 AM, Jim Holmlund wrote:
>
> The new build didn't work on my cygwin PC.
> My cygwin is old. Erik said he could build ok under cygwin. Kelly said to try a new cygwin which I am loathe to do.
You need to update your cygwin.
>
> I think I tracked the problem down to this code in IdlCompilation.gmk:
>> # Now create the dependencies for each idl target.
>> $$(foreach p,$$($1),$$(eval $$(call add_idl_package,$1,$$($1_SRC),$$($1_BIN),$$(patsubst $$($1_BIN)/%.idl.d,$$($1_SRC)/%.idl,$$p),$$p,$$($1_DELETES),$$($1_OLDIMPLBASES),$$($1_IDLJ))))
> Tracing code I added shows that this foreach never calls add_idl_pacakge.
> BTW, what is a good way to debug/trace something like that $$(foreach...?
>
> Here is my uname -a output:
> CYGWIN_NT-5.1 fff 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
Too old!
My recommendation is to put a check into our configure script to require a newer version of cygwin and disallow 1.5.
This old 1.5 version has all kinds of problems, and granted newer sometimes means newer unknown issues,
in general the 1.7 release is a significantly better product.
-kto
>
> The make I am using is in /usr/bin, and make -v reports that it is
> GNU Make 3.82
> Built for i686-pc-cygwin
>
> The make I am using on solaris is 3.81 and it works ok. So, I tried a build on windows using 3.81 and the above problem went away.
>
> Thanks
> - jjh
>
More information about the build-infra-dev
mailing list