I am new to DirectFB, I just donwloaded DirectFB-0.9.22.tar.gz and DirectFBGL-0.9.22.tar.gz, and Mesa-embedded-2-branch-2004-07-15.tar.bz2
I have problem to compile them. Please give me some help.
Thanks in advance.

This is my steps:

I am using Fedora Core 3 to compile.
1. Add LD_RUN_PATH=/usr/local/lib:/usr/lib:/lib to /etc/profile and export LD_RUN_PATH, and reboot system to make sure this env variable is loaded.
2. Compiled DirectFB-0.9.22
    cd /root/DirectFB-0.9.22
    ./configure --enable-fbdev
     make
     make install
3. Compile Mesa
   cd /root/Mesa
    make
    add /usr/local/lib and /root/Mesa to /etc/ld.so.conf, and run ldconfig

The DirectFBGL-0.9.22/README says:
Load 'mga.o' from 'Mesa/src/kernel/drm/' after running "make" , BUT  I DIDN'T find mga.ko in mga.ko in this directory, and I found a mga.ko in FC3 linux kernel modules directory, so I loaded this linux kernel module. IS THIS THE CORRECT MODULE?

4. Compile DirectFBGL-0.9.22
    cd /root/DirectFBGL-0.9.22
    ./configure --with-mesa=/root/Mesa
    checking for pkg-config... /usr/bin/pkg-config
checking for DirectFB... configure: error: *** DirectFB 0.9.22 or newer is required.
I just installed DirectFB to /usr/local, How come it complain this error?

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to