Thrift安装错误



当我试图在Ubuntu 12.04上安装rift时,我遇到了这个错误。我用蚂蚁1.9.1安装节俭0.9。当我尝试"make"命令时,我得到了这个错误。有人能帮我显示这个错误吗。谢谢

使所有递归make[1]:正在进入目录/opt/thrift-0.9.0' Making all in compiler/cpp make[2]: Entering directory/opt/frave-0.9.0/compiler/cpp'使一切make[3]:进入目录/opt/thrift-0.9.0/compiler/cpp' make[3]: Nothing to be done for all-am'。make[3]:离开目录/opt/thrift-0.9.0/compiler/cpp' make[2]: Leaving directory/opt/fruct-0.9.0/compiler/cpp'在库中制作所有内容make[2]:正在进入目录/opt/thrift-0.9.0/lib' Making all in cpp make[3]: Entering directory/opt/frave-0.9.0/lib/cpp'全力以赴。make[4]:进入目录/opt/thrift-0.9.0/lib/cpp' make[4]: Nothing to be done for all-am'。make[4]:离开目录/opt/thrift-0.9.0/lib/cpp' Making all in test make[4]: Entering directory/opt/frave-0.9.0/lib/cpp/test'make[4]:对all'. make[4]: Leaving directory/opt/frave-0.9.0/lib/cpp/test'不执行任何操作make[3]:离开目录/opt/thrift-0.9.0/lib/cpp' Making all in java make[3]: Entering directory/opt/frave-0.9.0/lib/java'/opt/ant1.91/bin/ant构建文件:/opt/fract-0.9.0/lib/java/build.xml

setup.init:

mvn.ant.tasks.check:

代理:

mvn.ant.tasks.download:[get]获取:http://repo1.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar[get]到:/opt/fract-0.9.0/lib/java/build/tools/maven-ant-tasks-2.1.3.jar[get]未修改-因此未下载

mvn.init:

生成失败/opt/fractive-0.9.0/lib/java/build.xml:282:artifact:pom不支持"groupId"属性

总时间:1秒make[3]:*[all local]错误1make[3]:正在离开目录/opt/thrift-0.9.0/lib/java' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory/opt/frave-0.9.0/lib'make[1]:[所有递归]错误1make[1]:正在离开目录`/opt/fract-0.9.0'make:**[all]错误2

此错误是由Apache Ant 1.9.x引起的。有关详细信息,请参阅[1]。

  1. 删除apacheant,并使用版本1.8.x[2]重新安装

    # sudo apt-get remove ant
    # tar -jxvf http://archive.apache.org/dist/ant/source/apache-ant-1.8.4-src.tar.bz2
    # cd apache-ant-1.8.4/
    # sed -i 's;jars,test-jar;jars;' build.xml
    # sudo mkdir /opt/ant-1.8.4
    # sudo ./build.sh -Ddist.dir=/opt/ant-1.8.4 dist
    # sudo ln -v -sfn ant-1.8.4 /opt/ant
    
  2. 配置节俭[3]

    # export PATH=$PATH:/opt/ant/bin
    # export ANT_HOME=/opt/ant
    # PYTHON=/usr/bin/python2 ./configure --prefix=/usr --without-ruby
    # make
    # sudo make install
    

我在Ubuntu 12.04上使用的是prift 0.9.1,我发现无论蚂蚁1.8.4还是1.9.4:都会出现同样的问题

。。。工件:pom不支持"groupId"属性

真正有帮助的是这个建议:http://wiki.apache.org/cassandra/RunningCassandraInEclipse#artifact:pom_error

您必须确保maven-ant-tasks-2.1.3.jar文件位于您正在使用的ant的活动版本的lib目录中。

相关内容

  • 没有找到相关文章