LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 715|回复: 0

make install是出现的错误!

[复制链接]
发表于 2005-7-11 13:46:57 | 显示全部楼层 |阅读模式
主要是最后有好多错误
[root@database mysql-4.1.12]# make install
Making install in .
make[1]: Entering directory `/usr/local/mysql-4.1.12'
make[2]: Entering directory `/usr/local/mysql-4.1.12'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/local/mysql-4.1.12'
make[1]: Leaving directory `/usr/local/mysql-4.1.12'
Making install in include
make[1]: Entering directory `/usr/local/mysql-4.1.12/include'
make  install-am
make[2]: Entering directory `/usr/local/mysql-4.1.12/include'
make[3]: Entering directory `/usr/local/mysql-4.1.12/include'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/include/mysql" || mkdir -p -- . "/usr/local/include/mysql"
/usr/bin/install -c -m 644 'my_dbug.h' '/usr/local/include/mysql/my_dbug.h'
/usr/bin/install -c -m 644 'm_string.h' '/usr/local/include/mysql/m_string.h'
/usr/bin/install -c -m 644 'my_sys.h' '/usr/local/include/mysql/my_sys.h'
/usr/bin/install -c -m 644 'my_list.h' '/usr/local/include/mysql/my_list.h'
/usr/bin/install -c -m 644 'my_xml.h' '/usr/local/include/mysql/my_xml.h'
/usr/bin/install -c -m 644 'mysql.h' '/usr/local/include/mysql/mysql.h'
/usr/bin/install -c -m 644 'mysql_com.h' '/usr/local/include/mysql/mysql_com.h'
/usr/bin/install -c -m 644 'mysqld_error.h' '/usr/local/include/mysql/mysqld_error.h'
/usr/bin/install -c -m 644 'mysql_embed.h' '/usr/local/include/mysql/mysql_embed.h'
/usr/bin/install -c -m 644 'my_semaphore.h' '/usr/local/include/mysql/my_semaphore.h'
/usr/bin/install -c -m 644 'my_pthread.h' '/usr/local/include/mysql/my_pthread.h'
/usr/bin/install -c -m 644 'my_no_pthread.h' '/usr/local/include/mysql/my_no_pthread.h'
/usr/bin/install -c -m 644 'raid.h' '/usr/local/include/mysql/raid.h'
/usr/bin/install -c -m 644 'errmsg.h' '/usr/local/include/mysql/errmsg.h'
/usr/bin/install -c -m 644 'my_global.h' '/usr/local/include/mysql/my_global.h'
/usr/bin/install -c -m 644 'my_net.h' '/usr/local/include/mysql/my_net.h'
/usr/bin/install -c -m 644 'my_alloc.h' '/usr/local/include/mysql/my_alloc.h'
/usr/bin/install -c -m 644 'my_getopt.h' '/usr/local/include/mysql/my_getopt.h'
/usr/bin/install -c -m 644 'sslopt-longopts.h' '/usr/local/include/mysql/sslopt-longopts.h'
/usr/bin/install -c -m 644 'my_dir.h' '/usr/local/include/mysql/my_dir.h'
/usr/bin/install -c -m 644 'typelib.h' '/usr/local/include/mysql/typelib.h'
/usr/bin/install -c -m 644 'sslopt-vars.h' '/usr/local/include/mysql/sslopt-vars.h'
/usr/bin/install -c -m 644 'sslopt-case.h' '/usr/local/include/mysql/sslopt-case.h'
/usr/bin/install -c -m 644 'sql_common.h' '/usr/local/include/mysql/sql_common.h'
/usr/bin/install -c -m 644 'keycache.h' '/usr/local/include/mysql/keycache.h'
/usr/bin/install -c -m 644 'sql_state.h' '/usr/local/include/mysql/sql_state.h'
/usr/bin/install -c -m 644 'mysql_time.h' '/usr/local/include/mysql/mysql_time.h'
/usr/bin/install -c -m 644 'mysql_version.h' '/usr/local/include/mysql/mysql_version.h'
/usr/bin/install -c -m 644 'm_ctype.h' '/usr/local/include/mysql/m_ctype.h'
/usr/bin/install -c -m 644 'my_config.h' '/usr/local/include/mysql/my_config.h'
make[3]: Leaving directory `/usr/local/mysql-4.1.12/include'
make[2]: Leaving directory `/usr/local/mysql-4.1.12/include'
make[1]: Leaving directory `/usr/local/mysql-4.1.12/include'
Making install in Docs
make[1]: Entering directory `/usr/local/mysql-4.1.12/Docs'
make[2]: Entering directory `/usr/local/mysql-4.1.12/Docs'
make[2]: Nothing to be done for `install-exec-am'.
make  install-data-hook
make[3]: Entering directory `/usr/local/mysql-4.1.12/Docs'
/bin/sh ../mkinstalldirs /usr/local/info
/usr/bin/install -c -m 644 ./mysql.info /usr/local/info
make[3]: Leaving directory `/usr/local/mysql-4.1.12/Docs'
make[2]: Leaving directory `/usr/local/mysql-4.1.12/Docs'
make[1]: Leaving directory `/usr/local/mysql-4.1.12/Docs'
Making install in zlib
make[1]: Entering directory `/usr/local/mysql-4.1.12/zlib'
make[2]: Entering directory `/usr/local/mysql-4.1.12/zlib'
test -z "/usr/local/lib/mysql" || mkdir -p -- . "/usr/local/lib/mysql"
/bin/sh ../libtool --preserve-dup-deps --mode=install /usr/bin/install -c  'libz.la' '/usr/local/lib/mysql/libz.la'
/usr/bin/install -c .libs/libz.lai /usr/local/lib/mysql/libz.la
/usr/bin/install -c .libs/libz.a /usr/local/lib/mysql/libz.a
ranlib /usr/local/lib/mysql/libz.a
chmod 644 /usr/local/lib/mysql/libz.a
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/mysql

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/local/mysql-4.1.12/zlib'
make[1]: Leaving directory `/usr/local/mysql-4.1.12/zlib'
Making install in cmd-line-utils
make[1]: Entering directory `/usr/local/mysql-4.1.12/cmd-line-utils'
Making install in libedit
make[2]: Entering directory `/usr/local/mysql-4.1.12/cmd-line-utils/libedit'
make[3]: Entering directory `/usr/local/mysql-4.1.12/cmd-line-utils/libedit'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/include/mysql" || mkdir -p -- . "/usr/local/include/mysql"
/usr/bin/install -c -m 644 'readline/readline.h' '/usr/local/include/mysql/readline.h'
make[3]: Leaving directory `/usr/local/mysql-4.1.12/cmd-line-utils/libedit'
make[2]: Leaving directory `/usr/local/mysql-4.1.12/cmd-line-utils/libedit'
make[2]: Entering directory `/usr/local/mysql-4.1.12/cmd-line-utils'
make[3]: Entering directory `/usr/local/mysql-4.1.12/cmd-line-utils'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/usr/local/mysql-4.1.12/cmd-line-utils'
make[2]: Leaving directory `/usr/local/mysql-4.1.12/cmd-line-utils'
make[1]: Leaving directory `/usr/local/mysql-4.1.12/cmd-line-utils'
Making install in sql-common
make[1]: Entering directory `/usr/local/mysql-4.1.12/sql-common'
make[2]: Entering directory `/usr/local/mysql-4.1.12/sql-common'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/local/mysql-4.1.12/sql-common'
make[1]: Leaving directory `/usr/local/mysql-4.1.12/sql-common'
Making install in pstack
make[1]: Entering directory `/usr/local/mysql-4.1.12/pstack'
Making install in aout
make[2]: Entering directory `/usr/local/mysql-4.1.12/pstack/aout'
make[3]: Entering directory `/usr/local/mysql-4.1.12/pstack/aout'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/usr/local/mysql-4.1.12/pstack/aout'
make[2]: Leaving directory `/usr/local/mysql-4.1.12/pstack/aout'
make[2]: Entering directory `/usr/local/mysql-4.1.12/pstack'
make[3]: Entering directory `/usr/local/mysql-4.1.12/pstack'
test -z "/usr/local/lib/mysql" || mkdir -p -- . "/usr/local/lib/mysql"
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/usr/local/mysql-4.1.12/pstack'
make[2]: Leaving directory `/usr/local/mysql-4.1.12/pstack'
make[1]: Leaving directory `/usr/local/mysql-4.1.12/pstack'
Making install in strings
make[1]: Entering directory `/usr/local/mysql-4.1.12/strings'
make[2]: Entering directory `/usr/local/mysql-4.1.12/strings'
test -z "/usr/local/lib/mysql" || mkdir -p -- . "/usr/local/lib/mysql"
/usr/bin/install -c -m 644 'libmystrings.a' '/usr/local/lib/mysql/libmystrings.a'
ranlib '/usr/local/lib/mysql/libmystrings.a'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/local/mysql-4.1.12/strings'
make[1]: Leaving directory `/usr/local/mysql-4.1.12/strings'
Making install in dbug
make[1]: Entering directory `/usr/local/mysql-4.1.12/dbug'
make[2]: Entering directory `/usr/local/mysql-4.1.12/dbug'
test -z "/usr/local/lib/mysql" || mkdir -p -- . "/usr/local/lib/mysql"
/usr/bin/install -c -m 644 'libdbug.a' '/usr/local/lib/mysql/libdbug.a'
ranlib '/usr/local/lib/mysql/libdbug.a'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/local/mysql-4.1.12/dbug'
make[1]: Leaving directory `/usr/local/mysql-4.1.12/dbug'
Making install in mysys
make[1]: Entering directory `/usr/local/mysql-4.1.12/mysys'
if gcc -DDEFAULT_BASEDIR=\"/usr/local\" -DDATADIR="\"/usr/local/var\"" -DDEFAULT_CHARSET_HOME="\"/usr/local\"" -DSHAREDIR="\"/usr/local/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../zlib -I../include -I.    -O3 -DDBUG_OFF    -MT mf_keycaches.o -MD -MP -MF ".deps/mf_keycaches.Tpo" -c -o mf_keycaches.o mf_keycaches.c; \
then mv -f ".deps/mf_keycaches.Tpo" ".deps/mf_keycaches.Po"; else rm -f ".deps/mf_keycaches.Tpo"; exit 1; fi
mf_keycaches.c:58: syntax error before "pthread_rwlock_t"
mf_keycaches.c:58: warning: no semicolon at end of struct or union
mf_keycaches.c:63: syntax error before '}' token
mf_keycaches.c:63: warning: data definition has no type or storage class
mf_keycaches.c:108: syntax error before '*' token
mf_keycaches.c: In function `safe_hash_init':
mf_keycaches.c:114: invalid type argument of `->'
mf_keycaches.c:114: `elements' undeclared (first use in this function)
mf_keycaches.c:114: (Each undeclared identifier is reported only once
mf_keycaches.c:114: for each function it appears in.)
mf_keycaches.c:116: invalid type argument of `->'
mf_keycaches.c:119: invalid type argument of `->'
mf_keycaches.c:120: invalid type argument of `->'
mf_keycaches.c:121: invalid type argument of `->'
mf_keycaches.c: At top level:
mf_keycaches.c:133: syntax error before '*' token
mf_keycaches.c: In function `safe_hash_free':
mf_keycaches.c:139: invalid type argument of `->'
mf_keycaches.c:141: invalid type argument of `->'
mf_keycaches.c:142: invalid type argument of `->'
mf_keycaches.c:143: invalid type argument of `->'
mf_keycaches.c: At top level:
mf_keycaches.c:151: syntax error before '*' token
mf_keycaches.c: In function `safe_hash_search':
mf_keycaches.c:155: invalid type argument of `->'
mf_keycaches.c:156: invalid type argument of `->'
mf_keycaches.c:156: `key' undeclared (first use in this function)
mf_keycaches.c:156: `length' undeclared (first use in this function)
mf_keycaches.c:157: invalid type argument of `->'
mf_keycaches.c:159: invalid type argument of `->'
mf_keycaches.c: At top level:
mf_keycaches.c:187: syntax error before '*' token
mf_keycaches.c: In function `safe_hash_set':
mf_keycaches.c:195: invalid type argument of `->'
mf_keycaches.c:196: invalid type argument of `->'
mf_keycaches.c:196: `key' undeclared (first use in this function)
mf_keycaches.c:196: `length' undeclared (first use in this function)
mf_keycaches.c:198: `data' undeclared (first use in this function)
mf_keycaches.c:198: invalid type argument of `->'
mf_keycaches.c:210: invalid type argument of `->'
mf_keycaches.c:231: invalid type argument of `->'
mf_keycaches.c:233: invalid type argument of `->'
mf_keycaches.c:234: invalid type argument of `->'
mf_keycaches.c:235: invalid type argument of `->'
mf_keycaches.c:245: invalid type argument of `->'
mf_keycaches.c: At top level:
mf_keycaches.c:265: syntax error before '*' token
mf_keycaches.c: In function `safe_hash_change':
mf_keycaches.c:270: invalid type argument of `->'
mf_keycaches.c:272: invalid type argument of `->'
mf_keycaches.c:275: `old_data' undeclared (first use in this function)
mf_keycaches.c:277: `new_data' undeclared (first use in this function)
mf_keycaches.c:277: invalid type argument of `->'
mf_keycaches.c:281: invalid type argument of `->'
mf_keycaches.c:288: invalid type argument of `->'
mf_keycaches.c: At top level:
mf_keycaches.c:298: syntax error before "key_cache_hash"
mf_keycaches.c:298: warning: data definition has no type or storage class
mf_keycaches.c: In function `multi_key_cache_search':
mf_keycaches.c:331: request for member `hash' in something not a structure or union
make[1]: *** [mf_keycaches.o] Error 1
make[1]: Leaving directory `/usr/local/mysql-4.1.12/mysys'
make: *** [install-recursive] Error 1
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表