[vlc-devel] Extras/contrib faac build broken on cygwin/win32?

Mark Moriarty mfmbusiness at earthlink.net
Tue Sep 11 02:08:03 CEST 2007


I tried emptying the faac patch file -- left it a one line file, just a
blank line  -- and things now compile OK.

It looks like when applying the patch failed (I'm not Darwin),
faac/bootstrap was hosed, so the build errored out
> _____________________________________________ 
> From: 	Mark Moriarty [mailto:mfmbusiness at earthlink.net] 
> Sent:	Monday, September 10, 2007 4:14 PM
> To:	'vlc-devel at videolan.org'
> Subject:	Extras/contrib faac build broken on cygwin/win32?
> 
> $ patch -p0 < Patches/faac.patch
> patching file faac/bootstrap
> Hunk #1 FAILED at 1.
> 1 out of 1 hunk FAILED -- saving rejects to file faac/bootstrap.rej
> 
> Bootstrap.rej then has:
> ***************
> *** 1,6 ****
>   #! /bin/sh
>   
> - aclocal -I .
>   autoheader
>   if test "`uname -s`" = Darwin; then
>       glibtoolize --automake
> --- 1,6 ----
>   #! /bin/sh
>   
> + aclocal -I /usr/share/aclocal
>   autoheader
>   if test "`uname -s`" = Darwin; then
>       glibtoolize --automake
> 
> If the above is Darwin-specific fine (?)
> 
> The make then blows up, however:
> $ make
> (cd faac; ./bootstrap && CC="gcc -mno-cygwin -isystem /usr/include/mingw"
> CXX="g
> ++ -mno-cygwin -isystem /usr/include/mingw" ./configure
> --target=i686-pc-mingw32
>  --host=i686-pc-mingw32 --build=i686-pc-cygwin --program-prefix=""
> --without-pic
>  --disable-shared --enable-msw --with-included-opencdk
> --with-included-libtasn1
> --disable-dependency-tracking --without-mp4v2
> --prefix=/home/mfm/vlc-trunk/extra
> s/contrib --disable-shared && make && make install)
> configure.in:10: warning: underquoted definition of MY_DEFINE
> configure.in:10:   run info '(automake)Extending aclocal'
> configure.in:10:   or see
> http://sources.redhat.com/automake/automake.html#Exten
> ding-aclocal
> ' is already registered with AC_CONFIG_FILES.
> /usr/src/autoconf/26/autoconf2.5-2.61-1/src/autoconf-2.61/lib/autoconf/sta
> tus.m4
> :300: AC_CONFIG_FILES is expanded from...
> configure.in:69: the top level
> autom4te-2.61: /usr/bin/m4 failed with exit status: 1
> aclocal-1.10: autom4te failed with exit status: 1
> ' is already registered with AC_CONFIG_FILES.
> /usr/src/autoconf/26/autoconf2.5-2.61-1/src/autoconf-2.61/lib/autoconf/sta
> tus.m4
> :300: AC_CONFIG_FILES is expanded from...
> configure.in:69: the top level
> autom4te-2.61: /usr/bin/m4 failed with exit status: 1
> autoheader-2.61: '/usr/bin/autom4te-2.61' failed with exit status: 1
> make: *** [.faac] Interrupt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070910/4092f5eb/attachment.html>


More information about the vlc-devel mailing list