Thrift
  1. Thrift
  2. THRIFT-1418

Compiling Thrift from source: Class org.apache.tools.ant.taskdefs.ConditionTask doesn't support the nested "typefound" element

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.7
    • Fix Version/s: None
    • Component/s: Java - Compiler
    • Labels:
      None
    • Environment:

      CentOS 5.5, Ant 1.8.2, Java 1.6.0_13-b03

      Description

      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.

      1. compile-thrift
        100 kB
        Robert A. Lerche

        Activity

        Hide
        Robert A. Lerche added a comment -

        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.

        Show
        Robert A. Lerche added a comment - 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.
        Hide
        Robert A. Lerche added a comment -

        Thrift build log

        Show
        Robert A. Lerche added a comment - Thrift build log

          People

          • Assignee:
            Jake Farrell
            Reporter:
            Robert A. Lerche
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development