I am running a Fedora core 6 machine and I have just installed myql-5.0.41 from source file.
I can run the mysql server with no problem and also log in as a client and do database stuff.
Now I am installing bugzilla, which requires mysql to work, and part of that process is installing a bunch of perl modules to make it work. The one problem I am having with one of them is with the following command:
Code:
/usr/bin/perl -MCPAN -e 'install DBD::mysql'
This is supposed to install the correct DBD module for the database that I am running, which is MYSQL. However, I receive the following output from this command:
Code:
root@FireCracker bugzilla-3.0]# /usr/bin/perl -MCPAN -e 'install DBD::mysql'
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 18 Jun 2007 00:09:44 GMT
Running install for module DBD::mysql
Running make for C/CA/CAPTTOFU/DBD-mysql-4.005.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.005.tar.gz ok
Scanning cache /root/.cpan/build for sizes
DBD-mysql-4.005/
DBD-mysql-4.005/ChangeLog
DBD-mysql-4.005/constants.h
DBD-mysql-4.005/dbdimp.c
DBD-mysql-4.005/dbdimp.h
DBD-mysql-4.005/eg/
DBD-mysql-4.005/eg/prepare_memory_usage.pl
DBD-mysql-4.005/eg/proc_example1.pl
DBD-mysql-4.005/eg/proc_example2.pl
DBD-mysql-4.005/eg/proc_example3.pl
DBD-mysql-4.005/INSTALL.html
DBD-mysql-4.005/lib/
DBD-mysql-4.005/lib/Bundle/
DBD-mysql-4.005/lib/Bundle/DBD/
DBD-mysql-4.005/lib/Bundle/DBD/mysql.pm
DBD-mysql-4.005/lib/DBD/
DBD-mysql-4.005/lib/DBD/mysql/
DBD-mysql-4.005/lib/DBD/mysql/GetInfo.pm
DBD-mysql-4.005/lib/DBD/mysql/INSTALL.pod
DBD-mysql-4.005/lib/DBD/mysql.pm
DBD-mysql-4.005/Makefile.PL
DBD-mysql-4.005/Makefile.PL.embedded
DBD-mysql-4.005/MANIFEST
DBD-mysql-4.005/MANIFEST.SKIP
DBD-mysql-4.005/META.yml
DBD-mysql-4.005/myld
DBD-mysql-4.005/mysql.xs
DBD-mysql-4.005/README
DBD-mysql-4.005/t/
DBD-mysql-4.005/t/00base.t
DBD-mysql-4.005/t/10connect.t
DBD-mysql-4.005/t/20createdrop.t
DBD-mysql-4.005/t/30insertfetch.t
DBD-mysql-4.005/t/35limit.t
DBD-mysql-4.005/t/35prepare.t
DBD-mysql-4.005/t/40bindparam.t
DBD-mysql-4.005/t/40bindparam2.t
DBD-mysql-4.005/t/40blobs.t
DBD-mysql-4.005/t/40catalog.t
DBD-mysql-4.005/t/40listfields.t
DBD-mysql-4.005/t/40nulls.t
DBD-mysql-4.005/t/40numrows.t
DBD-mysql-4.005/t/41bindparam.t
DBD-mysql-4.005/t/41blobs_prepare.t
DBD-mysql-4.005/t/42bindparam.t
DBD-mysql-4.005/t/50chopblanks.t
DBD-mysql-4.005/t/50commit.t
DBD-mysql-4.005/t/60leaks.t
DBD-mysql-4.005/t/70takeimp.t
DBD-mysql-4.005/t/75supported_sql.t
DBD-mysql-4.005/t/80procs.t
DBD-mysql-4.005/t/insertid.t
DBD-mysql-4.005/t/lib.pl
DBD-mysql-4.005/t/multi_statement.t
DBD-mysql-4.005/t/mysql.dbtest
DBD-mysql-4.005/t/param_values.t
DBD-mysql-4.005/t/prepare_noerror.t
DBD-mysql-4.005/t/texecute.t
DBD-mysql-4.005/t/utf8.t
DBD-mysql-4.005/TODO
Removing previously used /root/.cpan/build/DBD-mysql-4.005
CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.005.tar.gz
Can't exec "mysql_config": No such file or directory at Makefile.PL line 76.
Cannot find the file 'mysql_config'! Your execution PATH doesn't seem
not contain the path to mysql_config. Resorting to guessed values!
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Failed to determine directory of mysql.h. Use
perl Makefile.PL --cflags=-I<dir>
to set this directory. For details see the INSTALL.html file,
section "C Compiler flags" or type
perl Makefile.PL --help
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
[root@FireCracker bugzilla-3.0]#
I noticed the message about not being able to find the myql_config file, but it is in the mysql bin directory as shown:
[
Code:
root@FireCracker bin]# pwd
/usr/local/mysql/bin
[root@FireCracker bin]# ls
comp_err mysql mysql_convert_table_format mysql_fix_privilege_tables mysqltest perror
innochecksum mysqlaccess mysqld_multi mysqlhotcopy mysqltestmanagerc replace
msql2mysql mysqladmin mysqld_safe mysqlimport mysqltestmanager-pwgen resolveip
myisamchk mysqlbinlog mysqldump mysql_install_db mysql_tzinfo_to_sql resolve_stack_dump
myisam_ftdump mysqlbug mysqldumpslow mysql_secure_installation mysql_upgrade
myisamlog mysqlcheck mysql_explain_log mysql_setpermission mysql_upgrade_shell
myisampack mysql_client_test mysql_find_rows mysqlshow mysql_waitpid
my_print_defaults mysql_config mysql_fix_extensions mysql_tableinfo mysql_zap
I then thought it might be an issue where I do not have the right development package. Rpm.pbone did not have a development package for Fedora 6 mysql, so I tried the Fedora 5 develop package for mysql, but it had a problem installing it:
Code:
Missing Dependency: mysql = 5.0.41-1.fc5.remi is needed by package mysql-devel
I do have mysql 5.0.41 installed and running, but it wasn't from an rpm...I compiled it from source code.
Is there something I am missing? I would rather not uninstall the source code and install the rpm version of mysql if I can help it.
Any input that anyone can give me would be appreciated.