[parsec-users] error: C compiler cannot create executables

Yungang Bao ybao at CS.Princeton.EDU
Mon Feb 28 13:14:23 EST 2011


if you encounter errors while running "source ./env.sh", you can try to run this command "./env.sh" after "source ./env.sh".

Best Regards,

----- Original Message -----
From: "huwei8717" <huwei8717 at yahoo.com.cn>
To: "parsec-users" <parsec-users at lists.cs.princeton.edu>
Sent: Monday, February 28, 2011 7:11:46 AM
Subject: [parsec-users] error: C compiler cannot create executables


sorry to take up some time of you. 

When I use "source ./env.sh ", it errored as followed. 

dirname: invalid option -- 'b' 
Try `dirname --help' for more information. 
dirname: missing operand 
Try `dirname --help' for more information. 


When I use "./parsecmgmt -a build -p x264 " to build x264, it errored as followed. 


[PARSEC] Packages to build: x264 

[PARSEC] [========== Building package x264 ==========] 
[PARSEC] [---------- Analyzing package x264 ----------] 
[PARSEC] x264 depends on: yasm 
[PARSEC] [---------- Analyzing package yasm ----------] 
[PARSEC] yasm does not depend on any other packages. 
[PARSEC] [---------- Building package yasm ----------] 
[PARSEC] Removing old build directory. 
[PARSEC] Running 'env LIBS=-L/n/fs/parsec/local/gcc-4.4.0-static/lib64 -L/n/fs/parsec/local/gcc-4.4.0-static/lib /home/whu/parsec/parsec-2.1/bin/../pkgs/tools/yasm/src/configure --prefix=/home/whu/parsec/parsec-2.1/bin/../pkgs/tools/yasm/inst/amd64-linux.gcc': 
checking for a BSD-compatible install... /home/whu/parsec/parsec-2.1/bin/../bin/install -c 
checking whether build environment is sane... yes 
checking for a thread-safe mkdir -p... /bin/mkdir -p 
checking for gawk... gawk 
checking whether /usr/bin/make sets $(MAKE)... yes 
checking whether to enable maintainer-specific portions of Makefiles... no 
checking for style of include used by /usr/bin/make... GNU 
checking for gcc... /n/fs/parsec/local/gcc-4.4.0-static/bin/gcc 
checking for C compiler default output file name... 
configure: error: C compiler cannot create executables 
See `config.log' for more details. 
[PARSEC] Error: 'env LIBS=-L/n/fs/parsec/local/gcc-4.4.0-static/lib64 -L/n/fs/parsec/local/gcc-4.4.0-static/lib /home/whu/parsec/parsec-2.1/bin/../pkgs/tools/yasm/src/configure --prefix=/home/whu/parsec/parsec-2.1/bin/../pkgs/tools/yasm/inst/amd64-linux.gcc' failed. 


Could anybody can help me? Thank you very much! 

Best Regards 


parsec-users mailing list
parsec-users at lists.cs.princeton.edu

More information about the parsec-users mailing list