You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Justin Lebar (JIRA)" <ji...@apache.org> on 2008/06/23 21:24:45 UTC

[jira] Issue Comment Edited: (THRIFT-47) Install process: ./configure has errors

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

jlebar edited comment on THRIFT-47 at 6/23/08 12:23 PM:
--------------------------------------------------------------

Thanks for updating those wiki pages, Tom.  -But, unfortunately, installing pkg-config and copying that file still didn't solve the problem--I still get the same error message.  Again, I had to get pkg.m4 from /usr/share/aclocal, not /usr/local/share/aclocal; I'm not sure if that's important.-  Oh, I see...I need to bootstrap first.  I'll update the Wiki pages accordingly.

      was (Author: jlebar):
    Thanks for updating those wiki pages, Tom.  But, unfortunately, installing pkg-config and copying that file still didn't solve the problem--I still get the same error message.  Again, I had to get pkg.m4 from /usr/share/aclocal, not /usr/local/share/aclocal; I'm not sure if that's important.
  
> 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.