You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "André Fiedler (JIRA)" <ji...@apache.org> on 2010/11/13 16:42:14 UTC

[jira] Commented: (THRIFT-858) Have bootstrap.sh check for a suitable autoconf version before running

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

André Fiedler commented on THRIFT-858:
--------------------------------------

Got a Problem on Mac OS X, i have autoconf 2.68 installed and the script says i need 2.65 or higher?

Sunnys-MacBook:thrift SunboX$ ./bootstrap.sh
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions
configure.ac:20: error: Autoconf version 2.65 or higher is required
configure.ac:20: the top level
autom4te: /usr/bin/gm4 failed with exit status: 63
aclocal: /usr/bin/autom4te failed with exit status: 63
Sunnys-MacBook:thrift SunboX$ autoconf --version
autoconf (GNU Autoconf) 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

What to do now?

> Have bootstrap.sh check for a suitable autoconf version before running
> ----------------------------------------------------------------------
>
>                 Key: THRIFT-858
>                 URL: https://issues.apache.org/jira/browse/THRIFT-858
>             Project: Thrift
>          Issue Type: Improvement
>            Reporter: Michael Lum
>            Assignee: David Reiss
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: bootstrap.sh.patch, v1-0001-THRIFT-858.-Use-AC_PREREQ-to-check-for-Autoconf-vers.patch
>
>
> Running bootstrap.sh invokes autoconf.  Building thrift requires a minimum autoconf of 2.65 to avoid various bugs in earlier versions.  Currently, autoconf just succeeds silently, but then the build fails, which can be confusing to users.   This improvement will have bootstrap.sh check for it before running.

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