chienbv / sacd-ripper

Automatically exported from code.google.com/p/sacd-ripper
GNU General Public License v2.0
0 stars 0 forks source link

sacd ripper revision 385: config error when running on OSX lion with xcode 432 #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. svn checkout http://sacd-ripper.googlecode.com/svn/trunk/ sacd-ripper
2. cd sacd-ripper
3. sh configure
4. first error was that no c compiler was found. 
5. downloaded the xcode command line tool for Lion. 
6. sh configure
7. error: checking for C compiler default output... configure: error: C 
compiler cannot create executables

config.log details: 
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  $ configure --host=ppu --enable-static --disable-shared

## --------- ##
## Platform. ##
## --------- ##

hostname = buffer
uname -m = x86_64
uname -r = 11.3.0
uname -s = Darwin
uname -v = Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; 
root:xnu-1699.24.23~1/RELEASE_X86_64

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = Mach kernel version:
     Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3
Primary memory available: 4.00 gigabytes
Default processor set: 104 tasks, 555 threads, 4 processors
Load average: 1.24, Mach factor: 2.74
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/X11/bin

## ----------- ##
## Core tests. ##
## ----------- ##

configure:1514: checking for a BSD-compatible install
configure:1568: result: /usr/bin/install -c
configure:1579: checking whether build environment is sane
configure:1622: result: yes
configure:1655: checking for gawk
configure:1684: result: no
configure:1655: checking for mawk
configure:1684: result: no
configure:1655: checking for nawk
configure:1684: result: no
configure:1655: checking for awk
configure:1671: found /usr/bin/awk
configure:1681: result: awk
configure:1691: checking whether make sets $(MAKE)
configure:1711: result: yes
configure:1790: checking for ppu-strip
configure:1819: result: no
configure:1828: checking for strip
configure:1844: found /usr/bin/strip
configure:1855: result: strip
configure:1877: checking whether make sets $(MAKE)
configure:1897: result: yes
configure:1919: checking for ppu-gcc
configure:1948: result: no
configure:1957: checking for gcc
configure:1973: found /usr/bin/gcc
configure:1983: result: gcc
configure:2227: checking for C compiler version
configure:2230: gcc --version </dev/null >&5
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) 
(LLVM build 2336.9.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2233: $? = 0
configure:2235: gcc -v </dev/null >&5
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.9~22/src/configure 
--disable-checking --enable-werror 
--prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 
--mandir=/share/man --enable-languages=c,objc,c++,obj-c++ 
--program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ 
--with-slibdir=/usr/lib --build=i686-apple-darwin11 
--enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.9~22/dst-llvmCore/Develo
per/usr/local --program-prefix=i686-apple-darwin11- 
--host=x86_64-apple-darwin11 --target=i686-apple-darwin11 
--with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)
configure:2238: $? = 0
configure:2240: gcc -V </dev/null >&5
llvm-gcc-4.2: argument to `-V' is missing
configure:2243: $? = 1
configure:2267: checking for C compiler default output
configure:2270: gcc -I/ppu/include -I/portlibs/ppu/include  -L/ppu/lib 
-L/portlibs/ppu/lib -lrt -llv2 conftest.c  >&5
ld: warning: directory not found for option '-L/ppu/lib'
ld: warning: directory not found for option '-L/portlibs/ppu/lib'
ld: library not found for -lrt
collect2: ld returned 1 exit status
configure:2273: $? = 1
configure: failed program was:
| #line 2246 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libiconv"
| #define VERSION "1.9"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2312: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-I/ppu/include -I/portlibs/ppu/include'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/ppu/lib -L/portlibs/ppu/lib -lrt -llv2'
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=ppu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} 
/Users/mimil/downloads/sacd-ripper/libs/libiconv/autoconf/missing --run 
aclocal-1.7'
ALLOCA=''
ALLOCA_H=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} 
/Users/mimil/downloads/sacd-ripper/libs/libiconv/autoconf/missing --run tar'
AR=''
AS=''
AUTOCONF='${SHELL} 
/Users/mimil/downloads/sacd-ripper/libs/libiconv/autoconf/missing --run 
autoconf'
AUTOHEADER='${SHELL} 
/Users/mimil/downloads/sacd-ripper/libs/libiconv/autoconf/missing --run 
autoheader'
AUTOMAKE='${SHELL} 
/Users/mimil/downloads/sacd-ripper/libs/libiconv/autoconf/missing --run 
automake-1.7'
AWK='awk'
CC='gcc'
CCDEPMODE=''
CFLAGS='-I/ppu/include -I/portlibs/ppu/include'
CP=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DLLTOOL=''
ECHO='/bin/echo'
ECHO_C='ECHO_N=''
ECHO_T=''
EGREP=''
EILSEQ=''
EXEEXT=''
F77=''
FFLAGS=''
GCC=''
GMSGFMT=''
HAVE__BOOL=''
ICONV_CONST=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INTLLIBS=''
LDFLAGS='-L/ppu/lib -L/portlibs/ppu/lib -lrt -llv2'
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN=''
LN_S=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAKEINFO='${SHELL} 
/Users/mimil/downloads/sacd-ripper/libs/libiconv/autoconf/missing --run 
makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
MSGMERGE=''
OBJDUMP=''
OBJEXT=''
OS=''
PACKAGE='libiconv'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PLUGLIB=''
POSUB=''
RANLIB=''
RELOCATABLE=''
RELOCATABLE_VIA_LD_FALSE=''
RELOCATABLE_VIA_LD_TRUE=''
SET_MAKE=''
SET_RELOCATABLE=''
SHELL='/bin/sh'
STDBOOL_H=''
STRIP='strip'
USE_EXTRA_ENCODINGS=''
USE_NLS=''
VERSION='1.9'
XGETTEXT=''
ac_ct_AR=''
ac_ct_AS=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_DLLTOOL=''
ac_ct_F77=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB=''
ac_ct_STRIP='strip'
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
exec_prefix='NONE'
host='ppu'
host_alias='ppu'
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/Users/mimil/downloads/sacd-ripper/libs/libiconv/autoconf/install-sh
'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${datadir}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "libiconv"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "1.9"

configure: exit 77

What is the expected output? What do you see instead?
configuration successful. 

What version of the product are you using? On what operating system?
OS and gcc version as per log file. The revision of sacd ripper: Checked out 
revision 385.

Original issue reported on code.google.com by milesi.t...@gmail.com on 29 Apr 2012 at 4:42

GoogleCodeExporter commented 9 years ago
read the manual. you should run "cmake ." instead of configure.

Original comment by mr_wic...@hotmail.com on 19 May 2012 at 5:14