On 1/23/2012 6:42 AM, Ingo Schmid wrote:
Second, the whole TriD is a mess. OpenGL module will not install
because it requires X11 access, which the build process usually does
not have. Chris, is this strictly necessary?
I see you managed to get things working. The
limitation of needing access to an OpenGL context
to build the OpenGL module is being removed for
the next release. Until then, you'll have to
make do.
--Chris
Here is the output when building OpenGL:
riococo ~ # ebuild
/usr/local/portage/perl-gcpan/OpenGL/OpenGL-0.66.ebuild configure
* OpenGL-0.66.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking OpenGL-0.66.tar.gz to
/var/tmp/portage/perl-gcpan/OpenGL-0.66/work
>>> Source unpacked in /var/tmp/portage/perl-gcpan/OpenGL-0.66/work
>>> Preparing source in
/var/tmp/portage/perl-gcpan/OpenGL-0.66/work/OpenGL-0.66 ...
>>> Source prepared.
>>> Configuring source in
/var/tmp/portage/perl-gcpan/OpenGL-0.66/work/OpenGL-0.66 ...
* Using ExtUtils::MakeMaker
* perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none
DESTDIR=/var/tmp/portage/perl-gcpan/OpenGL-0.66/image/
No protocol specified
No protocol specified
freeglut (./glversion): failed to open display ':0.0'
make: *** [glversion.txt] Error 1
>>> Source configured.
Although there is an error, the build finishes cleanly, giviing the
impression all was installed fine, which wasn't.
Then, when running
riococo OpenGL-0.66 # perl Makefile.PL
Found FreeGLUT v20700
Using interface: FREEGLUT
Checking if your kit is complete...
Looks good
Writing Makefile for OpenGL
Writing MYMETA.yml and MYMETA.json
it works only when installing it by hand, not using g-cpan, which is bad
for updates and the like.
Third, even if OpenGL is there, setting PGOL=>1 complains about
rquiring OpgnGL Setting TriD=>1 and POGL=>0 still does not build it.
This was because of the OpenGL proglem, still had .63 installed. It
compiled now ehn setting both switches to 1. So far, hardcoded in the
ebuild. I can now rund the 3D demo.
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl