Compile error PerlDL

Sanjuro Europa sanjuro_e at yahoo.com
Tue Jan 30 10:10:42 PST 2001


I am trying to compile PerlDL so I can install The Gimp 1.2.

I have a Riva TNT card and installed both Mesa and the nVidia drivers 
according to the Nvidia OpenGL Configuration mini-HOWTO at 
http://www.linuxdoc.org/HOWTO/mini/Nvidia-OpenGL-Configuration/index.html.

When compiling I get the error below. When creating the Makefile (perl 
Makefile.PL) I also get a few errors, but they don't seem fatal. I also 
pasted the output of the Makefile creation below

How do I fix this?

Sanjuro

---------------
Begin make out
---------------
make[3]: Entering directory `/usr/src/sources/p/PDL-2.1.1/Graphics/TriD/OpenGL'
cc -c -I/usr/X11R6/include -fno-strict-aliasing -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2     -DVERSION=\"0.5\" 
-DXS_VERSION=\"0.5\" -fpic -I/usr/lib/perl5/5.6.0/i686-linux/CORE  OpenGL.c
In file included from OpenGL.xs:2984:
OpenGL.vf: In function `boot_PDL__Graphics__OpenGL':
OpenGL.vf:306: `glAreTexturesResidentEXT' undeclared (first use in this 
function)
OpenGL.vf:306: (Each undeclared identifier is reported only once
OpenGL.vf:306: for each function it appears in.)
OpenGL.vf:307: `glArrayElementEXT' undeclared (first use in this function)
OpenGL.vf:308: `glBindTextureEXT' undeclared (first use in this function)
OpenGL.vf:309: `glColorPointerEXT' undeclared (first use in this function)
OpenGL.vf:310: `glDeleteTexturesEXT' undeclared (first use in this function)
OpenGL.vf:311: `glDrawArraysEXT' undeclared (first use in this function)
OpenGL.vf:312: `glEdgeFlagPointerEXT' undeclared (first use in this function)
OpenGL.vf:313: `glGenTexturesEXT' undeclared (first use in this function)
OpenGL.vf:314: `glIndexPointerEXT' undeclared (first use in this function)
OpenGL.vf:315: `glIsTextureEXT' undeclared (first use in this function)
OpenGL.vf:316: `glNormalPointerEXT' undeclared (first use in this function)
OpenGL.vf:317: `glPrioritizeTexturesEXT' undeclared (first use in this 
function)
OpenGL.vf:318: `glTexCoordPointerEXT' undeclared (first use in this function)
OpenGL.vf:319: `glVertexPointerEXT' undeclared (first use in this function)
make[3]: *** [OpenGL.o] Error 1
make[3]: Leaving directory `/usr/src/sources/p/PDL-2.1.1/Graphics/TriD/OpenGL'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory `/usr/src/sources/p/PDL-2.1.1/Graphics/TriD'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/usr/src/sources/p/PDL-2.1.1/Graphics'
make: *** [subdirs] Error 2
---------------
End make out
---------------

---------------
Begin Makefile out
---------------
Checking if your kit is complete...
Warning: prerequisite ExtUtils::F77 failed to load: Can't locate 
ExtUtils/F77.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i686-linux 
/usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i686-linux 
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at (eval 5) line 3.
Looks good
Writing Makefile for PDL::pod
Writing Makefile for PDL::PP
Trying to figure out POSIX threads support ...
         Saw pthread.h. Fine.
         Nope, your perl was not linked against pthread library
         ==> PDL will be built without POSIX thread support. Shame on you.
Writing Makefile for PDL::Core
Writing Makefile for PDL::Ops
Writing Makefile for PDL::Primitive
Writing Makefile for PDL::Slices
Writing Makefile for PDL::Tests
Source of functions
System:       acosh asinh atanh erf erfc j0 j1 jn rint y0 y1 yn
Distribution: blas eigens erfi infinity nan ndtri simq svd

Writing Makefile for PDL::Math
Writing Makefile for PDL::Complex
Writing Makefile for PDL
Writing Makefile for PDL::Demos
Writing Makefile for PDL::Pod::Parser
Writing Makefile for PDL::Doc

    Building TriD extension. Turn off WITH_3D if there are problems

Writing Makefile for PDL::Graphics::PGPLOT
Writing Makefile for PDL::Graphics::LUT::tables::DATA
Writing Makefile for PDL::Graphics::LUT::ramps::DATA
Writing Makefile for PDL::Graphics::LUT

       Not building PDL::Graphics::Karma, turn on WITH_KARMA if this is 
incorrect

Writing Makefile for PDL::Graphics::IIS
Writing Makefile for PDL::Graphics::TriD::Rout
Writing Makefile for PDL::Graphics::VRML
Note (probably harmless): No library found for -lMesaGL
Note (probably harmless): No library found for -lMesaGLU
Writing Makefile for PDL::Graphics::OpenGL
Note (probably harmless): No library found for -lMesaGL
Note (probably harmless): No library found for -lMesaGLU
Writing Makefile for PDL::Graphics::OpenGLQ
Writing Makefile for PDL::Graphics::TriD
Writing Makefile for PDL
Writing Makefile for PDL::IO::FastRaw
Writing Makefile for PDL::IO::Misc
Writing Makefile for PDL::IO::FlexRaw
Writing Makefile for PDL::IO::Pnm
Writing Makefile for PDL::IO::Browser
Writing Makefile for PDL::IO::NDF
Writing Makefile for PDL
Writing Makefile for PDL::Opt::Simplex
Writing Makefile for PDL::Opt
Writing Makefile for PDL::ImageRGB
Writing Makefile for PDL::Fit::Gaussian
Writing Makefile for PDL::Fit
Writing Makefile for PDL::FFT
Writing Makefile for PDL::Filter
Writing Makefile for PDL::Image2D

Can't locate ExtUtils/F77.pm in @INC (@INC contains: 
/usr/lib/perl5/5.6.0/i686-linux /usr/lib/perl5/5.6.0 
/usr/lib/perl5/site_perl/5.6.0/i686-linux /usr/lib/perl5/site_perl/5.6.0 
/usr/lib/perl5/site_perl .) at (eval 248) line 2.
BEGIN failed--compilation aborted at (eval 248) line 2.

     ExtUtils::F77 module not found. Ought not build PDL::Slatec


  GSL Libraries not found... Skipping build of PDL::GSL.


  Skipping build of PDL::FFTW.

Writing Basic/Core/Config.pm
Writing Makefile for PDL::ImageND
Writing Makefile for PDL::CallExt
(ExtUtils Version )
Writing Makefile for PDL::Lib
Writing Makefile for PDL
---------------
End Makefile out
---------------


-- 
Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the blfs-support mailing list