[PATCH] Fixing compile of xserver 1.5 branch
krh at bitplanet.net
Tue Apr 1 11:33:27 PDT 2008
On Tue, Apr 1, 2008 at 2:24 PM, Kristian Høgsberg <krh at bitplanet.net> wrote:
> On Tue, Apr 1, 2008 at 9:27 AM, Hasso Tepper <hasso at estpak.ee> wrote:
> > Kristian Høgsberg wrote:
> > > On Tue, Apr 1, 2008 at 8:09 AM, Hasso Tepper <hasso at estpak.ee> wrote:
> > > > The attached trivial patch fixes compiling xserver 1.5 branch for me.
> > > > The dri2 part is just a guess, because it can't be compiled anyway
> > > > here (yet).
> > >
> > > What is the error message you get?
> > In file included from dri.c:40:
> > ../../../hw/xfree86/common/xf86.h:45:23: error: pciaccess.h: No such file
> > or directory
> > I happen to have libpciaccess installed in different path (installed from
> > git into /usr/local) than most of other libraries (installed from
> > packages into /usr/pkg).
> Ah. Replacing @DIX_CFLAGS@ with @XORG_CFLAGS@ seems like a better fix
> - does that work for you?
Hmm, adding @XORG_CFLAGS@ works better.
More information about the xorg