Alan Coopersmith wrote: > Pavel Heimlich wrote: > >> I was trying to compile allegro library (http://www.liballeg.org/) on >> Solaris 10 u4 and failed because of missing X11/extensions/xf86vmode.h >> Is the missing header file a bug or feature? Should I try to workaround >> it by copying the file from somewhere else or is it missing because of >> some Solaris X.org limitations? >> > > It should be in /usr/X11/include/X11/extensions, so you may need to add > "-I /usr/X11/include" to your compile flags, since it's not in the default > include path (which is arguably a bug). > > What I've been doing after each full install:
# cd /usr/openwin/X11/include/extensions # ln -s ../../../../../X11/include/X11/extensions/Xvlib.h . # ln -s ../../../../../X11/include/X11/extensions/Xv.h . # ln -s ../../../../../X11/include/X11/extensions/xf86vmode.h .