Installation
1) In the DirectFB directory type:
./configure <options>
make
make install (as superuser)
Use './configure --help' to get a list of possible configure options.
Imported options include:
--enable-multi Enables the Multi Application Core
--enable-debug Enables many debug messages and assertions
--enable-trace Enables run time stack trace information
Debugging and especially stack trace support are a performance impact.
It may be noticably slower in some areas, e.g. text drawing.
You may use the options "no-debug" and "no-trace" by default, e.g. in '<prefix>/etc/directfbrc', and use "--dfb:debug,trace" on the command line if needed.
2) Make sure that "<prefix>/lib" is listed in your /etc/ld.so.conf.
The default prefix is "/usr/local". After adding it you have to run 'ldconfig' as superuser.
Alternatively, you can add the path to the environment variable LD_LIBRARY_PATH. This is useful for temporarily switching to another installed version.
3) You might want to copy fb.modes to /etc or merge it with your existing /etc/fb.modes file. The first entry will be used by default - copy other entries you may need.
If you want to use a serial mouse, create a link called /dev/mouse that points to serial device (e.g. /dev/ttyS0). Then add a line describing your mouse-protocol to /etc/directfbrc or ~/.directfbrc: "mouse-protocol=[ms|ms3|mouseman|mousesystems]".
5) If you are cross compiling and have installed the required libraries someplace other than /usr/local/lib be sure to add the bin directory for those libraries to the front of your 'PATH'.
For instance if you configured using:
--prefix=/dfb/usr/local
then be sure to
export PATH=/dfb/usr/local/bin:$PATH
before compiling and installing.