faac-1.28 fails to build

Paul Beard paulbeard at gmail.com
Thu Mar 12 22:09:39 PDT 2009


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 at 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 at 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?



More information about the freebsd-multimedia mailing list