Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Hi,

I take it that since you've got this far you've installed the developer tools, which I think was tricycle's problem.

I've been having related problems doing pretty much the same thing. In the end I installed the DBI and DBD::mysql packages manually. They seem to work fine. The problem I've been seeing with this and other CPAN-based installs is that newer modules apparently depend on perl 5.6.1 rather than the 5.6.0 that ships with OSX. I've compiled perl 5.6.1 and 5.7.2 but they fail a few of the tests run by make test (including one of the POSIX tests) so I'm a bit leery of actually installing them.

On a side note, the fink project is apparently working on providing the DBI and DBD modules; the relevant modules are in the current-unstable tree. Wait a while and the problem might go away :-)

Tim

Update: For completeness, I'll just add this pointer to a previous, more comprehensive thread on MacOSX and perl.

Update^2 (belated): Having installed perl 5.6.1 using the instructions codified here (which basically say: ignore my above concerns :P), I've found that the perl -MCPAN -e shell route works (almost) flawlessly. The only significant problem so far has been the DB_File module, which is one of the modules which originally failed make test anyway.

HTH, Tim


In reply to Re: Trouble installing modules under Mac OS X by tfrayner
in thread Trouble installing modules under Mac OS X 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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-19 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found