我想在linux下装个codestriker

系统:RedHat Enterprise 5 ,装的MySQL为:MySQL-server-5.5.8-1.rhel5.i386.rpm和MySQL-client-5.5.8-1.rhel5.i386.rpm

直接RPM安装的,装完之后修改权限之后可以启动。

之后我就安装说明文档安装,提示需要DBD:MySQL-4.018,我就直接./install(后来用这个命令:perl -MCPAN -e 'install "DBD:mysql"'一样错),但是运行出错,代码如下:

[root@localhost bin]# ./install.pl

Checking for LWP::UserAgent (any) ok: found v5.835

Checking for CGI (v2.56) ok: found v3.15

Checking for Net::SMTP (any) ok: found v2.29

Checking for MIME::QuotedPrint (v2.14) ok: found v3.07

Checking for DBI (v1.13) ok: found v1.615

Checking for Template (v2.07) ok: found v2.22

Checking for HTML::Entities (any) ok: found v3.68

Checking for File::Temp (any) ok: found v0.16

Checking for XML::RSS (v1.05) ok: not found, optional

Checking for Encode::Byte (any) ok: found v2.00

Checking for Encode::Unicode (any) ok: found v2.02

Checking for DBD::mysql (any) not found

Codestriker requires some Perl modules which are either missing

from your system, or the version on your system is too old.

They can be installed by running (as root) the following:

perl -MCPAN -e 'install "DBD::mysql"'

Modules can also be downloaded from http://www.cpan.org.

Shall I try to download and install these modules for you? (y/n): y

Going to read /var/www/codestriker/codestriker-1.9.10/y/Metadata

Database was generated on Sat, 25 Dec 2010 06:54:49 GMT

Running install for module DBD::mysql

Running make for C/CA/CAPTTOFU/DBD-mysql-4.018.tar.gz

CPAN: Digest::MD5 loaded ok

CPAN: Compress::Zlib loaded ok

Checksum for /var/www/codestriker/codestriker-1.9.10/y/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.018.tar.gz ok

Scanning cache /var/www/codestriker/codestriker-1.9.10/y/build for sizes

Deleting from cache: /var/www/codestriker/codestriker-1.9.10/y/build/DBD-mysql-4.018 (10.4>10.0 MB)

DBD-mysql-4.018/

DBD-mysql-4.018/ChangeLog

DBD-mysql-4.018/constants.h

DBD-mysql-4.018/dbdimp.c

DBD-mysql-4.018/dbdimp.h

DBD-mysql-4.018/eg/

DBD-mysql-4.018/eg/bug14979.pl

DBD-mysql-4.018/eg/bug21028.pl

DBD-mysql-4.018/eg/bug30033.pl

DBD-mysql-4.018/eg/bug30033pg.pl

DBD-mysql-4.018/eg/decimal_test.pl

DBD-mysql-4.018/eg/issue21946.pl

DBD-mysql-4.018/eg/prepare_memory_usage.pl

DBD-mysql-4.018/eg/proc_example1.pl

DBD-mysql-4.018/eg/proc_example2.pl

DBD-mysql-4.018/eg/proc_example2a.pl

DBD-mysql-4.018/eg/proc_example2b.pl

DBD-mysql-4.018/eg/proc_example3.pl

DBD-mysql-4.018/eg/proc_example4.pl

DBD-mysql-4.018/INSTALL.html

DBD-mysql-4.018/lib/

DBD-mysql-4.018/lib/Bundle/

DBD-mysql-4.018/lib/Bundle/DBD/

DBD-mysql-4.018/lib/Bundle/DBD/mysql.pm

DBD-mysql-4.018/lib/DBD/

DBD-mysql-4.018/lib/DBD/mysql/

DBD-mysql-4.018/lib/DBD/mysql/GetInfo.pm

DBD-mysql-4.018/lib/DBD/mysql/INSTALL.pod

DBD-mysql-4.018/lib/DBD/mysql.pm

DBD-mysql-4.018/Makefile.PL

DBD-mysql-4.018/Makefile.PL.embedded

DBD-mysql-4.018/MANIFEST

DBD-mysql-4.018/MANIFEST.SKIP

DBD-mysql-4.018/META.yml

DBD-mysql-4.018/myld

DBD-mysql-4.018/mysql.xs

DBD-mysql-4.018/README

DBD-mysql-4.018/t/

DBD-mysql-4.018/t/00base.t

