From owner-freebsd-multimedia@FreeBSD.ORG Fri Mar 13 05:09:38 2009 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD7D4106566C for ; Fri, 13 Mar 2009 05:09:38 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.freebsd.org (Postfix) with ESMTP id 97D628FC16 for ; Fri, 13 Mar 2009 05:09:38 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by wf-out-1314.google.com with SMTP id 27so1487634wfd.7 for ; Thu, 12 Mar 2009 22:09:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=0Wh+BT3Sjmj7oWTJF9+gmqLW6MbwUmhytLL1HlmtHHM=; b=qpqUjT1ZiTm63h1dve1kotyQB3O+0fCgweXTVAOidwGkjTWEuADu7QoYguiV890KtK hYEfhEBeKd8ITIOUrdO5rVde7rIvWu7XB7glep9+ljIGLapza2q/URda0p7Qo0oKlbWH wGjQbPU551RcE8udTdTEVhVQfdoHpaqlM6NRk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=ruZ5heCqKm12xzPYNwCdtQM3tPDJ9L5OJTNaBSEIPcqhOim0+0FRYpLzXuvs4sWeyk eJbURNMTgHaoSjRJw4S2ln3sepXNlN8sqjmn4gpZhfVCvapOiLE3/IsorExLiEs2d5mT Bh9XPQaSIdWO//CfrAiIDBQOb0N5rOjwx5JnU= Received: by 10.142.157.6 with SMTP id f6mr394705wfe.248.1236920978322; Thu, 12 Mar 2009 22:09:38 -0700 (PDT) Received: from ?192.168.2.2? (dsl001-134-183.sea1.dsl.speakeasy.net [72.1.134.183]) by mx.google.com with ESMTPS id 30sm3198881wfc.4.2009.03.12.22.09.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 12 Mar 2009 22:09:37 -0700 (PDT) Message-Id: From: Paul Beard To: hu.henry9@gmail.com In-Reply-To: <53a1e0710903122158mdb72d61oc1848a0dc9790255@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Thu, 12 Mar 2009 22:09:34 -0700 References: <53a1e0710903122050j4e66d2cfu526073551cafd6fc@mail.gmail.com> <53a1e0710903122115j88a079ds8025b426e01d209e@mail.gmail.com> <6295D15B-780D-4479-8F53-1907EB68E912@gmail.com> <53a1e0710903122158mdb72d61oc1848a0dc9790255@mail.gmail.com> X-Mailer: Apple Mail (2.930.3) Cc: multimedia@freebsd.org Subject: Re: faac-1.28 fails to build X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2009 05:09:39 -0000 On Mar 12, 2009, at 9:58 PM, Henry Hu wrote: > I found that in my /usr/ports/audio/faac/Makefile, LIBS="-lmp4v2", > not "mp4v2". > gcc failed to compile because it cannot find "mp4v2". If it is > "-lmp4v2", it would be ok. > Please try again. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ LIBS="-lmp4v2" That's what I have as well. I just cleared all those environment variables I set earlier. [root@shuttle /usr/ports/audio/faac]# make ===> Vulnerability check disabled, database not found ===> Extracting for faac-1.28 => MD5 Checksum OK for faac-1.28.tar.bz2. => SHA256 Checksum OK for faac-1.28.tar.bz2. ===> Patching for faac-1.28 ===> Converting DOS text files to UNIX text files ===> Applying FreeBSD patches for faac-1.28 ===> faac-1.28 depends on executable: gmake - found ===> faac-1.28 depends on file: /usr/local/bin/automake-1.10 - found ===> faac-1.28 depends on file: /usr/local/bin/autoconf-2.62 - found ===> faac-1.28 depends on file: /usr/local/bin/libtool - found ===> faac-1.28 depends on shared library: mp4v2.0 - found ===> Configuring for faac-1.28 /usr/local/share/aclocal/soup.m4:7: warning: underquoted definition of AM_PATH_SOUP /usr/local/share/aclocal/soup.m4:7: run info '(automake)Extending aclocal' /usr/local/share/aclocal/soup.m4:7: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal checking for a BSD-compatible install... /usr/bin/install -c -o root - g wheel checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p checking for gawk... gawk checking whether gmake sets $(MAKE)... yes checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. ===> Script "configure" failed unexpectedly. Please report the problem to multimedia@FreeBSD.org [maintainer] and attach the "/usr/ports/audio/faac/work/faac-1.28/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 -- Paul Beard contact info: www.paulbeard.org/paulbeard.vcf Are you trying to win an argument or solve a problem?