pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Linux build problems with dri in graphics/MesaLib



Hi,

currently I have difficulty building graphics/MesaLib from
pkgsrc-current using default PKG_OPTION "dri".
(pulled in as dependency from misc/libreoffice4)

Without dri it compiles ok (compile only, not actually used yet).

Platform: several different Ubuntu Linux releases


There is a circular dependency between graphics/MesaLib and multimedia/libva
(MesaLib depends pulls in libva via buildlink, but only for Linux).

    ERROR: This package has set PKG_FAIL_REASON:
    ERROR: Circular dependency detected


I tried to remove the libva dependency, but MesaLib still fails in configure
because of missing dependencies:

  x11/dri3proto
    made up x11/dri3proto/buildlink3.mk; added as an include
    to graphics/MesaLib/dri.mk (dri3proto/buildlink3.mk attached)

  x11/presentproto
    added an include for it in dri.mk

  xshmfence
    don't know about this one
        ...
        configure: error: Package requirements (x11 xext xdamage xfixes x11-xcb xcb xcb-glx >= 1.8.1 xcb-dri2 >= 1.8 xcb-dri3 xcb-present xcb-sync xshmfence >= 1.1 xxf86vm) were not met:
        No package 'xshmfence' found
        ...



Does dri work on other platforms?

Regards
Matthias Ferdinand
# $NetBSD: buildlink3.mk,v 1.4 2013/04/06 13:46:34 rodent Exp $

BUILDLINK_TREE+=	dri3proto

.if !defined(DRI3PROTO_BUILDLINK3_MK)
DRI3PROTO_BUILDLINK3_MK:=

BUILDLINK_DEPMETHOD.dri3proto?=	build

BUILDLINK_API_DEPENDS.dri3proto+=	dri3proto>=1.0
BUILDLINK_PKGSRCDIR.dri3proto?=		../../x11/dri3proto

.endif # DRI3PROTO_BUILDLINK3_MK

BUILDLINK_TREE+=	-dri3proto


Home | Main Index | Thread Index | Old Index