QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1029|回复: 2

在rh8下安装mysql3.22.32的出错请大家帮忙 ,谢谢

[复制链接]
发表于 2003-1-26 13:08:25 | 显示全部楼层 |阅读模式
我的执行过程和错误提示如下:
mysql-3.22.32 mysql-3.22.32.tar.gz
[root@localhost tangf]# cd mysql-3.22.32
[root@localhost mysql-3.22.32]# ./configure --prefix=/usr/local/mysql
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking for bison... (cached) bison -y
checking for uname... (cached) /bin/uname
checking operating system... (cached) Linux
checking if we should use skip-locking as default for linux-gnu... yes
checking for ln... (cached) /bin/ln
checking for ln... (cached) /bin/ln
checking for mv... (cached) /bin/mv
checking for rm... (cached) /bin/rm
checking for cp... (cached) /bin/cp
checking for sed... (cached) /bin/sed
checking for cmp... (cached) /usr/bin/cmp
checking for chmod... (cached) /bin/chmod
checking for hostname... (cached) /bin/hostname
checking for perl5... (cached) no
checking for perl... (cached) /usr/bin/perl
checking for ps... (cached) /bin/ps
checking how to check if pid exists... /bin/ps p $$PID | grep mysqld > /dev/null
checking for kill... (cached) /bin/kill
checking for kill switches... /bin/kill -0 $$PID
checking for gcc option to accept ANSI C... (cached)
checking whether to use libwrap... no
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for fcntl.h... (cached) yes
checking for float.h... (cached) yes
checking for floatingpoint.h... (cached) no
checking for ieeefp.h... (cached) no
checking for limits.h... (cached) yes
checking for memory.h... (cached) yes
checking for pwd.h... (cached) yes
checking for select.h... (cached) no
checking for stdlib.h... (cached) yes
checking for stddef.h... (cached) yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking for synch.h... (cached) no
checking for sys/mman.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/timeb.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/un.h... (cached) yes
checking for sys/vadvise.h... (cached) no
checking for sys/wait.h... (cached) yes
checking for term.h... (cached) yes
checking for unistd.h... (cached) yes
checking for utime.h... (cached) yes
checking for sys/utime.h... (cached) no
checking for termio.h... (cached) yes
checking for termios.h... (cached) yes
checking for sched.h... (cached) yes
checking for crypt.h... (cached) yes
checking for alloca.h... (cached) yes
checking for floor in -lm... (cached) yes
checking for gethostbyname_r in -lnsl_r... (cached) no
checking for gethostbyname_r in -lnsl... (cached) yes
checking for socket in -lsocket... (cached) no
checking for p2open in -lgen... (cached) no
checking for bind in -lbind... (cached) no
checking for crypt in -lcrypt... (cached) yes
checking for compress in -lz... (cached) yes
checking LinuxThreads... Found
checking named thread libs:... -lpthread
checking for strtok_r in -lpthread... (cached) yes
checking for strtok_r... (cached) yes
checking for dlopen in -ldl... (cached) yes
checking for restartable system calls... (cached) yes
checking need of special linking flags... -rdynamic
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for st_rdev in struct stat... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking size of char... (cached) 1
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of long long... (cached) 8
checking size of off_t... (cached) 4
checking whether byte ordering is bigendian... (cached) no
checking base type of last arg to accept... (cached) socklen_t
checking stack direction for C alloca... (cached) -1
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking if struct timespec has a ts_sec member... (cached) no
checking for type ulong... (cached) yes
checking for type uchar... (cached) no
checking for type uint... (cached) yes
checking for type fp_except... (cached) no
checking if c++ supports bool types... (cached) yes
checking if conversion of longlong to float works... (cached) yes
checking Linux glibc version 2.1 or newer... yes
checking for Sun style big file support... Found. Using CFLAGS $LFS_CFLAGS LDFLAGS $LFS_LDFLAGS LIBS $LFS_LIBS
checking for varargs.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for dirent.h... (cached) yes
checking for locale.h... (cached) yes
checking for ndir.h... (cached) no
checking for sys/dir.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/ndir.h... (cached) no
checking for sys/ptem.h... (cached) no
checking for sys/pte.h... (cached) no
checking for sys/select.h... (cached) yes
checking for sys/stream.h... (cached) no
checking for curses.h... (cached) yes
checking for termcap.h... (cached) yes
checking for termio.h... (cached) yes
checking for termbits.h... (cached) no
checking for asm/termbits.h... (cached) yes
checking for lstat... (cached) yes
checking for putenv... (cached) yes
checking for select... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... (cached) yes
checking for strcoll... (cached) yes
checking for tcgetattr... (cached) yes
checking whether stat file-mode macros are broken... (cached) no
checking return type of signal handlers... (cached) void
checking for type of signal functions... (cached) posix
checking whether programs are able to redeclare getpw functions... (cached) yes
checking for TIOCGWINSZ in sys/ioctl.h... (cached) yes
checking for FIONREAD in sys/ioctl.h... (cached) yes
checking for TIOCSTAT in sys/ioctl.h... (cached) no
checking if struct dirent has a d_ino member... (cached) yes
checking whether signal handlers are of type void... (cached) yes
(cached) checking for termcap functions library... -lncurses
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking return type of signal handlers... (cached) void
checking return type of qsort... (cached) void
checking whether utime accepts a null argument... (cached) yes
checking for vprintf... (cached) yes
checking for alarm... (cached) yes
checking for bmove... (cached) no
checking for chsize... (cached) no
checking for ftruncate... (cached) yes
checking for rint... (cached) yes
checking for finite... (cached) yes
checking for fpsetmask... (cached) no
checking for fpresetsticky... (cached) no
checking for cuserid... (cached) yes
checking for fcntl... (cached) yes
checking for fconvert... (cached) no
checking for getrusage... (cached) yes
checking for getpwuid... (cached) yes
checking for getcwd... (cached) yes
checking for getrlimit... (cached) yes
checking for getwd... (cached) yes
checking for index... (cached) yes
checking for locking... (cached) no
checking for longjmp... (cached) yes
checking for perror... (cached) yes
checking for pread... (cached) yes
checking for realpath... (cached) yes
checking for rename... (cached) yes
checking for socket... (cached) yes
checking for strnlen... (cached) yes
checking for madvise... (cached) yes
checking for strtoul... (cached) yes
checking for strtoull... (cached) yes
checking for snprintf... (cached) yes
checking for tempnam... (cached) yes
checking for thr_setconcurrency... (cached) no
checking for gethostbyaddr_r... (cached) yes
checking for gethostbyname_r... (cached) yes
checking for getpwnam... (cached) yes
checking for bfill... (cached) no
checking for bzero... (cached) yes
checking for bcmp... (cached) yes
checking for strstr... (cached) yes
checking for strpbrk... (cached) yes
checking for strerror... (cached) yes
checking for tell... (cached) no
checking for atod... (cached) no
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for setupterm... (cached) no
checking for strcasecmp... (cached) yes
checking for sighold... (cached) yes
checking for vidattr... (cached) no
checking for setupterm... (cached) no
checking for lrand48... (cached) yes
checking for localtime_r... (cached) yes
checking for sigset... (cached) yes
checking for sigthreadmask... (cached) no
checking for pthread_sigmask... (cached) yes
checking for pthread_setprio... (cached) no
checking for pthread_setprio_np... (cached) no
checking for pthread_setschedparam... (cached) yes
checking for pthread_attr_setprio... (cached) no
checking for pthread_attr_setschedparam... (cached) yes
checking for pthread_attr_create... (cached) no
checking for pthread_getsequence_np... (cached) no
checking for pthread_attr_setstacksize... (cached) yes
checking for pthread_condattr_create... (cached) no
checking for rwlock_init... (cached) no
checking for crypt... (cached) yes
checking for dlopen... (cached) yes
checking for dlerror... (cached) yes
checking for fchmod... (cached) yes
checking for getpass... (cached) yes
checking for getpassphrase... (cached) no
checking for fseeko... (cached) yes
checking style of gethost* routines... (cached) other
checking style of gethostname_r routines... (cached) glibc2
checking args to pthread_getspecific... (cached) POSIX
checking args to pthread_mutex_init... (cached) POSIX
checking args to readdir_r... (cached) POSIX
checking style of sigwait... (cached) POSIX
checking for pthread_attr_setscope... (cached) yes
checking can netinet files be included... yes
checking character set... latin1 (default)
creating ./config.status
creating Makefile
creating extra/Makefile
creating mysys/Makefile
creating isam/Makefile
creating strings/Makefile
creating regex/Makefile
creating heap/Makefile
creating man/Makefile
creating readline/Makefile
creating client/Makefile
creating sql/Makefile
creating sql/share/Makefile
creating merge/Makefile
creating dbug/Makefile
creating scripts/Makefile
creating include/Makefile
creating bench/Makefile
creating tests/Makefile
creating Docs/Makefile
creating support-files/Makefile
creating include/mysql_version.h
creating include/mysql_com.h
creating include/m_ctype.h
creating config.h
config.h is unchanged

