求助:mysql安装时make出错

发布于 2022-09-27 20:14:15 字数 5165 浏览 16 评论 0

我用的是红帽AS3.0,我最小化安装的,现在装mysql时make总出错,应该是哪个包没装造成的,以为我以前典型安装AS3.0时好用,但我却找不出是哪个包没装,谁能帮忙看一看,万分感激了。下面就是

make  all-recursive
make[1]: Entering directory `/usr/local/mysql-4.0.18'
Making all in .
make[2]: Entering directory `/usr/local/mysql-4.0.18'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/usr/local/mysql-4.0.18'
Making all in include
make[2]: Entering directory `/usr/local/mysql-4.0.18/include'
make  all-am
make[3]: Entering directory `/usr/local/mysql-4.0.18/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/local/mysql-4.0.18/include'
make[2]: Leaving directory `/usr/local/mysql-4.0.18/include'
Making all in Docs
make[2]: Entering directory `/usr/local/mysql-4.0.18/Docs'
cd . && \
/bin/sh /usr/local/mysql-4.0.18/missing --run makeinfo -I . --no-headers --no-sp
lit --output manual.txt manual.texi
/usr/local/mysql-4.0.18/missing: line 46: makeinfo: command not found
WARNING: `makeinfo' is missing on your system.  You should only need it if
         you modified a `.texi' or `.texinfo' file, or any other file
         indirectly affecting the aspect of the manual.  The spurious
         call might also be the consequence of using a buggy `make' (AIX,
         DU, IRIX).  You might want to install the `Texinfo' package or
         the `GNU make' package.  Grab either from any GNU archive site.
perl -w ./Support/generate-text-files.pl mysql.info "Installing" "Tutorial" > ..
/INSTALL-SOURCE
perl -w ./Support/generate-text-files.pl mysql.info "GPL license" "Function Inde
x" > ../COPYING
perl -w ./Support/generate-text-files.pl mysql.info "Installing binary" "Install
ing source" > INSTALL-BINARY
perl -w ./Support/generate-text-files.pl mysql.info "Mac OS X installation" "Net
Ware installation" > ../support-files/MacOSX/ReadMe.txt
make  all-am
make[3]: Entering directory `/usr/local/mysql-4.0.18/Docs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/local/mysql-4.0.18/Docs'
make[2]: Leaving directory `/usr/local/mysql-4.0.18/Docs'
Making all in readline
make[2]: Entering directory `/usr/local/mysql-4.0.18/readline'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/mysql-4.0.18/readline'
Making all in pstack
make[2]: Entering directory `/usr/local/mysql-4.0.18/pstack'
Making all in aout
make[3]: Entering directory `/usr/local/mysql-4.0.18/pstack/aout'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/mysql-4.0.18/pstack/aout'
make[3]: Entering directory `/usr/local/mysql-4.0.18/pstack'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/local/mysql-4.0.18/pstack'
make[2]: Leaving directory `/usr/local/mysql-4.0.18/pstack'
Making all in libmysql
make[2]: Entering directory `/usr/local/mysql-4.0.18/libmysql'
if /bin/sh ../libtool --mode=compile gcc -DDEFAULT_CHARSET_HOME="\"/usr/local/my
sql\"" -DDATADIR="\"/usr/local/mysql/var\"" -DSHAREDIR="\"/usr/local/mysql/share
/mysql\"" -DUNDEF_THREADS_HACK -DDONT_USE_RAID  -DMYSQL_CLIENT -I. -I. -I.. -I./
../include -I../include -I./.. -I.. -I..     -O3 -DDBUG_OFF   -MT libmysql.lo -M
D -MP -MF ".deps/libmysql.Tpo" \
  -c -o libmysql.lo `test -f 'libmysql.c' || echo './'`libmysql.c; \
then mv -f ".deps/libmysql.Tpo" ".deps/libmysql.Plo"; \
else rm -f ".deps/libmysql.Tpo"; exit 1; \
fi
gcc -DDEFAULT_CHARSET_HOME=\"/usr/local/mysql\" -DDATADIR=\"/usr/local/mysql/va
r\" -DSHAREDIR=\"/usr/local/mysql/share/mysql\" -DUNDEF_THREADS_HACK -DDONT_USE_
RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. -O
3 -DDBUG_OFF -MT libmysql.lo -MD -MP -MF .deps/libmysql.Tpo -c libmysql.c  -fPIC
-DPIC -o .libs/libmysql.o
libmysql.c: In function `mysql_real_connect':
libmysql.c:1797: warning: passing arg 5 of `gethostbyname_r' from incompatible p
ointer type
libmysql.c:1797: too few arguments to function `gethostbyname_r'
libmysql.c:1797: warning: assignment makes pointer from integer without a cast
make[2]: *** [libmysql.lo] Error 1
make[2]: Leaving directory `/usr/local/mysql-4.0.18/libmysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/mysql-4.0.18'
make: *** [all] Error 2

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

無心 2022-10-04 20:14:15

开发编译工具没有装全,另外LZ的编译参数是怎样的?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文