2016-07-25 7 views
3

C/C++バインディングで開発されたCOMPSアプリケーションをビルドしようとしています。アプリケーションをビルドするときに、次のエラーが発生しました。この問題をどうやって解決できるか考えていますか?COMPSを使用してC/C++アプリケーションを構築する際のエラー:ハードコードされたパス

xxxx:~/xxx/c/increment> buildapp increment 
*---------------------------------------------------------------------* 
*                  * 
*    BSC - Barcelona Supercomputing Center     * 
*       COMP Superscalar       * 
*                  * 
*     C/C++ Applications - BUILD SCRIPT     * 
*                  * 
*                  * 
* More information at COMP Superscalar Website: http://compss.bsc.es * 
*                  * 
* Support: [email protected]          * 
*                  * 
* Dependencies: csh (sudo apt-get install csh)      * 
*                  * 
*---------------------------------------------------------------------* 

ARCH: amd64 
SUBFLDR: server 
Cleaning intermediate files... 
rm -f *.o 
Building application for master... 
g++ -DCOMPSS_MASTER -std=c++11 -g -I. -I/opt/COMPSs/Bindings/c/include -I/opt/COMPSs/Bindings/bindings-common/include -c example.cc 
ar rvs libmaster.a example.o 
ar: creating libmaster.a 
a - example.o 
ranlib libmaster.a 
Building application for workers... 
g++ -DCOMPSS_WORKER -std=c++11 -g -I. -I/opt/COMPSs/Bindings/c/include -I/opt/COMPSs/Bindings/bindings-common/include -c example.cc 
ar rvs libworker.a example.o 
ar: creating libworker.a 
a - example.o 
ranlib libworker.a 
Deploying lib files... 
/home/jorgee/margarita_svn/bar/tutorial_apps/c/increment 
Building all: 

Building Master... 
The master directory already exists from a previous build. Removing. 
/usr/bin/cp: cannot stat ‘/home/cramonco/svn/compss/framework/tags/1.4/builders/specs/rpm/compss-c-binding/tmp/BUILDROOT/compss-c-binding-1.4-1.x86_64/opt/COMPSs/Bindings/c/share/compsuperscalar/build/c/master/Makefile.am’: No such file or directory 
ERROR: Command exited with status 1. 

Building binding failed, please check errors above! 

答えて

3

これは、debまたはrpmパッケージからインストールするときに表示される問題です。一部のスクリプトは、コンパイルパスとともにインストールされています。ソースから

再インストール1.4パッチを当てたバージョン:

wget http://compss.bsc.es/releases/compss/1.4/patches/COMPSs_1.4_07_update.tgz 

tar zxvf COMPSs_1.4_07_update.tgz 

cd 1.4_07/builders 

sudo -E ./buildlocal 

または実行し、次のコマンド

sudo sed -i "s|$HOME/svn/compss/framework/tags/1.4/builders/specs/rpm/compss-c-binding/tmp/BUILDROOT/compss-c-binding-1.4-1.x86_64||g" /opt/COMPSs/Bindings/c/bin/gsbuild 
それを解決するには、次の2つのオプションがあります
関連する問題