Re: [CMake] how to build cmake with mingw and msys?

2012-10-16 Thread Alan W. Irwin
On 2012-08-16 08:42-0700 Alan W. Irwin wrote: I am not in a position to do MinGW/MSYS experiments on the Wine platform at the moment, but once that is possible (should be a couple of weeks from now) I will attempt to confirm on that platform that the bootstrap method of building CMake works for

Re: [CMake] how to build cmake with mingw and msys?

2012-08-16 Thread Bill Hoffman
On 8/16/2012 1:47 AM, Alan W. Irwin wrote: Bill, you are the chief guru here so I am a bit hesitant to correct you. :-) However, I just checked a fairly recently downloaded version of MinGW/MSYS I use for my Wine experiments using the following command: OK, I was wrong... If we look at the

Re: [CMake] how to build cmake with mingw and msys?

2012-08-16 Thread Alan W. Irwin
On 2012-08-16 09:32-0400 Bill Hoffman wrote: On 8/16/2012 1:47 AM, Alan W. Irwin wrote: Bill, you are the chief guru here so I am a bit hesitant to correct you. :-) However, I just checked a fairly recently downloaded version of MinGW/MSYS I use for my Wine experiments using the following

Re: [CMake] how to build cmake with mingw and msys?

2012-08-16 Thread David Cole
On Thu, Aug 16, 2012 at 11:42 AM, Alan W. Irwin ir...@beluga.phys.uvic.cawrote: On 2012-08-16 09:32-0400 Bill Hoffman wrote: On 8/16/2012 1:47 AM, Alan W. Irwin wrote: Bill, you are the chief guru here so I am a bit hesitant to correct you. :-) However, I just checked a fairly recently

Re: [CMake] how to build cmake with mingw and msys?

2012-08-15 Thread Bill Hoffman
On 8/14/2012 7:56 PM, John Poole wrote: make: make: Command not found The problem is above, you do not have make in your PATH. It is most likely called mingw32-make.exe. If you make a copy of that to make.exe it should work. -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park,

Re: [CMake] how to build cmake with mingw and msys?

2012-08-15 Thread LM
On Aug 14, Doug wrote: For what it's worth, it works for me? I'm using stock mingw on windows 7, with these settings: doug@Zed e:/lib/cmake $ which gcc /mingw/bin/gcc.exe doug@Zed e:/lib/cmake $ which make /usr/bin/make.exe doug@Zed e:/lib/cmake $ echo $PATH ... ...and cmake bootstaps and

Re: [CMake] how to build cmake with mingw and msys?

2012-08-15 Thread Doug
I have no idea if it'll help at all, but I've had issues before with mingw where if you don't have '.' in your path (and you don't seem to) you need to put the full command path at the shell prompt. ie. make.exe instead of make. This miiight be causing your issue, but if you can just type 'make'

Re: [CMake] how to build cmake with mingw and msys?

2012-08-15 Thread Alan W. Irwin
On 2012-08-15 08:51-0400 Bill Hoffman wrote: On 8/14/2012 7:56 PM, John Poole wrote: make: make: Command not found The problem is above, you do not have make in your PATH. It is most likely called mingw32-make.exe. If you make a copy of that to make.exe it should work. Bill, you are the

[CMake] how to build cmake with mingw and msys?

2012-08-14 Thread LM
I built and used cmake on DeLi Linux with no issues, but every time I try it on Windows, I seem to have problems. My latest attempt, I just downloaded version 2.8.9. I'm using mingw (gcc 4.6.2) and msys. From within msys, I tried running ./bootstrap --system-libs --system-zlib --system-bzip2

Re: [CMake] how to build cmake with mingw and msys?

2012-08-14 Thread Amine Chadly
Hi, Isn't it a problem with the where it's looking for the compiler ? is c:/MinGW/bin/gcc.exe an equivalent of /mingw/bin/gcc.exe ? You can try to play around with a simple Makefile and setting the CC environment variable to see what are the correct values. Hope it helps... -- Amine LM

Re: [CMake] how to build cmake with mingw and msys?

2012-08-14 Thread John Poole
I will not be at my windows machine for several day where I've been trying cmake in MinGW; but I think I had the same problem you have run into. I think the path construction is very sensitive, have your tried /c/MinGW/bin/gcc.exe or /c:/MinGW/bin/gcc.exe On Tue, Aug 14, 2012 at 6:17 AM, LM

Re: [CMake] how to build cmake with mingw and msys?

2012-08-14 Thread Alan W. Irwin
On 2012-08-14 09:17-0400 LM wrote: I built and used cmake on DeLi Linux with no issues, but every time I try it on Windows, I seem to have problems. My latest attempt, I just downloaded version 2.8.9. I'm using mingw (gcc 4.6.2) and msys. From within msys, I tried running ./bootstrap

Re: [CMake] how to build cmake with mingw and msys?

2012-08-14 Thread Doug
For what it's worth, it works for me? I'm using stock mingw on windows 7, with these settings: doug@Zed e:/lib/cmake $ which gcc /mingw/bin/gcc.exe doug@Zed e:/lib/cmake $ which make /usr/bin/make.exe doug@Zed e:/lib/cmake $ echo $PATH