DBD-mysql-4.018/t/10connect.t

DBD-mysql-4.018/t/20createdrop.t

DBD-mysql-4.018/t/25lockunlock.t

DBD-mysql-4.018/t/29warnings.t

DBD-mysql-4.018/t/30insertfetch.t

DBD-mysql-4.018/t/31insertid.t

DBD-mysql-4.018/t/32insert_error.t

DBD-mysql-4.018/t/35limit.t

DBD-mysql-4.018/t/35prepare.t

DBD-mysql-4.018/t/40bindparam.t

DBD-mysql-4.018/t/40bindparam2.t

DBD-mysql-4.018/t/40blobs.t

DBD-mysql-4.018/t/40catalog.t

DBD-mysql-4.018/t/40keyinfo.t

DBD-mysql-4.018/t/40listfields.t

DBD-mysql-4.018/t/40nulls.t

DBD-mysql-4.018/t/40nulls_prepare.t

DBD-mysql-4.018/t/40numrows.t

DBD-mysql-4.018/t/40server_prepare.t

DBD-mysql-4.018/t/40server_prepare_error.t

DBD-mysql-4.018/t/40types.t

DBD-mysql-4.018/t/41bindparam.t

DBD-mysql-4.018/t/41blobs_prepare.t

DBD-mysql-4.018/t/42bindparam.t

DBD-mysql-4.018/t/50chopblanks.t

DBD-mysql-4.018/t/50commit.t

DBD-mysql-4.018/t/51bind_type_guessing.t

DBD-mysql-4.018/t/52comment.t

DBD-mysql-4.018/t/53comment.t

DBD-mysql-4.018/t/55utf8.t

DBD-mysql-4.018/t/60leaks.t

DBD-mysql-4.018/t/65types.t

DBD-mysql-4.018/t/70takeimp.t

DBD-mysql-4.018/t/71impdata.t

DBD-mysql-4.018/t/75supported_sql.t

DBD-mysql-4.018/t/76multi_statement.t

DBD-mysql-4.018/t/80procs.t

DBD-mysql-4.018/t/85init_command.t

DBD-mysql-4.018/t/86_bug_36972.t

DBD-mysql-4.018/t/lib.pl

DBD-mysql-4.018/t/mem_leak.pl

DBD-mysql-4.018/t/mysql.dbtest

DBD-mysql-4.018/t/mysql.mtest

DBD-mysql-4.018/TODO

CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.018.tar.gz

Can't exec "mysql_config": No such file or directory at Makefile.PL line 82.

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 464.

Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located

Can't exec "mysql_config": No such file or directory at Makefile.PL line 464.

Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located

Can't exec "mysql_config": No such file or directory at Makefile.PL line 464.

Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located

PLEASE NOTE:

For 'make test' to run properly, you must ensure that the

database user 'root' can connect to your MySQL server

and has the proper privileges that these tests require such

as 'drop table', 'create table', 'drop procedure', 'create procedure'

as well as others.

mysql> grant all privileges on test.* to 'root'@'localhost' identified by 's3kr1t';

You can also optionally set the user to run 'make test' with:

perl Makefile.PL --testuser=username

Can't exec "mysql_config": No such file or directory at Makefile.PL line 464.

Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located

Can't exec "mysql_config": No such file or directory at Makefile.PL line 464.

Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located

Can't exec "mysql_config": No such file or directory at Makefile.PL line 464.

Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located

Failed to determine directory of mysql.h. Use

perl Makefile.PL --cflags=-I

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

Failed to install module: DBD::mysql.

Try to install this module manually, and run this script again.

我试着手动下载安装,也是报相同的错误,纠结了一星期,一直没有找出来原因,希望高手能帮帮忙。

作者: wulien88

发布时间: 2010-12-25

