Hi Brock,

As Derek Lamb pointed out, the problem here is in the
build for the 3D graphics, PDL::Graphics::TriD.  I
suggest you edit the perldl.conf file and set WITH_3D
to 0, explicitly to prevent building the TriD code.

For my first PDL build on a new platform, I usually
disable any problem extensions via the perldl.conf
file.  Then when the base system is building, I can
go back and track down the issues and resolve them.

I would recommend that you try building with the latest
CPAN developers release of PDL-2.4.4_08 which has a
number of fixes since the current stable release: 2.4.4.
Using the cpan shell, you'll need to:

cpan> get CHM/PDL-2.4.4_08.tar.gz
cpan> look CHM/PDL-2.4.4_08.tar.gz

which will put you in a subshell at the top of the
build tree.  You could edit the perldl.conf file here.
Personally, I find it simpler to debug build issues
by building manually:

  1) download CHM/PDL-2.4.4_08 from a CPAN mirror
  2) untar
  3) cd PDL-2.4.4_08
  4) edit perldl.conf
  5) perl Makefile.PL
  6) make
  7) make test
  8) make doctest
  9) perl -Mblib perldl   # to test the perldl shell
10) make install

I usually do the configure and build in a subshell to catch
the output for debugging.  With bash, this works:

( set -x ; perl Makefile.PL ; make ; make test ; make doctest ) 2>&1 | tee 
../pdl-24408-log.txt

That will give you some log output that you can scan for
errors.  If you are doing a manual build, it still works
to install the perl module dependencies via CPAN rather
than by hand.

Good luck,
Chris


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
> 
> 
> ------------------------------------------------------------------------
> 
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.5.409 / Virus Database: 270.13.111/2386 - Release Date: 09/21/09 
> 05:51:00
> 


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

Reply via email to