Hello all-<br><br>I am new to MapServer.  I have been tasked with getting opengl working in our environment and have been unable to do thus far.  I am working with version 6.0.2.<br><br>Here is the part of my map file that I&#39;m working with.<br>
<br>OUTPUTFORMAT<br>    NAME &quot;oglTest&quot;<br>    DRIVER OGL/PNG<br>    IMAGEMODE RGB<br>    MIMETYPE &quot;image/png&quot;<br>    EXTENSION &quot;png&quot;<br>END<br><br><br>Here is the output from running ./shp2img --all_debug 15 -m /var/www/htdocs/test2.map -o test2.png<br>
<br>msDrawMap(): Image handling error. Unable to initialize image. &lt;br&gt;<br>OglContext::init(): Renderer error. DISPLAY environment variable not set &lt;br&gt;<br><br><br>When I try to open the map in a browser, I just get a blank page.  The lines below show up in /var/log/apache2/error.log.<br>
<br>[Fri Feb 17 19:12:34 2012] [error] [client &lt;IP Address&gt;] PHP Warning:  [MapServer Error]: loadOutputFormat(): OUTPUTFORMAT clause references driver OGL/PNG, but this driver isn&#39;t configured.\n in /var/www/htdocs/test2.html on line 3<br>
[Fri Feb 17 19:12:34 2012] [error] [client &lt;IP Address&gt;] PHP Warning:  Failed to open map file ./test2.map in /var/www/htdocs/test2.html on line 3<br>[Fri Feb 17 19:12:34 2012] [error] [client &lt;IP Address&gt;] PHP Fatal error:  Call to a member function draw() on a non-object in /var/www/htdocs/test2.html on line 4<br>
<br>I have found some posts where people have had similar issues, but no solutions were mentioned.  <br><br>Any help would be greatly appreciated.<br><br>Thanks you.<br>