drm/dri update

Johannes Hofmann Johannes.Hofmann at gmx.de
Tue Jan 8 11:17:40 PST 2008


walt <wa1ter at myrealbox.com> wrote:
> 
> 
> On Mon, 7 Jan 2008, Simon 'corecode' Schubert wrote:
> 
>> Hey,
>>
>> I am serving you hot + fresh a new dri/drm port.  I'd like everybody to
>> try and use it and to report back on success and problems.  I'd like to
>> commit this update before the release.
>>
>> What you need to do:
>>
>> Update to latest HEAD to get my changes for agp.
>>
>> Then,
>>
>> git clone git://ww2.fs.ei.tum.de/~corecode/git/drm.git
>> cd drm
>> ./autogen.sh
>> cd bsd-core
>> make depend
>> make
>> make install          # as root
>>
>>
>> Then, you'll have to build the X server with dri:
>>
>> add
>>       PKG_OPTIONS.xorg-server= dri
>> to /usr/pkg/etc/mk.conf.
>>
>> Now go to pkgsrc/x11/modular-xorg-server and bmake install it.
> 
>> /usr/pkg/lib/xorg/modules/extensions/libGLcore.so
>> /usr/pkg/lib/xorg/modules/extensions/libglx.so
>>       (from modular-xorg-server)
> 
> Now I can't get xorg-server to build libGLcore.so.  I'm assuming
> that glx needs to be enabled for this to happen, but I'm not sure
> just by reading the configure script.
> 
> Anyway my config.log says that configure was called with the
> --disable-glx flag no matter what I try.  I finally ran the
> configure script with --enable-glx and *still* the Makefiles
> say GLX_FALSE = so libGLcore.so is never built.
> 
> I'm running out of time so I can't debug this any further just
> now.  Any hints where I'm going wrong?

You should just need 

PKG_OPTIONS.modular-xorg-server=dri

in /usr/pkg/etc/mk.conf

 Johannes





More information about the Users mailing list