<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    cc'ing geo-perl list. Followups there, please.<br>
    <br>
    Seems to be the bindings in PDL::GIS::Proj. There is also another
    Proj module Geo::Proj4. Anybody know the PDL::GIS::Proj author?<br>
    <br>
    Martin, how do you know the code is supposed to work? proj_init
    sounds like a function that might be called automatically.<br>
    <br>
    Regards,<br>
    <br>
    Ari<br>
    <br>
    On 01/30/2012 09:03 PM, Martin Moore wrote:
    <blockquote
cite="mid:!&amp;!AAAAAAAAAAAYAAAAAAAAAFLxZtQqo65Oo+1jhlUB9DvCgAAAEAAAABlXsxeRQdRAlKhyMosdpbcBAAAAAA==@avbrief.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:black">OK, thanks.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:black"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="color:black">Not being into
            perl very much, which binding do you mean?<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:black"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="color:black">Martin.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:black"><o:p>&nbsp;</o:p></span></p>
        <div style="border:none;border-top:solid #B5C4DF
          1.0pt;padding:3.0pt 0cm 0cm 0cm">
          <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"
                lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"
              lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:fwarmerdam@gmail.com">fwarmerdam@gmail.com</a>
              [<a class="moz-txt-link-freetext" href="mailto:fwarmerdam@gmail.com">mailto:fwarmerdam@gmail.com</a>] <b>On Behalf Of </b>Frank
              Warmerdam<br>
              <b>Sent:</b> 30 January 2012 18:07<br>
              <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:martin.moore@avbrief.com">martin.moore@avbrief.com</a><br>
              <b>Subject:</b> Re: [Proj] Undefined subroutine
              &amp;Proj::proj_init called<o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal" style="margin-bottom:12.0pt">Martin,<br>
          <br>
          For what it's worth, I don't believe the perl bindings for
          Proj<br>
          you are using are part of the core distribution.&nbsp; So you might<br>
          have better luck directly contacting their author.&nbsp; <br>
          <br>
          Best regards,<br>
          <br>
          <o:p></o:p></p>
        <div>
          <p class="MsoNormal">On Mon, Jan 30, 2012 at 7:22 AM, Martin
            Moore &lt;<a moz-do-not-send="true"
              href="mailto:martin.moore@avbrief.com">martin.moore@avbrief.com</a>&gt;
            wrote:<o:p></o:p></p>
          <div>
            <p class="MsoNormal"><img id="_x0000_i1025"
                src="cid:part1.07010703.09030609@gmail.com" border="0"
                height="50" width="50"><o:p></o:p></p>
            <div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="font-size:10.0pt" lang="EN-US">Hi, I&#8217;ve got a
                  pretty basic problem on a new Debian Squeeze server
                  that has been narrowed down to:</span><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="font-size:10.0pt" lang="EN-US">&nbsp;</span><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="font-size:10.0pt" lang="EN-US">strace perl -e
                  'use PDL::GIS::Proj; my $pj = Proj::proj_init();'&nbsp; //
                  also used Proj::proj_init_plus() with the same results</span><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="font-size:10.0pt" lang="EN-US">&nbsp;</span><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="font-size:10.0pt" lang="EN-US">The only Proj.pm
                  on the system is /usr/lib/perl5/PDL/GIS/Proj.pm and it
                  doesn&#8217;t appear to have a proj_init&lt;_plus&gt;
                  function.</span><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="font-size:10.0pt" lang="EN-US">&nbsp;</span><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="font-size:10.0pt" lang="EN-US">Stacktrace is at
                  <a moz-do-not-send="true"
                    href="http://pastebin.com/kPkwt6nj" target="_blank">http://pastebin.com/kPkwt6nj</a></span><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="font-size:10.0pt" lang="EN-US">&nbsp;</span><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="font-size:10.0pt" lang="EN-US">Any ideas how to
                  get this running appreciated.</span><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="font-size:10.0pt">&nbsp;</span><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="font-size:10.0pt">&nbsp;</span><o:p></o:p></p>
              <p><span style="font-size:10.0pt" lang="EN-US">As an
                  aside, I needed to sudo ln -s
                  /usr/lib/perl5/PDL/Core.pm /usr/lib/perl5/PDL::Core to
                  get this recognized. &nbsp;</span><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="font-size:10.0pt">&nbsp;</span><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="font-size:10.0pt">&nbsp;</span><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="font-size:10.0pt">Thanks,</span><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="font-size:10.0pt">&nbsp;</span><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                  style="font-size:10.0pt">Martin.</span><o:p></o:p></p>
            </div>
          </div>
          <p class="MsoNormal"><br>
            _______________________________________________<br>
            Proj mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Proj@lists.maptools.org">Proj@lists.maptools.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.maptools.org/mailman/listinfo/proj"
              target="_blank">http://lists.maptools.org/mailman/listinfo/proj</a><o:p></o:p></p>
        </div>
        <p class="MsoNormal" style="margin-bottom:12.0pt"><br>
          <br clear="all">
          <br>
          -- <br>
---------------------------------------+--------------------------------------<br>
          I set the clouds in motion - turn up&nbsp;&nbsp; | Frank Warmerdam, <a
            moz-do-not-send="true" href="mailto:warmerdam@pobox.com"
            target="_blank">warmerdam@pobox.com</a><br>
          light and sound - activate the windows | <a
            moz-do-not-send="true" href="http://pobox.com/%7Ewarmerdam"
            target="_blank">http://pobox.com/~warmerdam</a><br>
          and watch the world go round - Rush&nbsp; &nbsp; | Geospatial Software
          Developer<o:p></o:p></p>
        <div class="MsoNormal" style="text-align:center" align="center">
          <hr style="color:#A0A0A0" noshade="noshade" size="1"
            width="100%" align="center"></div>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">No
          virus found in this message.<br>
          Checked by AVG - <a moz-do-not-send="true"
            href="http://www.avg.com">www.avg.com</a><br>
          Version: 2012.0.1901 / Virus Database: 2109/4776 - Release
          Date: 01/30/12<o:p></o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Proj mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Proj@lists.maptools.org">Proj@lists.maptools.org</a>
<a class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/proj">http://lists.maptools.org/mailman/listinfo/proj</a></pre>
    </blockquote>
    <br>
  </body>
</html>