petdance/scratch — Issue #1066: config problem with glui library on ubuntu 10.04
Author: petdance
Created: 2011-11-14 06:14:34+00:00
State: open
Labels: bug, configure, Pri-normal, Sev-medium

If I have the glui libraries (include files) installed on my ubuntu 10.04 system, the $ perl configure.pl shell command makes the following complaint/warning:
```
gen::opengl - Generating OpenGL bindings...In OpenGL header '/usr/include/GL/glui.h', can't parse canonicalized prototype for '':
GLUI_String& glui_format_str(GLUI_String &str, char* fmt, ...);
Original prototype:
GLUIAPI GLUI_String& glui_format_str(GLUI_String &str, const char* fmt, ...);

......................done.
```

this appears to come from the header file parser in parrot/config/gen/opengl.pm throwing out the "const" prefix for a "char *"
argument:

```
cc179ba1 (japhb 2008-06-01 03:02:27 +0000 695) s/\bconst\b\s*//g;
```

Originally http://trac.parrot.org/parrot/ticket/1831 by @wagle