LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   can't run perl Makefile.PL (https://www.linuxquestions.org/questions/linux-software-2/cant-run-perl-makefile-pl-79200/)

foop37 08-05-2003 10:04 AM

can't run perl Makefile.PL
 
I am trying to install bugzilla on my linux box. I have all of the perl modules installed except Template and DBD::mysql is failing with Can't exe "mysql_config" :No such file or directory at Makefile.PL line 174 and Template is failing with t/dbi "DROP TABLE usr" can't call method execute without a package or object reference at t/dbi.t line 161.

I have been working on this for a while a few days am not sure what to do anymore. I would really appreciate any help. This is on Linux RedHat 7.2, perl 5.6 mysql 4.0. Please help.

foop37 08-05-2003 11:31 AM

it also says, "failed to determine directory of mysql.h Use
perl Makefile.PL --cflags=-I<dir>

I don't know the directory of mysql.h and when I do a find for it I don't get a return. When i read the INSTALL.html it said something about how mysql would be in the directory usr/include/mysql but I don't have that. Can anyone tell me where my mysql.h would be or how to find it? Please help. Thanks.

foop37 08-05-2003 12:05 PM

I turns out I needed to install the mysql-devel rpm. This put the header files in.


All times are GMT -5. The time now is 07:06 AM.