You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Robert A. Lerche (Commented) (JIRA)" <ji...@apache.org> on 2011/11/02 20:05:32 UTC

[jira] [Commented] (THRIFT-1418) Compiling Thrift from source: Class org.apache.tools.ant.taskdefs.ConditionTask doesn't support the nested "typefound" element

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

Robert A. Lerche commented on THRIFT-1418:
------------------------------------------

Aha -- the problem is that by default sudo discards the environment variable ANT_HOME.

"sudo ANT_HOME=$ANT_HOME make install" resolves the issue.

Perhaps the generated Makefile should include an ANT_HOME= definition -- I believe that would avoid the issue.
                
> Compiling Thrift from source: Class org.apache.tools.ant.taskdefs.ConditionTask doesn't support the nested "typefound" element
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-1418
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1418
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Compiler
>    Affects Versions: 0.7
>         Environment: CentOS 5.5, Ant 1.8.2, Java 1.6.0_13-b03
>            Reporter: Robert A. Lerche
>         Attachments: compile-thrift
>
>
> I am trying to build Thrift from source in the above configuration.  "make" succeeds but "sudo make install" gives the error shown.  I attach the build log.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira