Re: [gtk-osx-devel] [PATCH] Run autoreconf before configuring liboil



On Oct 8, 2012, at 2:18 AM, Christophe Fergeau <cfergeau redhat com> wrote:

> Without this, I was getting a weird libtool build failure on
> Lion with the 0.3.17 tarball:
> 
> /bin/sh ../libtool --tag=CC   --mode=link /usr/bin/llvm-gcc-4.2  -arch x86_64
> -mmacosx-version-min=10.7 -no-undefined -export-symbols-regex 'oil_'
> -L/Users/teuf/gtk3/inst/lib -L/Users/teuf/gtk3/inst/lib -arch x86_64
> -mmacosx-version-min=10.7 -Wl,-headerpad_max_install_names -o liboiltmp1.la
> -rpath /Users/teuf/gtk3/inst/lib liboiltmp.lo liboilfunctions.la libtool: link:
> link -dump -symbols  .libs/liboiltmp.o   ./.libs/liboilfunctions.a |  |
> /usr/bin/sed 's/.* //' | sort | uniq > .libs/liboiltmp1.exp
> 
> ../libtool: eval: line 947: syntax error near unexpected token `|'
> ../libtool: eval: line 947: `link -dump -symbols  .libs/liboiltmp.o
> ./.libs/liboilfunctions.a |  | /usr/bin/sed 's/.* //' | sort | uniq >
> .libs/liboiltmp1.exp'
> 
> The tarball uses libtool 2.2.6, and rerunning libtoolize/autoreconf to use
> libtool 2.4 instead seems to avoid this issue with the 0.3.17 tarball.
> 
> autogen-sh="autoreconf" cannot be used because of bgo #673202
> ---
> modulesets-stable/gtk-osx-gstreamer.modules | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/modulesets-stable/gtk-osx-gstreamer.modules b/modulesets-stable/gtk-osx-gstreamer.modules
> index bab4931..b378175 100644
> --- a/modulesets-stable/gtk-osx-gstreamer.modules
> +++ b/modulesets-stable/gtk-osx-gstreamer.modules
> @@ -9,7 +9,8 @@
>   <repository type="tarball" name="sourceforge" 
>               href="http://downloads.sourceforge.net/sourceforge/"/>
> 
> -  <autotools id="liboil" autogen-sh="configure"
> +  <autotools id="liboil"
> +             autogen-template="autoreconf -fis &amp;&amp; %(srcdir)s/configure --prefix %(prefix)s --libdir %(libdir)s %(autogenargs)s"
> 	     makeargs=" CFLAGS=-DHAVE_SYMBOL_UNDERSCORE">
>     <branch repo="liboil" module="liboil-0.3.17.tar.gz" version="0.3.17" />
>   </autotools>

OK. Now I understand.

673202 is fixed. Can you update your jhbuild version to 3.5.5 and see if you can get it to work with autogen-sh="autoreconf"?

It's also update time (as soon as I finish a big change for Gnucash, so I hope to start next week), and GStreamer has finally released 1.0 over the summer. It's significant because they're now using liborc instead of liboil, the latter being deprecated [1].

One other thing: What's the attraction of running GStreamer on a Mac? Doesn't OSX already do all of that natively? I've been keeping the modulesets going because Richard had them, but I've never understood why they're there.

Regards,
John Ralls



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]