Problem installing DBD::mysql on a Mac OS X Panther system

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kerry Shetline

    Problem installing DBD::mysql on a Mac OS X Panther system

    I've successfully installed MySQL and the Perl DBI module, but when I
    try to install DBD::mysql, it keeps failing like this:

    -------------------- (from the CPAN shell) ---------------------
    ....
    chmod 644 mysql.bs
    rm -f blib/arch/auto/DBD/mysql/mysql.bundle
    LD_RUN_PATH="/usr/lib" /usr/bin/perl myld MACOSX_DEPLOYME NT_TARGET=10.3
    cc -bundle -undefined dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o
    -o blib/arch/auto/DBD/mysql/mysql.bundle -L/usr/local/mysql/lib
    -lmysqlclient -lz -lm
    make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1
    /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

    cpan>
    ----------------------------------------------------------------

    I've been doing a little Perl programming for a while now, but I'm far
    from an expert, and I've been relying on simply using whatever was
    already installed on my web hosting system, where the DBI and DBD::mysql
    modules were pre-installed without me having to do a thing to get them
    there.

    I don't even have a clue where to start in evaluating what this
    installation error is about. I'm just trying to follow instructions that
    I've founding Googling around for help on installing Perl packages on a
    Mac OS X system, and none of that help covers what to do when an
    installation like this fails for God knows what reason.

    Help!
  • Koncept

    #2
    Re: Problem installing DBD::mysql on a Mac OS X Panther system

    In article <DEP2c.200567$u V3.814804@attbi _s51>, Kerry Shetline
    <kerry@shetline .com> wrote:
    [color=blue]
    > I've successfully installed MySQL and the Perl DBI module, but when I
    > try to install DBD::mysql, it keeps failing like this:
    >
    > -------------------- (from the CPAN shell) ---------------------
    > ....
    > chmod 644 mysql.bs
    > rm -f blib/arch/auto/DBD/mysql/mysql.bundle
    > LD_RUN_PATH="/usr/lib" /usr/bin/perl myld MACOSX_DEPLOYME NT_TARGET=10.3
    > cc -bundle -undefined dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o
    > -o blib/arch/auto/DBD/mysql/mysql.bundle -L/usr/local/mysql/lib
    > -lmysqlclient -lz -lm
    > make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1
    > /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
    >
    > cpan>
    > ----------------------------------------------------------------
    >
    > I've been doing a little Perl programming for a while now, but I'm far
    > from an expert, and I've been relying on simply using whatever was
    > already installed on my web hosting system, where the DBI and DBD::mysql
    > modules were pre-installed without me having to do a thing to get them
    > there.
    >
    > I don't even have a clue where to start in evaluating what this
    > installation error is about. I'm just trying to follow instructions that
    > I've founding Googling around for help on installing Perl packages on a
    > Mac OS X system, and none of that help covers what to do when an
    > installation like this fails for God knows what reason.
    >
    > Help![/color]


    You can install it via fink --> http://fink.sourceforge.net

    $ fink list dbi
    dbi-pm 1:1.38-3
    dbi-pm560 1:1.35-3
    dbi-pm581 1:1.38-1
    libdbi 0.7.2-1
    libdbi-dev 0.7.2-1
    libdbi-drivers-mysql 0.7.1-1
    libdbi-shlibs 0.7.2-1

    $ fink install libdbi-drivers-mysql

    --
    Koncept <<
    "Contrary to popular belief, the most dangerous animal is not the lion or
    tiger or even the elephant. The most dangerous animal is a shark riding
    on an elephant, just trampling and eating everything they see." - Jack Handey

    Comment

    Working...