[mpich-discuss] [MSYS] fail to generate configure and makefile
Jayesh Krishna
jayesh at mcs.anl.gov
Fri Jul 2 12:19:25 CDT 2010
Hi,
Looking at the output of the configure log I recommend that you install Cygwin (http://www.cygwin.com/) on your system. The error message shows that you do not have sysv/mmap support (required by the MPICH2 Nemesis channel for shared memory communication) on your system (looks like you have just installed the mingw compilers).
If you are not planning to modify MPICH2 code you could also try the windows installer (http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=downloads) to install MPICH2 on your system. Some newer versions of the gcc compilers (I haven't tested mingw x.x yet) allow users to directly link with windows libraries.
Regards,
Jayesh
----- Original Message -----
From: "Jayesh Krishna" <jayesh at mcs.anl.gov>
To: mpich-discuss at mcs.anl.gov
Cc: feiyunw at 163.com
Sent: Friday, July 2, 2010 12:11:37 PM GMT -06:00 US/Canada Central
Subject: Re: [mpich-discuss] [MSYS] fail to generate configure and makefile
Hi,
Run the "maint/updatefiles" script which will create the configure script and other files required to compile MPICH2 (Or you could take the nightly snapshots that already have the files generated for you - http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/nightly/).
Regards,
Jayesh
----- Original Message -----
From: "Feiyun Wang" <feiyunw at yahoo.com>
To: mpich-discuss at mcs.anl.gov
Cc: feiyunw at 163.com
Sent: Friday, July 2, 2010 11:41:45 AM GMT -06:00 US/Canada Central
Subject: [mpich-discuss] [MSYS] fail to generate configure and makefile
Hi,
I checked out mpich2 SVN trunk to c:\prj\mpich2 (rev.6844), and it comes without the configure script.
I tried to build it on MSYS/MinGW/WindowsXP but failed:
[quote]
$ cd /c/prj/mpich2/
jiehua at jiehua-PC /c/prj/mpich2
$ autoreconf
configure.in:736: error: possibly undefined macro: AC_MSG_WARN
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:995: error: possibly undefined macro: AC_ERROR
configure.in:2504: error: possibly undefined macro: AC_CXX_EXCEPTIONS
configure.in:2505: error: possibly undefined macro: AC_CXX_BOOL
configure.in:2506: error: possibly undefined macro: AC_CXX_NAMESPACES
configure.in:2523: error: possibly undefined macro: AC_CXX_NAMESPACE_STD
autoreconf: /usr/bin/autoconf-2.65 failed with exit status: 1
[/quote]
Then I downloaded mpich2-1.3a2.tar.gz, and the configure script in it can work under MSYS, but it failed to generate the Makefile at last. See the attached log file for details.
I have two questions:
1. What are the commands used to generate the configure script?
2. Why it failed to generate the Makefile on MSYS? Did I miss something? Or it simply does not support MSYS/MinGW?
Best regards,
Feiyun Wang
_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
More information about the mpich-discuss
mailing list