summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorLuc Verhaegen <libv@skynet.be>2005-10-31 12:01:18 +0000
committerLuc Verhaegen <libv@skynet.be>2005-10-31 12:01:18 +0000
commite6ee9ee394f28d9acad16dba800f7945acf2bf7d (patch)
tree7c263856f9f19d7f17d10293c3b4d83b5830423d /README
parent517ff1503ff48f30d60070467ea98702aa670df2 (diff)
[devel-README_modular_build] Update the README with instructions for
building the driver against modular.
Diffstat (limited to 'README')
-rw-r--r--README35
1 files changed, 29 insertions, 6 deletions
diff --git a/README b/README
index f9ce2e7..96f5f32 100644
--- a/README
+++ b/README
@@ -23,10 +23,10 @@ http://lists.sourceforge.net/mailman/listinfo/unichrome-users first.
From the top level, in xf86-video-unichrome/, (the same level as this
file) run:
- xmkmf <path_to_xc>
- make Makefiles
- make
- make install
+ # xmkmf <path_to_xc>
+ # make Makefiles
+ # make
+ # make install
1.2) Preparing an X tree:
@@ -38,6 +38,29 @@ http://lists.sourceforge.net/mailman/listinfo/unichrome-users first.
2) Modular X:
- This is only suited for the X.org 7.x release.
+ This is (of course) only suited for the X.org 7.x release.
- ...
+ Building against modular is a breeze. You should have everything installed
+ for building drivers if and when you want to.
+
+ # ./autogen.sh
+ or
+ # ./autogen.sh --prefix=<...>
+ then
+ # make
+ # make install
+
+ One possible issue can exist here: aclocal might be unable to find the X
+ macros. You will see configure complain with:
+ ./configure: line 20518: XORG_MANPAGE_SECTIONS: command not found
+ ./configure: line 20519: XORG_RELEASE_VERSION: command not found
+
+ What happens is that aclocal is unable to find your xorgversion.m4 and
+ xorg-macros.m4. These are usually found in <prefix>/share/aclocal
+
+ This can be solved by doing the following before running autogen.sh:
+ - permanent solution: add a file named dirlist to your
+ /usr/share/aclocal/ directory, and add a line with the path for X
+ macros.
+ - temporary solution: run
+ # export ACLOCAL_LOCALDIR="<prefix>/share/aclocal/"