You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "zezhou (JIRA)" <ji...@apache.org> on 2011/02/14 04:11:57 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=12994189#comment-12994189 ] 

zezhou commented on THRIFT-858:
-------------------------------

Hi
André Fiedler 
I got the same problem like you.
I use mac port to install autoconf,and can't install thrift as autoconf issue.
There are two autoconf programs in my mac.The one is system already has, and the other one is mac port install.they are in diffrent location.

When I run 'autoconf --version' ,it says autoconf version is 2.68, which is mac port install.

Then I run 'whereis autoconf' , it says the autoconf location is '/usr/bin/autoconf' , not the location mac port install .And I run '/usr/bin/autoconf --version',it says autoconf version is 2.61.Maybe thrift use the '/usr/bin/autoconf' , not the one mac port install,and it's cause the problem.

so  I abandon the mac port , download source code from http://ftp.gnu.org/gnu/autoconf/ and compile it,As I neither know how to let system use '/opt/local/bin/autoconf' instead of '/usr/bin/autoconf' though I set the PATH var, nor know how to usr mac port install autoconf to location '/usr/bin/autoconf '.Then it's ok.

here is compile autoconf command.
sudo ./configure --prefix=/usr/  #not /usr/bin/
sudo make && make install

I wish it helps.


> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira