Sean D'Epagnier wrote:
> I have been trying to build mesa linux-fbdev on a system that
> do not have x installed.  There are no x headers or libraries.
> 
> Previously I was still linking with -X11 to compile fbdev programs.
> I also had to have the x headers installed.
> 
> There is a problem because in
> src/mesa/Makefile line 78 reads:
> 
> STAND_ALONE_DRIVER_SOURCES = \
>         $(COMMON_DRIVER_SOURCES) \
>         $(X11_DRIVER_SOURCES) \
>         $(GLIDE_DRIVER_SOURCES) \
>         $(SVGA_DRIVER_SOURCES) \
>         $(FBDEV_DRIVER_SOURCES)
>  
> 
> The reason there are no problems with glide, svga, and fbdev getting
> in the way is in all of the source files, the code is #ifdef so that
> it is not compiled unless that profile is selected.  The x sources
> do not have this, so without 
> 
> 
> I got everything to work by deleting the X11_DRIVER_SOURCES line,
> of course this will mess up other profiles, so it is not a solution.
> 
> I want to know what everyone thinks the best solution is, I wanted
> to ask before making changes to this file.
> 
> I think adding ifdefs to all the x sources would be appropriate.

That would probably be the simplest solution for now.  USE_XLIB_DRIVER 
would be the symbol I'd use if you want to make a patch.  Otherwise, 
I'll try to get to it later.

Unfortunately, standard 'make' doesn't support conditionals like GNU 
make so it's not as easy to fix as it should be.

-Brian

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to