I've been trying to build Alan's backport of Mesa 7.0.2 to Xorg server
1.3 using the current FOX sources; I've run into a number of issues:

Linking libGL fails without adding -DGLX_INDIRECT_RENDERING to
solaris-x86-cc-dri - this is the same issue Alan ran into in 6.5.2
(http://osdir.com/ml/video.mesa3d.user/2006-12/msg00014.html ).

solaris-paths.patch has the following:
INSTALL_DIR = $(DESTDIR)/usr/X11$(ARCHLIBSUBDIR)
DRI_DRIVER_INSTALL_DIR = $(DESTDIR)/usr/X11/lib/modules/dri
$(ARCHLIBSUBDIR)

These are incorrect as the Makefiles contain "$(DESTDIR)$(INSTALL_DIR)"
so this adds $(DESTDIR) twice (as you will notice in your
proto-i386-svr4 dir if you 'make install').

INSTALL_DIR also has a second problem, since /usr/X11/$(ARCHLIBSUBDIR)
expands to e.g. /usr/X11/amd64 which should not exist.

I replaced these with:
INSTALL_DIR = /usr/X11
DRI_DRIVER_INSTALL_DIR = /usr/X11/lib/modules/dri$(ARCHLIBSUBDIR)

Adding "LIB_DIR = lib$(ARCHLIBSUBDIR)" to solaris-x86-cc-dri seems to
produce the correct result for /usr/X11/lib/amd64.

-Albert




Reply via email to