I am trying to install the CPAN module and am getting this error when make install:
deadpickle@HoboHotel:~/Desktop/tk-zinc-3.303$ sudo make install Password: make[1]: Entering directory `/home/deadpickle/Desktop/tk-zinc-3.303/de +mos' make[1]: Leaving directory `/home/deadpickle/Desktop/tk-zinc-3.303/dem +os' cc -c -I. -I/usr/lib/perl5/Tk -I/usr/lib/perl5/Tk/pTk -I/usr/lib/perl +5/Tk/X11 -I/usr/X11R6/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HA +VE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_L +ARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"3.303\" -DXS +_VERSION=\"804.027\" -fPIC "-I/usr/lib/perl/5.8/CORE" -DPTK -DGL -DS +HAPE -DATC Tabular.c In file included from Tabular.c:19: Types.h:41:24: error: GL/glx.h: No such file or directory In file included from PostScript.h:27, from Item.h:23, from WidgetInfo.h:23, from Tabular.c:20: Image.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ be +fore ‘ZnImageTex’ Image.h:49: error: expected specifier-qualifier-list before ‘GLfloat’ Image.h:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ be +fore ‘ZnTexFontTex’ In file included from Tabular.c:23: tkZinc.h:27:20: error: GL/glu.h: No such file or directory In file included from Tabular.c:23: tkZinc.h:63: error: expected specifier-qualifier-list before ‘GLUtesse +lator’ tkZinc.h:76: error: expected specifier-qualifier-list before ‘GLXConte +xt’ make: *** [Tabular.o] Error 1
And I get this error when I try to run a program involving Zinc:
Tk::Zinc object version 800.025 does not match bootstrap parameter 804 +.027 at /usr/lib/perl/5.8/DynaLoader.pm line 245. Compilation failed in require at TripleRotatingWheel.pl line 9. BEGIN failed--compilation aborted at TripleRotatingWheel.pl line 9.

In reply to Re^4: Using GIS/Shapefiles with Perl Tk Widgets by deadpickle
in thread Using GIS/Shapefiles with Perl Tk Widgets by deadpickle

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.