Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Mar 2009 22:09:34 -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:  <FD3DADD3-BCDE-4906-8DA7-BDBEBFA9D5DF@gmail.com>
In-Reply-To: <53a1e0710903122158mdb72d61oc1848a0dc9790255@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> <6295D15B-780D-4479-8F53-1907EB68E912@gmail.com> <53a1e0710903122158mdb72d61oc1848a0dc9790255@mail.gmail.com>

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

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?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FD3DADD3-BCDE-4906-8DA7-BDBEBFA9D5DF>