I'm attempting to compile Lame-3.97 but have some problems. (did figure out one on my one own, but now stuck) Anyone familiar with compiling on linux? I'm not sure if this is a specific issue with lame (probably Not), or just my limited knowledge.
first doing a ./configure gives following output with the error at end about can't create executable
dklein@toastr:/usr/local/src/lame-3.97$ ./configure
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
looking in log file as follows, it looks like the conftest.c file is missing, I don't find it anywhere. Look for my comments in red, in the log file below.
I looked at the configure script, but can't much sense of it. Sorry, not so experienced with compiling anything from source.
Do I have a good version of gcc? I would try the 3.98 version mentioned here, but I'm also even less experienced with using CVS to get source. Any reason 3.97 wouldn't shouldn't work, I'm fine with not the bleeding edge quality improvements, just want to rip to mp3.
Any advice very much pre-appreciated,
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by lame configure 3.97, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = toastr
uname -m = i686
uname -r = 2.6.18-4-686
uname -s = Linux
uname -v = #1 SMP Wed May 9 23:03:12 UTC 2007
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1574: checking build system type
configure:1592: result: i686-pc-linux-gnulibc1
configure:1600: checking host system type
configure:1614: result: i686-pc-linux-gnulibc1
configure:1637: checking for a BSD-compatible install
configure:1692: result: /usr/bin/install -c
configure:1703: checking whether build environment is sane
configure:1746: result: yes
configure:1811: checking for gawk
configure:1840: result: no
configure:1811: checking for mawk
configure:1827: found /usr/bin/mawk
configure:1837: result: mawk
configure:1847: checking whether make sets $(MAKE)
configure:1867: result: yes
configure:2037: checking whether to enable maintainer-specific portions of Makefiles
configure:2046: result: no
configure:2068: checking for style of include used by make
configure:2096: result: GNU
configure:2173: checking for gcc
configure:2189: found /usr/bin/gcc
configure:2199: result: gcc
configure:2443: checking for C compiler version
configure:2446: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Copyright © 2006 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:2449: $? = 0
configure:2451: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
configure:2454: $? = 0
configure:2456: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2459: $? = 1
configure:2482: checking for C compiler default output file name
configure:2485: gcc conftest.c >&5 <<<<<<<<<<Here, is this a problem? don't see this conftest.c file anywhere
/usr/bin/ld: crt1.o: No such file: No such file or directory <<<<<< is also a problem, or just a symptom of the above?
collect2: ld returned 1 exit status
configure:2488: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "lame"
| #define PACKAGE_TARNAME "lame"
| #define PACKAGE_VERSION "3.97"
| #define PACKAGE_STRING "lame 3.97"
| #define PACKAGE_BUGREPORT "lame-dev@lists.sf.net"
| #define PACKAGE "lame"
| #define VERSION "3.97"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2527: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnulibc1
ac_cv_build_alias=i686-pc-linux-gnulibc1
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
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=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnulibc1
ac_cv_host_alias=i686-pc-linux-gnulibc1
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /usr/local/src/lame-3.97/missing --run aclocal-1.9'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/local/src/lame-3.97/missing --run tar'
ANSI2KNR=''
AR=''
AUTOCONF='${SHELL} /usr/local/src/lame-3.97/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/local/src/lame-3.97/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/local/src/lame-3.97/missing --run automake-1.9'
AWK='mawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CONFIG_DEFS=''
CPP=''
CPPFLAGS=''
CPUTYPE=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
FRONTEND_CFLAGS=''
FRONTEND_LDADD=''
FRONTEND_LDFLAGS=''
GTK_CFLAGS=''
GTK_CONFIG=''
GTK_LIBS=''
HAVE_NASM_FALSE=''
HAVE_NASM_TRUE=''
INCLUDES=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDADD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOL_DEPS=''
LIB_MAJOR_VERSION=''
LIB_MINOR_VERSION=''
LIB_WITH_DECODER_FALSE=''
LIB_WITH_DECODER_TRUE=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEDEP=''
MAKEINFO='${SHELL} /usr/local/src/lame-3.97/missing --run makeinfo'
NASM=''
NASM_FORMAT=''
OBJEXT=''
PACKAGE='lame'
PACKAGE_BUGREPORT='lame-dev@lists.sf.net'
PACKAGE_NAME='lame'
PACKAGE_STRING='lame 3.97'
PACKAGE_TARNAME='lame'
PACKAGE_VERSION='3.97'
PATH_SEPARATOR=':'
RANLIB=''
RM_F=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
U=''
VERSION='3.97'
WITH_BRHIST_FALSE=''
WITH_BRHIST_TRUE=''
WITH_FRONTEND=''
WITH_MP3RTP=''
WITH_MP3X=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnulibc1'
build_alias=''
build_cpu='i686'
build_os='linux-gnulibc1'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnulibc1'
host_alias=''
host_cpu='i686'
host_os='linux-gnulibc1'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/usr/local/src/lame-3.97/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE "lame"
#define PACKAGE_BUGREPORT "lame-dev@lists.sf.net"
#define PACKAGE_NAME "lame"
#define PACKAGE_STRING "lame 3.97"
#define PACKAGE_TARNAME "lame"
#define PACKAGE_VERSION "3.97"
#define VERSION "3.97"
configure: exit 77