I'll ask the core xfree86 developers first:

Is there any possibility of having glut added to the standard xfree86
sources? Would be nice to have a toolkit for OpenGL distributed with xfree86,
and the maintainer of glut appears to have moved on to something else.
(nvidia)
I believe the build instructions for glut on Linux are pretty much out of
date.


For Alex:
Note that if you built x from cvs sources, (and probably 4.0.3?) libGLU is
already in the sources. You also need to build the kernel module from the
xfree86 sources to enable DRM. The drm module in the std. kernel tree is
often out of date.

I have a matrox card and a k6 and thus use this host.def (in xc/config/cf/
when building xfree86 for Linux:


#define DefaultGcc2i386Opt -O2 -march=k6 -pipe
#define XF86CardDrivers mga fbdev v4l
#define DriDrivers mga
#define LinuxDistribution LinuxUnknown
#define DefaultCCOptions -ansi GccWarningOptions -pipe -O2
#define BuildXF86DRI YES
#define BuildXF86DRM YES
#define BuildGLULibrary YES
#define SharedLibFont NO
#define ProjectRoot /usr/X11R6
#define MesaUse3DNow YES
#define Has3DNowSupport YES
#define HasKatmaiSupport NO
#define Freetype2Dir /usr
#define DefaultUserPath /bin:/usr/bin:/usr/local/bin:/usr/X11/bin
#define BuildDebug NO
#define BuildFonts NO
#define XInputDrivers mouse
#define HasLinuxInput YES
#define XF1Bpp                NO
#define XF4Bpp                NO
#define StripInstalledPrograms YES
#define TermcapLibrary          -lncurses
#define ForceNormalLib  YES
#define HaveMatroxHal YES
#define UseMatroxHal YES

You'll probably want to edit this to suit you. YMMV
Unsure if you need to edit site.def for host.def to be read...

The kernel module is not built automatically. You need to go to:
./programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/

and do:
make -f Makefile.linux
The resulting module should be placed in /lib/modules/... somewhere

Regards,

Dag B

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to