[Libva] How to build a fresh Libva on Ubuntu Natty

Gwenole Beauchesne gbeauchesne at splitted-desktop.com
Mon Feb 28 06:11:17 PST 2011


Hi Alan,

On Mon, 28 Feb 2011, alanwww1 wrote:

> I tried adding the -lva -lX11 options to the ldflags in the Makefiles
> of the test directory.
> Now the error disappears, but there is another problem:

Just a quick answer, I don't have the time right now. Either use the 
attached patch to not build (and install) test programs, or patch the 
various Makefile.am under test/ with something that looks like:
TEST_LIBS = $(top_builddir)/va/$(libvabackendlib) $(top_builddir)/va/libva.la

and automake & libtool will do the rest.

Regards,
Gwenole.

> 2011/2/27 Eric Valette <eric.valette at free.fr>:
>> On 27/02/2011 16:42, alanwww1 wrote:
>>>
>>> Hi !
>>>
>>> I am trying to build a fresh Libva on Ubuntu Natty, with 2.6.38
>>> kernel, stock packages.
>>>
>>> The steps i made:
>>>
>>> sudo apt-get build-dep libva1
>>> git clone git://anongit.freedesktop.org/git/libva
>>> cd libva
>>> ./autogen.sh --enable-i965-driver --prefix=/usr
>>> make
>>>
>>> make fails with this error meessage:
>>>
>>> /bin/bash ../../libtool --tag=CC --mode=link i686-linux-gnu-gcc
>>> -I../../va -I../../src/x11 -Wall -g -O2  -Wl,-z,defs -o test_01
>>> test_01.o ../../va/libva-x11.la
>>> libtool: link: i686-linux-gnu-gcc -I../../va -I../../src/x11 -Wall -g
>>> -O2 -Wl,-z -Wl,defs -o .libs/test_01 test_01.o
>>> ../../va/.libs/libva-x11.so
>>
>> You're not doing anything wrong. It looks like maintainer never build the
>> test packages. All Makefile under test directory need to have -lva -lX11 to
>> compile.
>>
>> In addition, nobody seems to care to manually change the version that is
>> never correctly updated (1.0.10-> 0.32.0). This has been so for month and I
>> already reported the error.
>>
>> -- eric
>> _______________________________________________
>> Libva mailing list
>> Libva at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/libva
>>
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 101_dont_install_test_programs.patch
Type: text/x-diff
Size: 2038 bytes
Desc: 
URL: <http://lists.freedesktop.org/archives/libva/attachments/20110228/527d31e7/attachment.patch>


More information about the Libva mailing list