Hi,

I was having similar problems on OS 10.3 Panther. The DBI, DBD::MySQL modules would not compile. This is caused by a bug in the Developer Tools compiler. There is a note somewhere on a simple amendment to the config file for this which is supposed to solve the problem but I couldn't get that to work either. Also you can put this line after you have done the Makefile step and that is supposed to work. perl -pi -e's/MACOSX/env MACOSX/' Makefile

In the end I decided that my problem was the fact that Apple decided on a multithreaded install of Perl so I then decided to overcome this and upgrade to 5.8.3 (Unthreaded) at the same time and followed the instructions here. http://developer.apple.com/internet/opensource/perl.html

For me the comand line download of the distribution from CPAN didn't work so I downloaded it with my browser and then moved it to somewhere that I could easily find from the comand line. I then moved it to the directory I had made for the process, unpacked it and installed it. Now modules install fine and DBD::MySQL DBI etc work as expected.

I hope that this helps and saves you from giving up on Perl.

Best wishes

Sid

In reply to Re: Module compilation hell by Hissingsid
in thread Module compilation hell by Anonymous Monk

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.