MySQL has a Web site at http://www.mysql.com/ which carries details on the
latest release, upcoming features, and other information to make your
work or play with MySQL more productive. There you can also find
information about mailing lists for MySQL discussion.

Remember to check the platform specific part in the reference manual for
hints about installing on your platfrom. See the Docs directory.

Thank you for choosing MySQL!

[root@localhost mysql-3.22.32]# make
make all-recursive
make[1]: Entering directory `/tangf/mysql-3.22.32'
Making all in include
make[2]: Entering directory `/tangf/mysql-3.22.32/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tangf/mysql-3.22.32/include'
Making all in Docs
make[2]: Entering directory `/tangf/mysql-3.22.32/Docs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tangf/mysql-3.22.32/Docs'
Making all in readline
make[2]: Entering directory `/tangf/mysql-3.22.32/readline'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tangf/mysql-3.22.32/readline'
Making all in client
make[2]: Entering directory `/tangf/mysql-3.22.32/client'
/bin/sh ../libtool --mode=compile gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c libmysql.c
rm -f .libs/libmysql.lo
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c -fPIC -DPIC libmysql.c -o .libs/libmysql.lo
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c libmysql.c -o libmysql.o >/dev/null 2>&1
mv -f .libs/libmysql.lo libmysql.lo
/bin/sh ../libtool --mode=compile gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c net.c
rm -f .libs/net.lo
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c -fPIC -DPIC net.c -o .libs/net.lo
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c net.c -o net.o >/dev/null 2>&1
mv -f .libs/net.lo net.lo
/bin/sh ../libtool --mode=compile gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c password.c
rm -f .libs/password.lo
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c -fPIC -DPIC password.c -o .libs/password.lo
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c password.c -o password.o >/dev/null 2>&1
mv -f .libs/password.lo password.lo
/bin/sh ../libtool --mode=compile gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c get_password.c
rm -f .libs/get_password.lo
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c -fPIC -DPIC get_password.c -o .libs/get_password.lo
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c get_password.c -o get_password.o >/dev/null 2>&1
mv -f .libs/get_password.lo get_password.lo
/bin/sh ../libtool --mode=compile gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c mf_casecnv.c
rm -f .libs/mf_casecnv.lo
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c -fPIC -DPIC mf_casecnv.c -o .libs/mf_casecnv.lo
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c mf_casecnv.c -o mf_casecnv.o >/dev/null 2>&1
mv -f .libs/mf_casecnv.lo mf_casecnv.lo
/bin/sh ../libtool --mode=compile gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c my_error.c
rm -f .libs/my_error.lo
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c -fPIC -DPIC my_error.c -o .libs/my_error.lo
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c my_error.c -o my_error.o >/dev/null 2>&1
mv -f .libs/my_error.lo my_error.lo
/bin/sh ../libtool --mode=compile gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c typelib.c
rm -f .libs/typelib.lo
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c -fPIC -DPIC typelib.c -o .libs/typelib.lo
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c typelib.c -o typelib.o >/dev/null 2>&1
mv -f .libs/typelib.lo typelib.lo
/bin/sh ../libtool --mode=compile gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c default.c
rm -f .libs/default.lo
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c -fPIC -DPIC default.c -o .libs/default.lo
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c default.c -o default.o >/dev/null 2>&1
mv -f .libs/default.lo default.lo
/bin/sh ../libtool --mode=compile gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c ct_init.c
rm -f .libs/ct_init.lo
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c -fPIC -DPIC ct_init.c -o .libs/ct_init.lo
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c ct_init.c -o ct_init.o >/dev/null 2>&1
mv -f .libs/ct_init.lo ct_init.lo
/bin/sh ../libtool --mode=compile gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c str2int.c
rm -f .libs/str2int.lo
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c -fPIC -DPIC str2int.c -o .libs/str2int.lo
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c str2int.c -o str2int.o >/dev/null 2>&1
mv -f .libs/str2int.lo str2int.lo
/bin/sh ../libtool --mode=link gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -rdynamic -o libmysqlclient.la -rpath /usr/local/mysql/lib/mysql -version-info 6:0:0 libmysql.lo net.lo password.lo get_password.lo errmsg.lo my_init.lo my_static.lo my_malloc.lo my_realloc.lo my_create.lo my_delete.lo my_tempnam.lo my_open.lo mf_casecnv.lo my_read.lo my_write.lo errors.lo my_error.lo my_lib.lo my_getwd.lo my_div.lo mf_pack.lo my_messnc.lo mf_dirname.lo mf_fn_ext.lo mf_wcomp.lo typelib.lo safemalloc.lo my_alloc.lo getopt.lo getopt1.lo getvar.lo mf_format.lo mf_path.lo mf_unixpath.lo my_fopen.lo mf_loadpath.lo my_pthread.lo my_thr_init.lo thr_mutex.lo mulalloc.lo string.lo default.lo my_compress.lo array.lo my_once.lo list.lo strmov.lo strxmov.lo strnmov.lo strmake.lo strend.lo strfill.lo ct_init.lo is_prefix.lo int2str.lo str2int.lo strinstr.lo strcont.lo strcend.lo bchange.lo bmove.lo bmove_upp.lo longlong2str.lo strtoull.lo strtoll.lo ctype-latin1.lo dbug.lo -lnsl -lm -lz -lcrypt
rm -fr .libs/libmysqlclient.la .libs/libmysqlclient.* .libs/libmysqlclient.*
gcc -shared libmysql.lo net.lo password.lo get_password.lo errmsg.lo my_init.lo my_static.lo my_malloc.lo my_realloc.lo my_create.lo my_delete.lo my_tempnam.lo my_open.lo mf_casecnv.lo my_read.lo my_write.lo errors.lo my_error.lo my_lib.lo my_getwd.lo my_div.lo mf_pack.lo my_messnc.lo mf_dirname.lo mf_fn_ext.lo mf_wcomp.lo typelib.lo safemalloc.lo my_alloc.lo getopt.lo getopt1.lo getvar.lo mf_format.lo mf_path.lo mf_unixpath.lo my_fopen.lo mf_loadpath.lo my_pthread.lo my_thr_init.lo thr_mutex.lo mulalloc.lo string.lo default.lo my_compress.lo array.lo my_once.lo list.lo strmov.lo strxmov.lo strnmov.lo strmake.lo strend.lo strfill.lo ct_init.lo is_prefix.lo int2str.lo str2int.lo strinstr.lo strcont.lo strcend.lo bchange.lo bmove.lo bmove_upp.lo longlong2str.lo strtoull.lo strtoll.lo ctype-latin1.lo dbug.lo -lnsl -lm -lz -lcrypt -lc -Wl,-soname -Wl,libmysqlclient.so.6 -o .libs/libmysqlclient.so.6.0.0
(cd .libs && rm -f libmysqlclient.so.6 && ln -s libmysqlclient.so.6.0.0 libmysqlclient.so.6)
(cd .libs && rm -f libmysqlclient.so && ln -s libmysqlclient.so.6.0.0 libmysqlclient.so)
ar cru .libs/libmysqlclient.a libmysql.o net.o password.o get_password.o errmsg.o my_init.o my_static.o my_malloc.o my_realloc.o my_create.o my_delete.o my_tempnam.o my_open.o mf_casecnv.o my_read.o my_write.o errors.o my_error.o my_lib.o my_getwd.o my_div.o mf_pack.o my_messnc.o mf_dirname.o mf_fn_ext.o mf_wcomp.o typelib.o safemalloc.o my_alloc.o getopt.o getopt1.o getvar.o mf_format.o mf_path.o mf_unixpath.o my_fopen.o mf_loadpath.o my_pthread.o my_thr_init.o thr_mutex.o mulalloc.o string.o default.o my_compress.o array.o my_once.o list.o strmov.o strxmov.o strnmov.o strmake.o strend.o strfill.o ct_init.o is_prefix.o int2str.o str2int.o strinstr.o strcont.o strcend.o bchange.o bmove.o bmove_upp.o longlong2str.o strtoull.o strtoll.o ctype-latin1.o dbug.o
ranlib .libs/libmysqlclient.a
creating libmysqlclient.la
(cd .libs && rm -f libmysqlclient.la && ln -s ../libmysqlclient.la libmysqlclient.la)
c++ -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DDBUG_OFF -fno-implicit-templates -D_FILE_OFFSET_BITS=64 -c mysql.cc
In file included from ../include/m_string.h:15,
from mysql.cc:16:
/usr/include/string.h:208: declaration of `char* strcasestr(const char*, const
char*) throw ()' throws different exceptions
../include/my_sys.h:392: than previous declaration `char* strcasestr(const
char*, const char*)'
make[2]: *** [mysql.o] Error 1
make[2]: Leaving directory `/tangf/mysql-3.22.32/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tangf/mysql-3.22.32'
make: *** [all-recursive-am] Error 2
发表于 2003-1-26 19:47:33 | 显示全部楼层
你的RH里,以前有mysql吗???先卸了再看看。..
回复

使用道具 举报

 楼主| 发表于 2003-1-26 21:56:46 | 显示全部楼层
没有的,我是新装的系统

我在rh7里边还没的问题的
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-17 11:39 , Processed in 0.109938 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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