[GRASS-dev] Re: error compiling nviz for Mac

Glynn Clements glynn at gclements.plus.com
Thu May 10 16:28:39 EDT 2007

William Kyngesburye wrote:

> Even if you get opengl to work by changing this to add the opengl  
> includes, the X11 problem will still remain.  Somehow, the X11 check  
> in configure is failing for some Mac users, unless x-libraries and x- 
> headers are explicitly set.

autoconf's X checks attempt to determine the directories by running
xmkmf on a minimal Imakefile and extracting the directories from the
resulting Makefile.

If your imake setup is either broken or weird enough to confuse
autoconf's checks, you'll probably need to specify the directories

autoconf does have a fallback in case the imake approach fails
completely, but it won't be used if it gets any answer (even a wrong
answer) from the imake check.

Unfortunately, config.log probably won't tell you anything useful. If
you want to figure out why AC_PATH_X doesn't work, you need to analyse
the output from "sh -x configure ...".

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list