Re: Perl with MySQL

From: Ofer Nave (onave_at_bizrate.com)
Date: 09/29/04


Date: Wed, 29 Sep 2004 14:52:23 -0700
To: "Kirti S. Bajwa" <kbajwa@tib.com>


I've seen this problem with several perl modules, not just DBI. I was
told on another list that it has something to do with RH9's utf-8
support clashing with perl or something. They gave me a simple fix, and
it has worked for me, but don't ask me why.

First, don't use the CPAN shell, download the tarball and unpack it.
Change into the directory and run the following commands:

> LANG=
> export LANG
> perl Makefile.PL
> make
> make install

That should work.

-ofer

Kirti S. Bajwa wrote:

>Hello:
>
>RH9 + MySQL-4.0.21
>
>Couple of days ago, I posted a message indicating that I was getting errors
>when I install Perl modules. Here is my PERL installation sequence:
>
> % perl -MCPAN -e shell
> Note: Answer "no" to auto-configure perl.
> cpan> install Bundle::CPAN
> cpan> install Data::Dumper
> cpan> install Bundle::DBI
> cpan> install Bundle::DBD::mysql
>
>After I enter the last/above "cpan> install Bundle::DBD::mysql" command,
>there are number of output
>lines & then this error:
>---------------
>
>
>>Using DBI 1.43 (for perl 5.08 on i386-linux-thread-multi) installed
>>
>>
>/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI
>
>
>>Writing Makefile for DBD::mysql
>>Makefile:89: *** missing seprator. Stop
>>
>>
> /usr/bin/make --NOT OK
>
>
>>Running make test
>>
>>
> (other lines but .........)
>---------------
>
>I received several replies & suggestions. Most repondent said that maybe I
>was using a BAD mirror site & other said to download the "DBD::mysql" module
>& installing manually. Well I just did that and got the same errors.
>
>First I downloaded DBD::mysql (DBD-mysql-2.9004.tar.gz)module from
>www.cpan.org web site & followed the instructions for manual install. I got
>the same error message. Then I downloade one older module
>(DBD-mysql-2.9003.tar.gz)& tried doing a manual install. Same Error
>">Makefile:89: *** missing seprator. Stop".
>
>I have looked "line 89" in "Makefile". I can't tell "what septator is
>MISSING. Any help is highly appreciated.
>
>Kirti
>
>



Relevant Pages

  • Re: attempt to build 64 bit on Solaris fails
    ... > libraries needed to link with a 64-bit Tk. ... We were running a 32-bit version of Perl ... > Each section below is a summary of the commands used to install it. ...
    (comp.lang.perl.tk)
  • Re: attempt to build 64 bit on Solaris fails
    ... libraries needed to link with a 64-bit Tk. ... We were running a 32-bit version of Perl ... Each section below is a summary of the commands used to install it. ...
    (comp.lang.perl.tk)
  • Perl on Linux and SQL Server 2000 on Windows
    ... There was a time when I did a lot of searching on ways to use Perl ... sitting on Linux to connect SQL Server 2000 sitting on Windows. ... cpan> install DBI ... Install FreeTDS ...
    (comp.os.linux.misc)
  • RE: Please Help !!! Unable to install DBD-Oracle ( I am using perl 5.6 on solaris 8)
    ... Ron, I could be way off here, but the OP mayalready have Perl ... think the original issue was that he tried to use *PPM* to install ... I don't have any Solaris ... you are not the intended recipient, please notify the sender at Wipro ...
    (perl.dbi.users)
  • Re: Installing DBD::File via CPAN
    ... Do you use 'UNINST=1' in the build options for CPAN? ... >> Did you build Perl from source, or install via a RPM or binary distro? ... >>> sender of the delivery error by replying to this message, or notify us ...
    (perl.dbi.users)