Install process: ./configure has errors
---------------------------------------

                 Key: THRIFT-47
                 URL: https://issues.apache.org/jira/browse/THRIFT-47
             Project: Thrift
          Issue Type: Bug
         Environment: Cygwin, gcc 3.4.4, autoconf 2.61, automake 1.10
            Reporter: Justin Lebar


To reproduce on my machine, I do the following:

{code}
svn checkout http://svn.apache.org/repos/asf/incubator/thrift/trunk thrift
./bootstrap.sh
./configure
{code}

This produces the following error:

{code}
./configure: line 21183: syntax error near unexpected token `MONO,'
./configure: line 21183: `  PKG_CHECK_MODULES(MONO, mono >= 1.2.6, 
have_mono=yes, have_mono=no)'
{code}

I get the same error even if I run ./configure --without-csharp --without-mono.

I can get around this by applying the following patch to configure.ac before I 
run bootstraph.sh:

{code}
Index: configure.ac
===================================================================
--- configure.ac        (revision 670095)
+++ configure.ac        (working copy)
@@ -35,9 +35,9 @@
 AM_CONDITIONAL([AMX_HAVE_ZLIB], [test "$success" = "yes"])
 
 AX_THRIFT_LIB(csharp, [C#], yes)
-if test "$with_csharp" = "yes";  then
-  PKG_CHECK_MODULES(MONO, mono >= 1.2.6, have_mono=yes, have_mono=no)
-fi
+#if test "$with_csharp" = "yes";  then
+#  PKG_CHECK_MODULES(MONO, mono >= 1.2.6, have_mono=yes, have_mono=no)
+#fi
 AM_CONDITIONAL(WITH_MONO, [test "$have_mono" = "yes"])
 
 AX_THRIFT_LIB(java, [Java], yes)
{code}

but this obviously doesn't solve the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to