Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Mar 2009 21:20:28 -0700
From:      Paul Beard <paulbeard@gmail.com>
To:        hu.henry9@gmail.com
Cc:        multimedia@freebsd.org
Subject:   Re: faac-1.28 fails to build
Message-ID:  <6295D15B-780D-4479-8F53-1907EB68E912@gmail.com>
In-Reply-To: <53a1e0710903122115j88a079ds8025b426e01d209e@mail.gmail.com>
References:  <EE3186F7-0EEA-4946-A336-64FF41B155BD@gmail.com> <53a1e0710903122050j4e66d2cfu526073551cafd6fc@mail.gmail.com> <F568086C-892C-4742-9B53-99B8CAD386EE@gmail.com> <53a1e0710903122115j88a079ds8025b426e01d209e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mar 12, 2009, at 9:15 PM, Henry Hu wrote:

> No, CPPFLAGS should be -I${LOCALBASE}/include, and LDFLAGS should be
> -L${LOCALBASE}/lib
> Please find the =93checking for..." message from the config.log, and
> look at the test result and compiler output below it. Or paste
> config.log somewhere.


It was in the zip file I sent earlier: does this help?

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

It was created by FAAC configure 1.28, which was
generated by GNU Autoconf 2.62.  Invocation command line was

   $ ./configure

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

hostname =3D shuttle.paulbeard.org
uname -m =3D i386
uname -r =3D 7.1-STABLE
uname -s =3D FreeBSD
uname -v =3D FreeBSD 7.1-STABLE #1: Sat Mar  7 23:00:26 PST 2009     =
root@shuttle.paulbeard.org=20
:/usr/obj/usr/src/sys/SHUTTLE

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

/bin/arch              =3D unknown
/usr/bin/arch -k       =3D unknown
/usr/convex/getsysinfo =3D unknown
/usr/bin/hostinfo      =3D unknown
/bin/machine           =3D unknown
/usr/bin/oslevel       =3D unknown
/bin/universe          =3D unknown

PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /home/paul/bin


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

configure:2091: checking for a BSD-compatible install
configure:2159: result: /usr/bin/install -c
configure:2170: checking whether build environment is sane
configure:2213: result: yes
configure:2238: checking for a thread-safe mkdir -p
configure:2277: result: /usr/local/bin/gmkdir -p
configure:2290: checking for gawk
configure:2306: found /usr/local/bin/gawk
configure:2317: result: gawk
configure:2328: checking whether make sets $(MAKE)
configure:2350: result: yes
configure:2610: checking for gcc
configure:2626: found /usr/bin/gcc
configure:2637: result: gcc
configure:2875: checking for C compiler version
configure:2883: gcc --version >&5
gcc (GCC) 4.2.1 20070719  [FreeBSD]
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There =20
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR =20
PURPOSE.

configure:2887: $? =3D 0
configure:2894: gcc -v >&5
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD]
configure:2898: $? =3D 0
configure:2905: gcc -V >&5
gcc: '-V' option must have argument
configure:2909: $? =3D 1
configure:2932: checking for C compiler default output file name
configure:2954: gcc -O2 -Wall -I/usr/local/include -L/usr/local/lib =20
conftest.c mp4v2 >&5
gcc: mp4v2: No such file or directory
configure:2958: $? =3D 1
configure:2996: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "FAAC"
| #define PACKAGE_TARNAME "faac"
| #define PACKAGE_VERSION "1.28"
| #define PACKAGE_STRING "FAAC 1.28"
| #define PACKAGE_BUGREPORT "faac-dev@lists.sourceforge.net"
| #define PACKAGE "faac"
| #define VERSION "1.25"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3002: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_env_CCC_set=3D''
ac_cv_env_CCC_value=3D''
ac_cv_env_CC_set=3D''
ac_cv_env_CC_value=3D''
ac_cv_env_CFLAGS_set=3D''
ac_cv_env_CFLAGS_value=3D''
ac_cv_env_CPPFLAGS_set=3Dset
ac_cv_env_CPPFLAGS_value=3D-I/usr/local/include
ac_cv_env_CPP_set=3D''
ac_cv_env_CPP_value=3D''
ac_cv_env_CXXCPP_set=3D''
ac_cv_env_CXXCPP_value=3D''
ac_cv_env_CXXFLAGS_set=3D''
ac_cv_env_CXXFLAGS_value=3D''
ac_cv_env_CXX_set=3Dset
ac_cv_env_CXX_value=3D/usr/bin/g++
ac_cv_env_F77_set=3D''
ac_cv_env_F77_value=3D''
ac_cv_env_FFLAGS_set=3D''
ac_cv_env_FFLAGS_value=3D''
ac_cv_env_LDFLAGS_set=3Dset
ac_cv_env_LDFLAGS_value=3D-L/usr/local/lib
ac_cv_env_LIBS_set=3Dset
ac_cv_env_LIBS_value=3Dmp4v2
ac_cv_env_build_alias_set=3D''
ac_cv_env_build_alias_value=3D''
ac_cv_env_host_alias_set=3D''
ac_cv_env_host_alias_value=3D''
ac_cv_env_target_alias_set=3D''
ac_cv_env_target_alias_value=3D''
ac_cv_path_install=3D'/usr/bin/install -c'
ac_cv_path_mkdir=3D/usr/local/bin/gmkdir
ac_cv_prog_AWK=3Dgawk
ac_cv_prog_ac_ct_CC=3Dgcc
ac_cv_prog_make_make_set=3Dyes

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

