首页 > 解决方案 > Trying to make sonic annotator *keeps* failing

问题描述

Trying to make install sonic annotator. I've added a lot of dependencies. The error I'm getting now is

supportprogs: test succeeded
helpfulflags: terminate called after throwing an instance of 'Dataquay::RDFIncompleteURI'
  what():  Uri::Uri: Given string is not a complete absolute URI [with string "doap:download-page"]
./test-helpfulflags.sh: line 24: 125839 Aborted                 (core dumped) $r --skeleton $percplug > /dev/null
Test failed: Fails to run with --skeleton vamp:vamp-example-plugins:percussiononsets
*** Test FAILED
make[1]: *** [Makefile.runner:182: sonic-annotator] Error 1
make[1]: Leaving directory '/home/luke/Desktop/sonic-annotator-1.6'
make: *** [Makefile:164: sub-runner-pro-make_first-ordered] Error 2

I am, as I ask the question, trying to use

vamp-rdf-template-generator doap:http://vamp-plugins.org/rdf/plugins/vamp-example-plugins vamp:vamp-example-plugins:percussiononsets

In the following folder

/usr/local/lib/vamp$ ls
libvamp-hostsdk.so  vamp-example-plugins.cat     vamp-test-plugin.cat
libvamp-sdk.so      vamp-example-plugins.n3      vamp-test-plugin.so
plugins.cpp         vamp-example-plugins.so
pyin.so             vamp-rdf-template-generator

I am not optimistic.

B4fore running ./configure and make, again. Another thing that is annoying me, is that whenever make fails to complete, trying make install or make again, shows there is nothing to do: but I still can't run sonic-annotator. Meaning I go and delete the folder and start from the beginning again...

标签: makefile

解决方案


vamp-rdf-template-generator 似乎不会覆盖它之前的操作,所以我不得不删除 vamp 文件夹内的 vamp-example-plugins,并使用 uri 运行前一个命令,如上.

我提供的uri很好,绝对的。我通过在此处运行 java 代码来检查它使用 JavaScript通过 jnode将相对路径转换为绝对路径。

所以做完没有错误。然后我运行 make install ,再也没有什么可做的了。已尝试使用 sudo 运行 make 和 make install,但没有任何变化

~/Downloads/sonic-annotator-1.6$ sudo make install
( test -e Makefile.base || /usr/lib/qt5/bin/qmake -o Makefile.base /home/luke/Downloads/sonic-annotator-1.6/base.pro ) && make -f Makefile.base install
make[1]: Entering directory '/home/luke/Downloads/sonic-annotator-1.6'
make[1]: Nothing to be done for 'install'.
make[1]: Leaving directory '/home/luke/Downloads/sonic-annotator-1.6'
( test -e Makefile.test-svcore-base || /usr/lib/qt5/bin/qmake -o Makefile.test-svcore-base /home/luke/Downloads/sonic-annotator-1.6/test-svcore-base.pro ) && make -f Makefile.test-svcore-base install
make[1]: Entering directory '/home/luke/Downloads/sonic-annotator-1.6'
make[1]: Nothing to be done for 'install'.
make[1]: Leaving directory '/home/luke/Downloads/sonic-annotator-1.6'
( test -e Makefile.test-svcore-system || /usr/lib/qt5/bin/qmake -o Makefile.test-svcore-system /home/luke/Downloads/sonic-annotator-1.6/test-svcore-system.pro ) && make -f Makefile.test-svcore-system install
make[1]: Entering directory '/home/luke/Downloads/sonic-annotator-1.6'
make[1]: Nothing to be done for 'install'.
make[1]: Leaving directory '/home/luke/Downloads/sonic-annotator-1.6'
( test -e Makefile.test-svcore-data-fileio || /usr/lib/qt5/bin/qmake -o Makefile.test-svcore-data-fileio /home/luke/Downloads/sonic-annotator-1.6/test-svcore-data-fileio.pro ) && make -f Makefile.test-svcore-data-fileio install
make[1]: Entering directory '/home/luke/Downloads/sonic-annotator-1.6'
make[1]: Nothing to be done for 'install'.
make[1]: Leaving directory '/home/luke/Downloads/sonic-annotator-1.6'
( test -e Makefile.runner || /usr/lib/qt5/bin/qmake -o Makefile.runner /home/luke/Downloads/sonic-annotator-1.6/runner.pro ) && make -f Makefile.runner install
make[1]: Entering directory '/home/luke/Downloads/sonic-annotator-1.6'
make[1]: Nothing to be done for 'install'.
make[1]: Leaving directory '/home/luke/Downloads/sonic-annotator-1.6'

所以这个问题没有安装/成功就解决了。


推荐阅读