valgrind configure error on Lion

Wu Degang samuelandjw at gmail.com
Tue Jun 26 20:30:55 PDT 2012


Hi,

Please see the following:

version:1
:msg:clean --->  Computing dependencies for valgrind:info:clean 
.:debug:clean Checking for conflicts against valgrind
:debug:clean Searching for dependency: valgrind-devel
:debug:clean Didn't find receipt, going to depspec regex for: valgrind-devel
:debug:clean Searching for dependency: perl5
:debug:clean Found Dependency: receipt exists for perl5
:msg:clean
:debug:main Executing org.macports.main (valgrind)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.archivefetch (valgrind)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (valgrind)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (valgrind)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (valgrind)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (valgrind)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Wed Jun 27 10:55:15 HKT 2012
:notice:configure --->  Configuring valgrind
:debug:configure Using compiler 'Mac OS X clang'
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:debug:configure Executing org.macports.configure (valgrind)
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe 
-O2' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch x86_64' 
LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.7' 
CXX='/usr/bin/clang++' 
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_valgrind/valgrind/work/.CC_PRINT_OPTIONS' 
F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib' 
OBJC='/usr/bin/clang' FCFLAGS='-pipe -O2 -m64' INSTALL='/usr/bin/install 
-c' OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2 -m64' 
CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
:debug:configure Assembled command: 'cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_valgrind/valgrind/work/valgrind-3.7.0" 
&& ./configure --prefix=/opt/local --mandir=/opt/local/share/man 
--without-mpicc --enable-only64bit'
:debug:configure Executing command line:  cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_valgrind/valgrind/work/valgrind-3.7.0" 
&& ./configure --prefix=/opt/local --mandir=/opt/local/share/man 
--without-mpicc --enable-only64bit
:info:configure checking for a BSD-compatible install... /usr/bin/install -c
:info:configure checking whether build environment is sane... yes
:info:configure checking for a thread-safe mkdir -p... ./install-sh -c -d
:info:configure checking for gawk... gawk
:info:configure checking whether make sets $(MAKE)... yes
:info:configure checking whether to enable maintainer-specific portions 
of Makefiles... no
:info:configure checking whether ln -s works... yes
:info:configure checking for gcc... /usr/bin/clang
:info:configure checking whether the C compiler works... yes
:info:configure checking for C compiler default output file name... a.out
:info:configure checking for suffix of executables...
:info:configure checking whether we are cross compiling... no
:info:configure checking for suffix of object files... o
:info:configure checking whether we are using the GNU C compiler... yes
:info:configure checking whether /usr/bin/clang accepts -g... yes
:info:configure checking for /usr/bin/clang option to accept ISO C89... 
none needed
:info:configure checking for style of include used by make... GNU
:info:configure checking dependency style of /usr/bin/clang... gcc3
:info:configure checking whether /usr/bin/clang and cc understand -c and 
-o together... yes
:info:configure checking how to run the C preprocessor... /usr/bin/clang -E
:info:configure checking whether we are using the GNU C++ compiler... yes
:info:configure checking whether /usr/bin/clang++ accepts -g... yes
:info:configure checking dependency style of /usr/bin/clang++... gcc3
:info:configure checking for ranlib... ranlib
:info:configure checking for a sed that does not truncate output... 
/opt/local/bin/gsed
:info:configure checking for ar... /opt/local/bin/ar
:info:configure checking for perl... /opt/local/bin/perl
:info:configure checking for gdb... /usr/bin/gdb
:info:configure checking dependency style of /usr/bin/clang... gcc3
:info:configure checking for diff -u... yes
:info:configure checking for a supported version of gcc... no (2.1)
:info:configure configure: error: please use gcc >= 3.0 or clang >= 2.9
:info:configure Command failed:  cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_valgrind/valgrind/work/valgrind-3.7.0" 
&& ./configure --prefix=/opt/local --mandir=/opt/local/share/man 
--without-mpicc --enable-only64bit
:info:configure Exit code: 1
:error:configure org.macports.configure for port valgrind returned: 
configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
     while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for valgrind: 
org.macports.install org.macports.configure org.macports.build 
org.macports.destroot
:notice:configure Please see the log file for port valgrind for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_valgrind/valgrind/main.log



More information about the macports-users mailing list