JSchmitz has asked for the wisdom of the Perl Monks concerning the following question:

trying to install Msql-Mysql-modules and getting this error....

root@houlphp-nuke Msql-Mysql-modules-1.1835# perl Makefile.PL
Checking for DBI, 0.91 or later ... ok
Checking for Data::ShowTable ... ok

Which DBMS do you want to use?

1) MySQL
2) mSQL
3) Both

Enter your choice: 3 1
WARNING: realclean takes a hash reference not a
string/number.
Please inform the author.
Checking if your kit is complete...
Looks good
Where is your mysql installed? Please tell me the directory that contains
the subdir include/. /usr/local/mysql
Writing Makefile for DBD::mysql
Writing Makefile for Mysql<bf> Can't use string ("Mysql/Makefile.PL Msql/Makefile.") as a HASH ref while "strict refs" in use
at /usr/lib/perl5/5.8.0/ExtUtils/MakeMaker.pm line 624.
this is the line in the makefile that it is complaining about
my(%a) = %{$self->{$section} || {}}; push @{$self->{RESULT}}, "\n# --- MakeMaker $section secti +on:"; push @{$self->{RESULT}}, "# " . join ", ", %a if $Verbose +&& %a; push @{$self->{RESULT}}, $self->nicetext($self->$section( +%a ));
any ideas??
thanks -

Replies are listed 'Best First'.
Re: Msql-Mysql-modules install blowup
by gaal (Parson) on Jun 29, 2004 at 19:44 UTC
      Hi, iam laso having problems in stalling DBD::mSQL. After loading packages when installing drivers it is asking for INCLUDE dir msql.h which is not present in my PC? How to overcome this issue and instal the package immediately. Waiting for the reply at the earliest. Thanks, Dinesh

        Are you sure that you want DBD::mSQL and not DBD::mysql? If you really are using mSQL rather than MySQL then the problem almost certainly is related to the fact that you do not have the appropriate client library (and its headers) installed.

        /J\