[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] DBI Install Problems



----- Original Message -----
From: "Mike Fritsch" <mfritsch@xxxxxxxxxxxx>


> We are tryiung to install the DBI-MYSQL driver located here
> http://www.perl.com/CPAN-local/modules/by-module/Mysql/
> but when we do a make we get the following error:
>
> Cannot find one of include/mysql/mysql.h, include/mysql.h in /usr/local at
> lib/DBD/mysql/Install.pm line 165, <STDIN> chunk 3.

How did you install Mysql?  Sources or packages?  If sources, what did you
specify for --prefix= ?

> We have installed this on several other RaQ3s. I checked for the file and
it
> is on the other RaQ3s except this one. My question is does anyone know
what
> we need to install or forgot to install?

Did you try find or locate to see if the header files might have been
installed in some odd directory?

as root:

$ find / -name mysql.h
or
$ locate mysql.h

If you do find the MySQL headers, you can specify the location to
Msql-Mysql-modules by using:

$ perl Makefile.PL --mysql-incdir=/path/to/headers

though you may have to specify other options such as --mysql-libdir= if your
MySQL installation was spread out over your box.

If you can not find the header files, it sounds like you might have an
incomplete MySQL installation.

--
Brian Curtis