2 messages in com.mysql.lists.perlmake error: cannot find mysql.h
FromSent OnAttachments
Craig Cummings27 Jun 2000 10:38 
Craig Vincent27 Jun 2000 11:21 
Subject:make error: cannot find mysql.h
From:Craig Cummings (cumm@cmgm.stanford.edu)
Date:06/27/2000 10:38:05 AM
List:com.mysql.lists.perl

Hi there,

I am attempting to install the Msql-Mysql-modules (1.2209 or 1.2214). I have already successfully installed MySQL (3.22.32 RPM, from MySQL), DBI (1.13), Data-Dumper, and Data-ShowTable on my Pentium system running Red Hat Linux 6.1. After I unpack Msql-Mysql-modules, I type 'perl Makefile.PL' and get the following (abbreviated here):

Which drivers do you want to install?

...

Enter the appropriate number: [3] 1

Do you want to install the MysqlPerl emulation?...[n] Where is your MySQL installed?...[/usr/local] /usr Cannot find one of include/mysql/mysql.h, include/mysql.h in /usr at lib/DBD/mysql/Install.pm line 165, <STDIN> line 3.

RPM has installed MySQL in /usr (e.g. executables are in /usr/bin). However, I cannot find mysql.h anywhere on the system. Is this a peculiarity of the RPM installation? How can I get around this problem? Thank you for your assistance.

Regards,

Relman Laboratory Stanford University School of Medicine Department of Microbiology and Immunology