[ https://issues.apache.org/jira/browse/THRIFT-1418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16332772#comment-16332772 ]
Alexander Volanis edited comment on THRIFT-1418 at 1/19/18 10:50 PM: --------------------------------------------------------------------- I believe the right fix for this is to keep the `make all` and `make install` as independent tasks without explicit dependencies. `make all` generates a local build tree location with the distribution JAR files and `make install` simply copies that to $DESTDIR or $CMAKE_INSTALL_PREFIX as customary. My solution fixes this by allowing `sudo make install/fast` to execute correctly. was (Author: alex-vol): I believe the right fix for this is to keep the `make all` and `make install` as independent tasks without explicit dependencies. `make all` generates a local build tree location with the distribution JAR files and `make install` simply copies that to $DESTDIR or $CMAKE_INSTALL_PREFIX as customary. > 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 > Priority: Major > 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 was sent by Atlassian JIRA (v7.6.3#76005)