[Mesa-dev] [Bug 47878] libXvMC* are not being installed where they should

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 27 22:32:36 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=47878

--- Comment #1 from Alexandre Demers <alexandre.f.demers at gmail.com> 2012-03-27 22:32:36 PDT ---
Makefile.xvmc points to:

install: default
    $(INSTALL) -d $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR)
    $(MINSTALL) -m 755 $(TOP)/$(LIB_DIR)/gallium/$(LIB_GLOB)
$(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR)


According to "current" file under ./configs:
INSTALL_DIR = $(prefix)
and
prefix = /usr
and
LIB_DIR = x86_64-linux-gnu (in this case)

This explains why it is not installed correctly because it should point to
${libdir}/ or ${libdir}/xvmc instead, where libdir = /usr/lib/x86_64-linux-gnu
(or similar according to what is defined).

The solution is to add a XVMC_INSTALL_DIR in Makefile.xvmc and generate that
variable in the "current" file. I know "current" is automatically generated,
but I still don't know how exactly (going through autogen.sh -> configure ->
configure.ac -> configs/* and then ...) If someone could help me on this, I
would suggest a patch soon.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list