Your install is getting hung up on 3D graphics.  I get the same thing on 
my Scientific Linux 5.3 (essentially CentOS) system.  If you don't need 
3D graphics, the simplest approach would be to go into the PDL build 
directory 'cpan> look PDL' and edit perldl.conf so that the line says 
'WITH_3D => 0,' instead of "WITH_3D => (a bunch of other stuff)".  Then 
hopefully you should be able to proceed without problems.  I got other 
errors after I did that, but one of my CPAN make options is '-j4' (to 
use more than one processor when compiling).  PDL is complex enough that 
it may not play nice with that.  Running just plain 'make' in a regular 
shell worked fine.

If you really need 3D graphics, see the note from Chris Marshall to this 
list on 9/17/2009.  That represents the most advanced state of 
refactoring PDL's 3D support.  Unfortunately it's been a bear to get it 
consistent across systems & 3d graphics libraries.  Any help is appreciated.

cheers,
Derek

Brock Murch wrote:
> Thanks in advance for your help. Any is appreciated!
>
> I have a new CentOS 5.3 box and PDL will not install. 
>
> thing1 432 :> cat /etc/redhat-release
> CentOS release 5.3 (Final)
>
> It is a 64 bit machine:
> thing1 433 :> uname -a
> Linux thing1.xyz.abc.edu 2.6.18-128.7.1.el5 #1 SMP Mon Aug 24 08:21:56 EDT 
> 2009 x86_64 x86_64 x86_64 GNU/Linux
>
>
> I am attaching the last part of the failures using:"perl -MCPAN -e shell"
>
>   
>> install PDL
>>     
>
> __stuff_here__
>
> PDL::Graphics::TriD::OpenGL: PROCESSING FILE X.h.....Getting constants from 
> file /usr/include/X11/X.h
> Running cpp on /usr/include/X11/X.h
> *** CPP command: 
> gcc -E -P -DGL_MESA_program_debug=0 -D_REENTRANT -D_GNU_SOURCE 
> -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include 
> -I/usr/include/gdbm -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe 
> -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -D_LANGUAGE_C -DAPIENTRY='' 
> tmp_X.h |
> open_fencestr = '11HdyTbIVg6s'; close_fencestr = '23Cnba1nbf31'
> rawfile has 15 lines...
> SUB CPP: Returning 27 lines...
>
> PDL::Graphics::TriD::OpenGL: PROCESSING FILE gl.h.....Getting constants from 
> file /usr/include/GL/gl.h
> Running cpp on /usr/include/GL/gl.h
> *** CPP command: 
> gcc -E -P -DGL_MESA_program_debug=0 -D_REENTRANT -D_GNU_SOURCE 
> -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include 
> -I/usr/include/gdbm -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe 
> -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -D_LANGUAGE_C -DAPIENTRY='' 
> tmp_gl.h |
> open_fencestr = '11HdyTbIVg6s'; close_fencestr = '23Cnba1nbf31'
> rawfile has 1809 lines...
> SUB CPP: Returning 3615 lines...
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'ptrdiff_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'ptrdiff_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'ptrdiff_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'ptrdiff_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'int64_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'uint64_t')
>
> PDL::Graphics::TriD::OpenGL: PROCESSING FILE glx.h.....Getting constants from 
> file /usr/include/GL/glx.h
> Running cpp on /usr/include/GL/glx.h
> *** CPP command: 
> gcc -E -P -DGL_MESA_program_debug=0 -D_REENTRANT -D_GNU_SOURCE 
> -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include 
> -I/usr/include/gdbm -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe 
> -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -D_LANGUAGE_C -DAPIENTRY='' 
> tmp_glx.h |
> open_fencestr = '11HdyTbIVg6s'; close_fencestr = '23Cnba1nbf31'
> rawfile has 5831 lines...
> SUB CPP: Returning 11659 lines...
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'ptrdiff_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'ptrdiff_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'ptrdiff_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'ptrdiff_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'int64_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'uint64_t')
>
> PDL::Graphics::TriD::OpenGL: PROCESSING FILE glu.h.....Getting constants from 
> file /usr/include/GL/glu.h
> Running cpp on /usr/include/GL/glu.h
> *** CPP command: 
> gcc -E -P -DGL_MESA_program_debug=0 -D_REENTRANT -D_GNU_SOURCE 
> -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include 
> -I/usr/include/gdbm -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe 
> -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -D_LANGUAGE_C -DAPIENTRY='' 
> tmp_glu.h |
> open_fencestr = '11HdyTbIVg6s'; close_fencestr = '23Cnba1nbf31'
> rawfile has 5898 lines...
> SUB CPP: Returning 11793 lines...
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'ptrdiff_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'ptrdiff_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'ptrdiff_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'ptrdiff_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'int64_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'uint64_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'struct GLUnurbs')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'struct GLUquadric')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'struct GLUtesselator')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'GLUnurbs')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'GLUquadric')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'GLUtesselator')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'GLUtesselator')
>
> PDL::Graphics::TriD::OpenGL: PROCESSING FILE glxtokens.h.....Getting 
> constants 
> from file /usr/include/GL/glxtokens.h
> Running cpp on /usr/include/GL/glxtokens.h
> *** CPP command: 
> gcc -E -P -DGL_MESA_program_debug=0 -D_REENTRANT -D_GNU_SOURCE 
> -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include 
> -I/usr/include/gdbm -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe 
> -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -D_LANGUAGE_C -DAPIENTRY='' 
> tmp_glxtokens.h |
> open_fencestr = '11HdyTbIVg6s'; close_fencestr = '23Cnba1nbf31'
> rawfile has 5898 lines...
> SUB CPP: Returning 11793 lines...
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'ptrdiff_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'ptrdiff_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'ptrdiff_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'ptrdiff_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'int64_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'uint64_t')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'struct GLUnurbs')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'struct GLUquadric')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'struct GLUtesselator')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'GLUnurbs')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'GLUquadric')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'GLUtesselator')
> (Probably harmless): Sorting typedefs, but my little mind is blown! (ctype 
> was 'GLUtesselator')
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ************************************
> ***********************************
> *****************************
> Pre-processed files.  gl_includes is now 
> X11/X.h,GL/gl.h,GL/glx.h,GL/glu.h,GL/glxtokens.h...
>
>
>
>
>
>
>
> XXXXXXXXXX Processing gl.h
> Running cpp on /usr/include/GL/gl.h
> *** CPP command: 
> gcc -E -P -DGL_MESA_program_debug=0 -D_REENTRANT -D_GNU_SOURCE 
> -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include 
> -I/usr/include/gdbm -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe 
> -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -D_LANGUAGE_C -DAPIENTRY='' 
> tmp_gl.h |
> open_fencestr = '11HdyTbIVg6s'; close_fencestr = '23Cnba1nbf31'
> rawfile has 1799 lines...
> SUB CPP: Returning 1503 lines...
> XXXXXXXXXX Processing glx.h
> Running cpp on /usr/include/GL/glx.h
> *** CPP command: 
> gcc -E -P -DGL_MESA_program_debug=0 -D_REENTRANT -D_GNU_SOURCE 
> -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include 
> -I/usr/include/gdbm -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe 
> -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -D_LANGUAGE_C -DAPIENTRY='' 
> tmp_glx.h |
> open_fencestr = '11HdyTbIVg6s'; close_fencestr = '23Cnba1nbf31'
> rawfile has 5970 lines...
> SUB CPP: Returning 225 lines...
> XXXXXXXXXX Processing glu.h
> Running cpp on /usr/include/GL/glu.h
> *** CPP command: 
> gcc -E -P -DGL_MESA_program_debug=0 -D_REENTRANT -D_GNU_SOURCE 
> -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include 
> -I/usr/include/gdbm -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe 
> -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -D_LANGUAGE_C -DAPIENTRY='' 
> tmp_glu.h |
> open_fencestr = '11HdyTbIVg6s'; close_fencestr = '23Cnba1nbf31'
> rawfile has 1866 lines...
> SUB CPP: Returning 137 lines...
> cp OpenGL.pm ../../../blib/lib/PDL/Graphics/OpenGL.pm
> /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap 
> /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap 
> /root/.cpan/build/PDL-2.4.4-63LW77/Basic/Core/typemap.pdl  
> OpenGL.xs > OpenGL.xsc && mv OpenGL.xsc OpenGL.c
> Error: No OUTPUT definition for type 'GLvoid', typekind 'T_VOID' found in 
> OpenGL.xs, line 7547
> make[3]: *** [OpenGL.c] Error 1
> make[3]: Leaving directory 
> `/root/.cpan/build/PDL-2.4.4-63LW77/Graphics/TriD/OpenGL'
> make[2]: *** [subdirs] Error 2
> make[2]: Leaving directory `/root/.cpan/build/PDL-2.4.4-63LW77/Graphics/TriD'
> make[1]: *** [subdirs] Error 2
> make[1]: Leaving directory `/root/.cpan/build/PDL-2.4.4-63LW77/Graphics'
> make: *** [subdirs] Error 2
>   CHM/PDL-2.4.4.tar.gz
>   /usr/bin/make -- NOT OK
> Running make test
>   Can't test without successful make
> Running make install
>   Make had returned bad status, install seems impossible
> Failed during this command:
>  CHM/PDL-2.4.4.tar.gz                         : make NO
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>   


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

Reply via email to