> I do have X11 installed.

That's very strange, then.  Probably means that you're installation is  
broken.  Could you try re-installing either from your Leopard install  
disk, or installing the open-source XQuartz package?

>> In particular, you need the directory
>>
>>    /usr/X11/include/GL/
>>
>> in order to build the Perl OpenGL module.  BTW, do you have the  
>> latest version of Leopard?
>>
> That directory is there.  I have version 10.5.7 of Leopard.

Definitely strange.  Can you do

        ls -l /usr/X11/include/GL/

please?  There should at least be "gl.h" and "glu.h" header files in  
this directory.

>> I seem to have quite a few copies of glut.h:

There should also be a copy in /usr     /X11/include/GL/

> locate glut.h
> /Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/ 
> GLUT.framework/Versions/A/Headers/glut.h
> /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/ 
> GLUT.framework/Versions/A/Headers/glut.h
> /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ 
> GLUT.framework/Versions/A/Headers/glut.h
> /System/Library/Frameworks/GLUT.framework/Versions/A/Headers/glut.h
> /Users/ahales/myperl/OpenGL-0.58_005/include/GL/freeglut.h
> /Users/ahales/myperl/OpenGL-0.58_005/include/GL/glut.h
> /sw/include/GL/freeglut.h
> /sw/include/GL/glut.h
> /sw/share/doc/fltk-x11/html/glut.html
>
> but I have no clue why the installer of OpenGL is not picking them up.

OpenGL doesn't make any attempt to auto-detect the OpenGL/GLUT  
headers. Instead, we use hard-coded paths that should be the same on  
every Mac.  If it did auto-detect, it might well pick up the Fink- 
installed GLUT on your computer, and you'd be in bad trouble -- i.e.  
there's a very good chance you'd get incomprehensible errors.  Fink is  
evil! ;-)


If your /usr/X11/include/GL/ is empty, then I think you'll just have  
to re-install X11.

Hope this helps,
Stefan


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to