Compiling the source code on DebianCompiling from source on Debian Etch"This is a serious work in progress." Also have a look at https://help.ubuntu.com/community/OpenChrome Compiling the modular driverThese packages will probably already be installed by default:subversionbuild-essential gcc You'll need the following packages installed to get the build scripts to configure:automake1.9libtool pkg-config libxvmc-dev xserver-xorg-dev x11proto-fonts-dev x11proto-randr-dev x11proto-render-dev x11proto-xf86dri-dev libdrm-dev Ensure that you are using automake1.9 - otherwise you will get errors later: update-alternatives --config automake And then a couple OpenGL-related dependencies will pop up during compilation:x11proto-gl-devlibgl1-mesa-dev To keep everything clean, I highly recommend that you use GNU stow:stowFor extra super lazy convenience, say this: sudo aptitude install $(cat) and then cut and paste the above lists into your terminal and hit enter, followed by CTRL-D. To check out and compile the code: mkdir openchrome cd openchrome svn co http://svn.openchrome.org/svn/trunk cd trunk BUILD_DATE=$(date +%Y%m%d) PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig/ ./autogen.sh --prefix=/usr/stow/openchrome-trunk-$BUILD_DATE make Go make some tea! I like licorice, cardamom, and cayenne! sudo make install cd /usr/stow sudo stow openchrome-trunk-$BUILD_DATE Huzzah! stow conflict?Note: if you had a previous version of the driver installed prior to this compilation procedure (e.g. the via driver that shipped with your etch xorg server) then stow may complain about conflicting files. (It won't overwrite the original driver libraries). To fix this, you'll have to move the conflicting files out of the way (or rm them if you're brave). You can use the -c option to list all the conflicting files. (See "man stow")Again, this is a "HUGE" work in progress. Created by: goatcheese last modification: Friday 13 of April, 2007 [16:44:25 UTC] by guzzloid |
Login |