Re: 關¤_配置MYSQL和PHP的問題!
On Wed, 29 Nov 2000, [gb2312] wqinian rao wrote:
> 我用./configure
> --with-low-memony後系統在檢查其間說找不到一些庫文件說:
> checking for termcap functions
> libvary...configure:erro
> r :NO curses/termcap libvary found
> 請問怎麼解決呢?
What, "apt-get install mysql-client mysql-server mysql-doc mysql-manual"
doesn't work? You don't need to compile it yourself.
Anyhow, if you do need to build it from source, I would suggest that you
start by "apt-get source mysql" and go from there. (You'll need more
packages for building your own deb.
As for the error message that you got: You need to
apt-get install libncurses5-dev
and there are probably other development libraries that you need to use.
I just checked the "Build-Depends" line they used for building the mysql
*.deb, and here they are:
Build-Depends: autoconf (>= 2.13-20), automake (>= 1.4-6), debhelper
(>= 2.1.2), file (>= 3.28-1), gawk (>= 1:3.0.4-3),
libncurses5-dev (>= 5.0-6), perl-5.005-base (>= 5.005.03-6),
libwrap0-dev (>= 7.6-4), zlib1g-dev (>= 1:1.1.3-5), texinfo (>= 4.0),
libreadline4-dev
So, do this (all in one line):
# apt-get install autoconf automake debhelper file gawk libncurses5-dev
libwrap0-dev zlib1g-dev texinfo libreadline4-dev
before you start building mysql.
Again, I would say that
apt-get install mysql-client mysql-server mysql-doc mysql-manual
is so much easier, for novices and experts alike. :-)
Cheers,
Anthony
--
Anthony Fok Tung-Ling Civil and Environmental Engineering
foka@ualberta.ca, foka@debian.org University of Alberta, Canada
Debian GNU/Linux Chinese Project -- http://www.debian.org/zh/
Come visit Our Lady of Victory Camp -- http://www.olvc.ab.ca/
--
| This message was re-posted from debian-chinese-gb@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.
Reply to: