Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk
From: Ralph Castain (rhc_at_[hidden])
Date: 2012-11-14 18:26:32


Sorry Nathan - I had to revert this out as it broke builds on Mac ML. The problem is that the find_and_check parser looks for parens to find the version number, expecting something like this:

$ m4 --version
m4 (GNU M4) 1.4.16

or this:

$ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1

However, on Mac ML, you get this for flex:

$ flex --version
flex 2.5.35 Apple(flex-31)

And so the parser incorrectly rejects the flex version. We'll have to come up with a more robust way of getting version numbers so we can do this test.

On Nov 12, 2012, at 11:28 PM, svn-commit-mailer_at_[hidden] wrote:

> Author: hjelmn (Nathan Hjelm)
> Date: 2012-11-13 02:28:10 EST (Tue, 13 Nov 2012)
> New Revision: 27601
> URL: https://svn.open-mpi.org/trac/ompi/changeset/27601
>
> Log:
> enforce minimum flex version in autogen.pl
>
> Text files modified:
> trunk/autogen.pl | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> Modified: trunk/autogen.pl
> ==============================================================================
> --- trunk/autogen.pl Tue Nov 13 02:21:10 2012 (r27600)
> +++ trunk/autogen.pl 2012-11-13 02:28:10 EST (Tue, 13 Nov 2012) (r27601)
> @@ -56,11 +56,13 @@
> my $ompi_automake_version = "1.11.1";
> my $ompi_autoconf_version = "2.65";
> my $ompi_libtool_version = "2.2.6b";
> +my $ompi_flex_version = "2.5.35";
>
> # Search paths
> my $ompi_autoconf_search = "autoconf";
> my $ompi_automake_search = "automake";
> my $ompi_libtoolize_search = "libtoolize;glibtoolize";
> +my $ompi_flex_search = "flex";
>
> # One-time setup
> my $username;
> @@ -797,6 +799,7 @@
> GNU Autoconf: $ompi_autoconf_version
> GNU Automake: $ompi_automake_version
> GNU Libtool: $ompi_libtool_version
> + Flex: $ompi_flex_version
> =================================================================\n";
> my_exit(1);
> }
> @@ -1015,6 +1018,7 @@
> &find_and_check("autoconf", $ompi_autoconf_search, $ompi_autoconf_version);
> &find_and_check("libtool", $ompi_libtoolize_search, $ompi_libtool_version);
> &find_and_check("automake", $ompi_automake_search, $ompi_automake_version);
> +&find_and_check("flex", $ompi_flex_search, $ompi_flex_version);
>
> #---------------------------------------------------------------------------
>
> _______________________________________________
> svn mailing list
> svn_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/svn