From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Stojanovic, Marta" To: 'Mark Thornber' , Syd Polk Cc: "'sourcenav@sources.redhat.com'" Subject: RE: configure doesn't find cl Date: Fri, 21 Sep 2001 21:04:00 -0000 Message-id: <9258C238472FD411AA860004AC369AF90CE407EA@nrcmrdex1.imsb.nrc.ca> X-SW-Source: 2001-q3/msg00167.html Hello Syd & Mark ! Thank you very much for your help, that worked fine. In fact, when you sent me that tip, I recalled having that problem before, but I then managed to find the solution by myself (although, I didn't manage to remember it, as you see ... I'm getting very old). The problem is in this : instead of typing "export CC=cl" I typed by mistake just "CC=cl" on the command line the first time I used configure. When I ran configure, of course it didn't find CC, so it took gcc instead ... and put it in config.cache. Afterwards I realized that I should have used "export ...", but it wouldn't work. Now, there is probably a way to tell configure not to use cached info, but I'm not aware of it. It's rather frustrating to make all those changes to the environment to accomodate configure, while it never uses them if it once stored all the environment in config.cache ... Anyway, thanks a lot ! Hope my grey cells will remember it next time ... Kind regards, Marta. Marta, Syd Polk wrote: > Stojanovic, Marta wrote: > > >>Hi all ! >> >>I don't know what I'm doing wrong : I used to build SN without any problems >>on Win2000 using cygwin and MSVC6, but now when I'm trying configure again >>it gives the following message : >> >>..... >>checking for gcc... (cached) gcc >> > > Try removing the file "config.cache". Actually, blow away your build > directory and reconfigure. I strongly suggest the latter course - trying to work out how to get configure / autoconf / automake / libtool to take notice of configuration changes is a _very_ black art. --MarkT