Re: Perl with MySQL
From: Ofer Nave (onave_at_bizrate.com)
Date: 09/29/04
- Next message: Ron Reidy: "RE: build DBD::Oracle on Solaris"
- Previous message: GaGadget: "build DBD::Oracle on Solaris"
- In reply to: Kirti S. Bajwa: "RE: Perl with MySQL"
- Next in thread: Henri Asseily: "Re: Perl with MySQL"
- Reply: Henri Asseily: "Re: Perl with MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
>
>
- Next message: Ron Reidy: "RE: build DBD::Oracle on Solaris"
- Previous message: GaGadget: "build DBD::Oracle on Solaris"
- In reply to: Kirti S. Bajwa: "RE: Perl with MySQL"
- Next in thread: Henri Asseily: "Re: Perl with MySQL"
- Reply: Henri Asseily: "Re: Perl with MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|