Re: Perl with MySQL

From: Henri Asseily (henri_at_bizrate.com)
Date: 09/30/04


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
>>



Relevant Pages

  • Re: install SBS2003 Trial - Update, reboot = "Expired"
    ... I tarted install on 7/23 and after windowsupdate date was 5/23. ... I got the error message only after updating. ... did so and then after a reboot I got to a login screen - saw the To do list and I shutdown and rebooted twice - just to see if all was OK with that error message. ... Debugging Tools for Windows - Overview ...
    (microsoft.public.windows.server.sbs)
  • Re: Merge Installation/Configuration Problem on OpenServer 5.0.7
    ... special files directory on a secondary hard drive, ... Shutdown the system and reboot on the 5.04 installation diskette. ... Begin fresh install, ... Run mkdev hd to add the drive or drives listed in the mntfs file. ...
    (comp.unix.sco.misc)
  • RE: Help! Startup automatically reboots halfway through
    ... Insert the Windows XP startup disk into the floppy disk drive, ... If this does not fix your issue I suggest that you do a parallel install ... rename the system folder to something besides windows or winnt. ... Once you are done you can try and reboot ...
    (microsoft.public.win2000.setup_deployment)
  • RE: Help!SOS!Hardest Senario-Cant start up!-computer reboots halfway through setup
    ... Insert the Windows XP startup disk into the floppy disk drive, ... If this does not fix your issue I suggest that you do a parallel install ... rename the system folder to something besides windows or winnt. ... Once you are done you can try and reboot ...
    (microsoft.public.win2000.setup)
  • RE: Search Problem--
    ... All of a sudden the search program gives an error message; ... regsvr32 jscript.dll click ... Reboot your machine and see if the Search engine will work okay. ... this to install the file and reboot your machine, ...
    (microsoft.public.windowsxp.help_and_support)