Re: Perl with MySQL
From: Henri Asseily (henri_at_bizrate.com)
Date: 09/30/04
- Next message: Ravi Kongara: "ORA-01461: can bind a LONG value only.. while insert"
- Previous message: Ron Reidy: "RE: build DBD::Oracle on Solaris"
- In reply to: Ofer Nave: "Re: Perl with MySQL"
- Next in thread: Michael Peppler: "Re: Perl with MySQL"
- Reply: Michael Peppler: "Re: Perl with MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Sep 2004 15:01:13 -0700 To: "'dbi-users'" <dbi-users@perl.org>
By default the first thing we do here on a redhat 9 install is as root:
mv /etc/sysconfig/i18n /etc/sysconfig/i18n.orig
upon reboot, you should be good.
If you don't want to reboot, just do "unset LANG" before running the
Makefile (or installing through CPAN).
Not doing that is guaranteed to break a DBD::Sybase install BTW.
On Sep 29, 2004, at 2:52 PM, Ofer Nave wrote:
>
> 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: Ravi Kongara: "ORA-01461: can bind a LONG value only.. while insert"
- Previous message: Ron Reidy: "RE: build DBD::Oracle on Solaris"
- In reply to: Ofer Nave: "Re: Perl with MySQL"
- Next in thread: Michael Peppler: "Re: Perl with MySQL"
- Reply: Michael Peppler: "Re: Perl with MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|