ACLOCAL=3D'${SHELL} /usr/ports/audio/faac/work/faac-1.28/missing --run =20=

aclocal-1.10'
AMDEPBACKSLASH=3D''
AMDEP_FALSE=3D''
AMDEP_TRUE=3D''
AMTAR=3D'${SHELL} /usr/ports/audio/faac/work/faac-1.28/missing --run =
tar'
AR=3D''
AUTOCONF=3D'${SHELL} /usr/ports/audio/faac/work/faac-1.28/missing --run =20=

autoconf'
AUTOHEADER=3D'${SHELL} /usr/ports/audio/faac/work/faac-1.28/missing --=20=

run autoheader'
AUTOMAKE=3D'${SHELL} /usr/ports/audio/faac/work/faac-1.28/missing --run =20=

automake-1.10'
AWK=3D'gawk'
CC=3D'gcc'
CCDEPMODE=3D''
CFLAGS=3D'-O2 -Wall'
CPP=3D''
CPPFLAGS=3D'-I/usr/local/include'
CXX=3D'/usr/bin/g++'
CXXCPP=3D''
CXXDEPMODE=3D''
CXXFLAGS=3D''
CYGPATH_W=3D'echo'
DEFS=3D''
DEPDIR=3D''
DSYMUTIL=3D''
ECHO=3D'echo'
ECHO_C=3D''
ECHO_N=3D'-n'
ECHO_T=3D''
EGREP=3D''
EXEEXT=3D''
F77=3D''
FFLAGS=3D''
GREP=3D''
INSTALL_DATA=3D'${INSTALL} -m 644'
INSTALL_PROGRAM=3D'${INSTALL}'
INSTALL_SCRIPT=3D'${INSTALL}'
INSTALL_STRIP_PROGRAM=3D'$(install_sh) -c -s'
LDFLAGS=3D'-L/usr/local/lib'
LIBOBJS=3D''
LIBS=3D'mp4v2'
LIBTOOL=3D''
LN_S=3D''
LTLIBOBJS=3D''
MAKEINFO=3D'${SHELL} /usr/ports/audio/faac/work/faac-1.28/missing --run =20=

makeinfo'
MKDIR_P=3D'/usr/local/bin/gmkdir -p'
NMEDIT=3D''
OBJEXT=3D''
PACKAGE=3D'faac'
PACKAGE_BUGREPORT=3D'faac-dev@lists.sourceforge.net'
PACKAGE_NAME=3D'FAAC'
PACKAGE_STRING=3D'FAAC 1.28'
PACKAGE_TARNAME=3D'faac'
PACKAGE_VERSION=3D'1.28'
PATH_SEPARATOR=3D':'
RANLIB=3D''
SED=3D''
SET_MAKE=3D''
SHELL=3D'/bin/sh'
STRIP=3D''
USE_DRM_FALSE=3D''
USE_DRM_TRUE=3D''
VERSION=3D'1.25'
WITH_MP4V2_FALSE=3D''
WITH_MP4V2_TRUE=3D''
ac_ct_CC=3D'gcc'
ac_ct_CXX=3D''
ac_ct_F77=3D''
am__fastdepCC_FALSE=3D''
am__fastdepCC_TRUE=3D''
am__fastdepCXX_FALSE=3D''
am__fastdepCXX_TRUE=3D''
am__include=3D''
am__isrc=3D''
am__leading_dot=3D'.'
am__quote=3D''
am__tar=3D'${AMTAR} chof - "$$tardir"'
am__untar=3D'${AMTAR} xf -'
bindir=3D'${exec_prefix}/bin'
build=3D''
build_alias=3D''
build_cpu=3D''
build_os=3D''
build_vendor=3D''
datadir=3D'${datarootdir}'
datarootdir=3D'${prefix}/share'
docdir=3D'${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir=3D'${docdir}'
exec_prefix=3D'NONE'
host=3D''
host_alias=3D''
host_cpu=3D''
host_os=3D''
host_vendor=3D''
htmldir=3D'${docdir}'
includedir=3D'${prefix}/include'
infodir=3D'${datarootdir}/info'
install_sh=3D'$(SHELL) /usr/ports/audio/faac/work/faac-1.28/install-sh'
libdir=3D'${exec_prefix}/lib'
libexecdir=3D'${exec_prefix}/libexec'
localedir=3D'${datarootdir}/locale'
localstatedir=3D'${prefix}/var'
mandir=3D'${datarootdir}/man'
mkdir_p=3D'/usr/local/bin/gmkdir -p'
oldincludedir=3D'/usr/include'
pdfdir=3D'${docdir}'
prefix=3D'NONE'
program_transform_name=3D's,x,x,'
psdir=3D'${docdir}'
sbindir=3D'${exec_prefix}/sbin'
sharedstatedir=3D'${prefix}/com'
sysconfdir=3D'${prefix}/etc'
target_alias=3D''

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

#define PACKAGE_NAME "FAAC"
#define PACKAGE_TARNAME "faac"
#define PACKAGE_VERSION "1.28"
#define PACKAGE_STRING "FAAC 1.28"
#define PACKAGE_BUGREPORT "faac-dev@lists.sourceforge.net"
#define PACKAGE "faac"
#define VERSION "1.25"

configure: exit 77

--
Paul Beard
contact info: www.paulbeard.org/paulbeard.vcf

Are you trying to win an argument or solve a problem?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6295D15B-780D-4479-8F53-1907EB68E912>