Re: Perl OpenGL 0.55 - Need Mac testers

2007-04-19 Thread Sherm Pendley

On Apr 17, 2007, at 11:04 AM, Bob Free wrote:


A new Perl OpenGL 0.55 candidate has been released:
http://graphcomp.com/opengl


Incidentally, thank you for adopting this module. I first got it  
working on Mac OS X 10.0 some six or seven years ago, but the docs  
more or less said it had been abandoned. I sent my patch to the last  
listed owner, but never heard back from him.


sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net




Re: Perl OpenGL 0.55 - Need Mac testers

2007-04-19 Thread David Romano
Sherm Pendley wrote on Thu, Apr 19, 2007 at 01:10:11PM PDT:
 It needed a few tweaks to build, but once the build issues were  
 sorted, the spinning texture-mapped cube test runs fine on my G4 w/ 
 ATI Radeon 9000 Pro.
 
 Diff with the build changes is attached, if anyone else feels like  
 testing it.
Thanks Sherm. With your tweaks, it also builds and tests fine on my Mac
Mini w/ATI Radeon 9200.

- David

-- 
I'm going to put your inner child to work in a factory.
-- James Stoner-Holk



Re: Perl OpenGL 0.55 - Need Mac testers

2007-04-19 Thread Claes Jakobsson

On 19 apr 2007, at 23.21, David Romano wrote:

Sherm Pendley wrote on Thu, Apr 19, 2007 at 01:10:11PM PDT:

It needed a few tweaks to build, but once the build issues were
sorted, the spinning texture-mapped cube test runs fine on my G4 w/
ATI Radeon 9000 Pro.

Diff with the build changes is attached, if anyone else feels like
testing it.
Thanks Sherm. With your tweaks, it also builds and tests fine on my  
Mac

Mini w/ATI Radeon 9200.


As does it on my MacBook (first gen) w/ Intel GMA950 with the patch  
applied running 10.4.9


Compiled and tested with

5.8.6 (the one Apple ships):
No warnings, no errors

5.8.8:
Got a warning:
OpenGL.c: In function 'XS_OpenGL_glutInit':
	OpenGL.xs:11329: warning: ignoring return value of 'Perl_av_shift',  
declared with attribute warn_unused_result


however it runs just fine

5.6.2:
No warnings, no errors

/claes



Re: Perl OpenGL 0.55 - Need Mac testers

2007-04-19 Thread John Delacour

At 4:10 pm -0400 19/4/07, Sherm Pendley wrote:

It needed a few tweaks to build, but once the build issues were 
sorted, the spinning texture-mapped cube test runs fine on my G4 
w/ATI Radeon 9000 Pro.


Diff with the build changes is attached, if anyone else feels like testing it.


Sherm,

For dummies like me can you please describe the process of 
installing. Where does the .diff file go etc?  I put the file in 
OpenGL-0.55/, did perl Makefile.PL and got


...
...
Note (probably harmless): No library found for -lMesaGLUT
No OpenGL libs found

so obviously that was a bad guess :-)

JD



Re: Perl OpenGL 0.55 - Need Mac testers

2007-04-19 Thread Sherm Pendley

On Apr 19, 2007, at 7:13 PM, John Delacour wrote:


At 4:10 pm -0400 19/4/07, Sherm Pendley wrote:

It needed a few tweaks to build, but once the build issues were  
sorted, the spinning texture-mapped cube test runs fine on my G4 w/ 
ATI Radeon 9000 Pro.


Diff with the build changes is attached, if anyone else feels like  
testing it.


For dummies like me can you please describe the process of  
installing. Where does the .diff file go etc?


Diffs are used as input for the 'patch' command. On my machine:

	local:~/incoming/OpenGL-0.55 sherm$ patch -p1  ../OpenGL-0.55- 
Macosx.diff

patching file MANIFEST
Hunk #1 FAILED at 68.
1 out of 1 hunk FAILED -- saving rejects to file MANIFEST.rej
patching file Makefile.PL
patching file glu_util.h
patching file include/GL/glut.h
patching file utils/Makefile.macosx

I'm not sure why the patch to the MANIFEST file was rejected, it just  
adds a single line. It won't cause test failures, but the 'utils/ 
Makefile.macosx' file won't be included in the distribution tarball  
without it. :-(


sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net