mysql 4.0.18_DBD:MySQL-4.018的安装问题相关推荐

  1. mysql 5.0 to mysql 5.1的BTREE索引问题

    今天遇到一个问题就是在搞magento站的时候复制站后导好库出现数据库里面sql语句报错,经查看是mysql版本问题从mysql 5.1 to mysql 5.0上出现索引表的问题向下面的把导出来的数 ...

  2. MySQL 8.0,MySQL 5.7,MySQL5.6,MySQL 5.5 特性对比

    文章目录 MySQL 5.5 特性,相对于 5.1 MySQL 5.6 特性,相比于 5.5 MySQL 5.7 特性,相比于 5.5 5.6 MySQL 8.0 特性,相比于 5.7 MySQL 5 ...

  3. turbolinux mysql 5.0 cluste_--mysql 5.0 集群负载均衡—经过测试

    一.介绍 ======== 测试环境: Server1:ndbd 192.168.0.11 Server2:ndbd 192.168.0.12 Server3:mysqld --ndb-cluster ...

  4. 漏洞扫描处理:凝思6.0.80操作系统安装数据库Mysql 8.0.27(二进制安装包安装)

    因网络安全测试,漏洞扫描检测出原先的Mysql5.7.XX数据库存在漏洞等等问题,需要升级Mysql最新版本的数据库,现记录如下升级步骤: 1.首先登录Mysql官网MySQL,选择DOWNLOADS ...

  5. MySQL 8.0.19 + win 7 +安装教程

    安装软件 :MySQL 8.0.19 安装环境:win 7 -64bit MySQL软件下载路径: MySQL官网 8.0.19版本下载路径 也可以直接百度网盘下载: 链接:https://pan.b ...

  6. mysql null 0 空,MySQL的空值和NULL区别

    从本质上区别: 1.空值不占空间 2.null值占空间 通俗的讲: 空值就像是一个真空转态杯子,什么都没有,而null值就是一个装满空气的杯子,虽然看起来都是一样的,但是有着本质的区别. 例子: 创建 ...

  7. MySQL 8.0 技术详解

    MySQL 8.0 简介 MySQL 5.7 到 8.0,Oracle 官方跳跃了 Major Version 版本号,随之而来的就是在 MySQL 8.0 上做了许多重大更新,在往企业级数据库的路上 ...

  8. concat 不是可以识别的 内置函数名称。_新特性解读 | MySQL 8.0 窗口函数详解

    背景 一直以来,MySQL 只有针对聚合函数的汇总类功能,比如MAX, AVG 等,没有从 SQL 层针对聚合类每组展开处理的功能.不过 MySQL 开放了 UDF 接口,可以用 C 来自己写UDF, ...

  9. mysql server5.0使用_sco openserver 5.0.5安装使用mysql4.0.21的方法Windows系统 -电脑资料...

    已正常安装mysql. 程序: #include"mysql.h" #includestdio.h voidmain() { MYSQLmysql,*conn; MYSQL_RES ...

最新文章

  1. PE文件和COFF文件格式分析——导出表的应用——一种摘掉Inline钩子(Unhook)的方法
  2. mysql语句大全 新浪博客_MySQL语句入门
  3. Delphi 与 DirectX 之 DelphiX(95): TDIB.x
  4. “加班文化“到底是如何流行起来的
  5. Android数据库LitePal的存储操作
  6. ref out param 区别
  7. 音视频技术开发周刊 | 133
  8. 比特币Merkle树和SPV机制
  9. Android 中.aar文件生成方法与用法
  10. asp.net MVC错误:uses 'System.Web.WebPages, Version=2.0.0.0, ....which has a higher version...
  11. WIFI无线网络技术详细分析
  12. 华南理工大学 电力电子技术(王兆安) 期末复习笔记1 第二章第九章
  13. ROS仿真环境安装与配置
  14. 数据库 求闭包、求候选码、范式转换、最小依赖集、无损分解及保持函数依赖
  15. python中binomial_Python Numpy random.binomial() 二项分布
  16. docker学习之docker镜像加速器
  17. adb模拟按键home_adb 命令模拟按键事件 模拟 点击 事件
  18. Go中sync 包的 Once 使用
  19. java 利用继承和多态设计三角形,圆矩形
  20. 3、kubeadm部署Kubernetes 网络插件flannel、Calico、weave 并设置集群角色

热门文章

  1. python 画子图股票成交量图像
  2. 14家泰国银行支持利用区块链平台将合同数字化
  3. Flex布局常用的一些属性及解释
  4. 揭开色彩营销中隐藏在品牌运营下的“变脸”戏法!
  5. 一个前端er写在2015年末的话
  6. js获取当天0点时间戳
  7. 城乡投票源码php_PHP微信公众号投票活动系统源码 独立版
  8. python tkinter entry默认值_Python ---(六)Tkinter窗口组件:Entry
  9. 野火多功能调试助手】-摄像头调试助手通讯协议
  10. Node.js 的微任务处理(基于Node.js V17)