On Tue 9/7/2010 9:06 AM, Ingo Schmid wrote: > > On 09/07/2010 01:37 PM, Chris Marshall wrote: > > > > If you have the OpenGL module installed, then the > > PDL build should detect that and build the TriD > > module. > > I have it installed using g-cpan, at least I thought, > but apparently something went wrong:
The current Perl OpenGL module buid uses a configure time probe of the OpenGL capabilities by compiling and running the glversion program in the OpenGL/utils directory. The output information (in glversion.txt) is used to determine which extensions to configure. I would like to move to runtime configuration and a better build for OpenGL but recent PDL development has take priority. > >>> Emerging (1 of 1) perl-gcpan/OpenGL-0.63 from unknown repo > * OpenGL-0.63.tar.gz RMD160 SHA1 SHA256 size ;-) > ... [ ok ] > * checking ebuild checksums ;-) > ... [ ok ] > * checking auxfile checksums ;-) > ... [ ok ] > * checking miscfile checksums ;-) > ... [ ok ] > * CPV: perl-gcpan/OpenGL-0.63 > * REPO: > * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU > >>> Unpacking source... > >>> Unpacking OpenGL-0.63.tar.gz to > /var/tmp/portage/perl-gcpan/OpenGL-0.63/work > >>> Source unpacked in /var/tmp/portage/perl-gcpan/OpenGL-0.63/work > >>> Preparing source in > /var/tmp/portage/perl-gcpan/OpenGL-0.63/work/OpenGL-0.63 ... > >>> Source prepared. > >>> Configuring source in > /var/tmp/portage/perl-gcpan/OpenGL-0.63/work/OpenGL-0.63 ... > * Using ExtUtils::MakeMaker > * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none > DESTDIR=/var/tmp/portage/perl-gcpan/OpenGL-0.63/image/ > No protocol specified > freeglut (./glversion): failed to open display ':0.0' > make: *** [glversion.txt] Error 1 Apparently, the build process did not have a valid X display from which to obtain an OpenGL context for the glversion program to run. I presume it did when you ran by hand which is why it worked then. --Chris
_______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
