List:MySQL and Perl« Previous MessageNext Message »
From:Michael Widenius Date:September 8 1999 10:12pm
Subject:Problem with Msql-mysql-modules 2206 on Irix
View as plain text  
Hi!

I just wondered if you have any ideas about the following:

I try to install Msql-Mysql-modules-1.2206 on a Irix machine:

$ uname -a
IRIX fia 6.3 12161207 IP32
$ perl -v
This is perl, version 5.004_04 built for IP32-irix

$ perl Makefile.PL --mysql-install --noprompt
--mysql-incdir=/home/mysql/fia/test/mysql-3.22.26a-sgi-irix6.3-mips/include
--mysql-libdir=/lib
Can't call method "new" without a package or object reference at Makefile.PL line 320.

Row 320 is the row marked with +

    # Checking for existing installations
    my $package;
    my $old = {};
    my $config = {};
    foreach $package ('mysql', 'mSQL', 'mSQL1') {
        my $class = "DBD::${package}::Install";
        # Try to find an existing configuration
        eval qq{
            require $class;
            \$old->{\$package} = require $class\::Config;
        };
+       if ($old->{$package}) {
            $config->{$package} = $old->{$package};
        } else {
            $config->{$package} = $class->new($DBD_VERSION, $VERSION);
        }


old is HASH(0x10215020)' and $package = 'mysql' when it the
installation dies.

The used perl binary is a local copy that I have compiled myself and I have
also write access to the perl directories.

I have some older version of msql-mysql modules installed on this
machine. The question is how I can go around this problem...

Regards,
Monty
Thread
Problem with Msql-mysql-modules 2206 on IrixMichael Widenius9 Sep
  • Re: Problem with Msql-mysql-modules 2206 on IrixHugo9 Sep
    • Re: Problem with Msql-mysql-modules 2206 on IrixJochen Wiedmann9 Sep
Re: Problem with Msql-mysql-modules 2206 on IrixDoug Grinbergs9 Sep