cygwin mysql 安装_cygwin下ruby-mysql的安装问题

在 cygwin 下安装的 ruby

在 windows 下安装的 mysql

安装 ruby-mysql 驱动的时候因为缺少 mysql 的头文件和库文件总不能正确安装

把 mysql for linux 中的头文件和库文件复制到 cygwin 下仍然不行

(linux 下的 .a 和 .so 文件在 cygwin 下能用吗?)

难道一定得在 cygwin 上安装 mysql 吗??

问题补充:

那几篇贴子都看了,开始想不要在cygwin下编译安装mysql,不行

后来下了mysql的源码包,和windows下一样的版本,5.0.67,编译失败,汗~~ 折磨~~

make all-recursive

make[1]: Entering directory `/home/Administrator/software/mysql-5.0.67'

Making all in .

make[2]: Entering directory `/home/Administrator/software/mysql-5.0.67'

make[2]: Nothing to be done for `all-am'.

make[2]: Leaving directory `/home/Administrator/software/mysql-5.0.67'

Making all in include

make[2]: Entering directory `/home/Administrator/software/mysql-5.0.67/include'

make all-am

make[3]: Entering directory `/home/Administrator/software/mysql-5.0.67/include'

make[3]: Leaving directory `/home/Administrator/software/mysql-5.0.67/include'

make[2]: Leaving directory `/home/Administrator/software/mysql-5.0.67/include'

Making all in Docs

make[2]: Entering directory `/home/Administrator/software/mysql-5.0.67/Docs'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/home/Administrator/software/mysql-5.0.67/Docs'

Making all in cmd-line-utils

make[2]: Entering directory `/home/Administrator/software/mysql-5.0.67/cmd-line-utils'

Making all in libedit

make[3]: Entering directory `/home/Administrator/software/mysql-5.0.67/cmd-line-utils/libedit'

if gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I. -I. -I../../include -I../../include -I../../include -O3 -DDBUG_OFF -MT chared.o -MD -MP -MF ".deps/chared.Tpo" -c -o chared.o chared.c; \

then mv -f ".deps/chared.Tpo" ".deps/chared.Po"; else rm -f ".deps/chared.Tpo"; exit 1; fi

In file included from el.h:96,

from chared.c:41:

tty.h:453: error: parse error before "u_int"

tty.h:453: warning: no semicolon at end of struct or union

tty.h:454: warning: data definition has no type or storage class

tty.h:455: warning: data definition has no type or storage class

tty.h:469: error: parse error before "ttyperm_t"

tty.h:469: warning: no semicolon at end of struct or union

tty.h:477: error: parse error before '}' token

tty.h:477: warning: data definition has no type or storage class

In file included from chared.c:41:

el.h:124: error: parse error before "el_tty_t"

el.h:124: warning: no semicolon at end of struct or union

el.h:135: error: parse error before '}' token

chared.c: In function `cv_undo':

chared.c:52: error: dereferencing pointer to incomplete type

chared.c:53: error: dereferencing pointer to incomplete type

......

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值