[ 
https://issues.apache.org/jira/browse/THRIFT-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607317#action_12607317
 ] 

Justin Lebar commented on THRIFT-47:
------------------------------------

At least on my Cygwin install, I don't have a /usr/local/share/aclocal 
directory.  I have /usr/share/aclocal, but that directory only contains 
bison-i18n.m4, libtool.m4, and ltdl.m4.  I tried copying all of these to 
thrift/aclocal, but it didn't solve the problem.  I also searched for pkg.m4 in 
my c:\Cygwin directory and didn't find it.

Any other ideas as to how I should approach this on Cygwin?

> 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