红联Linux门户
Linux帮助

fedora8安装 mysql++失败!!装了一个晚上没搞定!!伤心阿!

发布时间:2008-02-24 05:15:27来源:红联作者:lygzx
[root@F8 mysql++-3.0.0]# ./configure --w=/usr/lib/mysql
configure: error: unrecognized option: --w=/usr/lib/mysql
Try `./configure --help' for more information.
[root@F8 mysql++-3.0.0]# ./configure --prefix=/usr/lib/mysql
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether we are using the Intel C compiler... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether we are using the Intel C++ compiler... no
checking whether we are using the Sun C++ compiler... no
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for ar... ar
checking for strip... strip
checking for nm... nm
checking for command to install directories... /usr/bin/install -c -d
checking if make is GNU make... yes
checking for dependency tracking method... gcc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzread in -lz... yes
checking synch.h usability... no
checking synch.h presence... no
checking for synch.h... no
checking whether -lm is needed to use C math functions... no
checking whether -lsocket is needed... no
checking whether -lnsl is needed... no
checking for MySQL library directory... configure: error: Didn't find mysqlclient library in '/usr/lib64 /usr/lib /usr/lib64/mysql /usr/lib/mysql /usr/local/lib64 /usr/local/lib /usr/local/lib/mysql /usr/local/mysql/lib /usr/local/mysql/lib/mysql /opt/mysql/lib /opt/mysql/lib/mysql'
[root@F8 mysql++-3.0.0]#

哪位兄弟帮帮忙!
文章评论

共有 8 条评论

  1. aronmalache 于 2008-02-27 20:42:49发表:

    你狠,一个一个找,佩服。如果搭LAMP,出了安装时就选上,真的是yum最简单,下载不了多少,但是一大堆软件包,反正我是受不了……

  2. 奶茶dsk 于 2008-02-25 19:06:31发表:

    引用:
    原帖由 aronmalache 于 2008-2-25 17:36 发表
    dvd那个不是还要找依赖软件么……

    少什么装什么呀,,dvd里面都有啊!!!

  3. aronmalache 于 2008-02-25 17:36:56发表:

    dvd那个不是还要找依赖软件么……

  4. 奶茶dsk 于 2008-02-25 11:36:03发表:

    感觉直接装dvd镜象里面的更省事。。。。。。。。

  5. aronmalache 于 2008-02-25 10:46:19发表:

    你是不是用下载的(或者是光盘里的)rpm包?那样不一定能解决依赖问题,和你编译一样缺少支持的软件。你试试用yum安装

  6. lygzx 于 2008-02-24 21:42:32发表:

    rpm也装不了!

  7. aronmalache 于 2008-02-24 15:30:18发表:

    LZ,劝你还是用RPM吧,说句实话,如果不是真有几把刷子,RPM的比编译的好。

  8. gxf 于 2008-02-24 12:27:22发表:

    mysql++ API 是一组访问MySQL的C++ API封装,所以前提是你必须安装好Mysql,这也是为什么有错误“checking for MySQL library directory... configure: error”