[Openchrome-users] [NEWBIE] build unichrome and libxvmc

userforum@openchrome.org userforum
Sun Nov 20 00:05:45 PST 2005


Re: Re: [NEWBIE] build unichrome and libxvmc

Once you have the CVS in /usr/src/xc you need to:

# cd /usr/src/xc
# make World

Then you need to either get the DRM from dri.freedesktop.org and build it, or just use the one included in the openchrome snapshot via

# wget http://www.openchrome.org/snapshots/unichrome/Latest.tar.bz2

Then decompress and install:

# tar jxf Latest.tar.bz2

# cd unichrome-xxxx  (change xxxx to whatever the latest version happens to be)
  
# cd drm/linux-core
# make LINUXDIR=/usr/src/redhat/BUILD/kernel-2.6.14/linux-2.6.14 DRM_MODULES=via   
(the linuxdir path may be different depending on your distribution)
# cp *.ko /lib/modules/`uname -r`/kernel/drivers/char/drm/
# depmod -ae


# cd libxvmc
# xmkmf /usr/src/xc
# make
# make install

# cd unichrome
# xmkmf /usr/src/xc
# make
# make install

I think this is the right way to do it...although I'm having a few issues of my own now that I've switched from the unichrome to openchrome drivers.





More information about the Openchrome-users mailing list