Chinaunix

标题: 安装sysbench报错 [打印本页]

作者: apollo0687    时间: 2014-05-28 11:45
标题: 安装sysbench报错
安装sysbench报错

[root@test sysbench-0.4.12]# ls
acinclude.m4  autogen.sh      ChangeLog  config.log     configure     COPYING  INSTALL     libtool   Makefile.am  missing        README          sysbench
aclocal.m4    autom4te.cache  config     config.status  configure.ac  doc      install-sh  Makefile  Makefile.in  mkinstalldirs  README-WIN.txt  TODO
[root@test sysbench-0.4.12]# ./autogen.sh
[root@test sysbench-0.4.12]# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to compile with MySQL support... (cached) yes
checking whether to compile with Oracle support... (cached) no
checking whether to compile with PostgreSQL support... (cached) no
checking for style of include used by make... 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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking whether SHM_HUGETLB is declared... yes
checking whether O_SYNC is declared... yes
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 ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for xsltproc... xsltproc
checking whether xsltproc works... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking for sqrt in -lm... yes
checking for mysql_config... /usr/bin/mysql_config
checking MySQL C flags... -I/usr/include/mysql  -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -fPIC   -DUNIV_LINUX
checking MySQL linker flags... -rdynamic -L/usr/lib64/mysql -lmysqlclient_r -lz -lcrypt -lnsl -lm -lssl -lcrypto
checking libaio.h usability... yes
checking libaio.h presence... yes
checking for libaio.h... yes
checking for io_queue_init in -laio... yes
checking if io_getevents() has an old interface... no
checking for malloc in -lumem... no
checking for malloc in -lmtmalloc... no
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/aio.h usability... no
checking sys/aio.h presence... no
checking for sys/aio.h... no
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking thread.h usability... no
checking thread.h presence... no
checking for thread.h... no
checking for unistd.h... (cached) yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking size of size_t... 8
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking whether clock_gettime is declared... yes
checking for library containing clock_gettime... -lrt
checking for alarm... yes
checking for fdatasync... yes
checking for gettimeofday... yes
checking for lrand48... yes
checking for memalign... yes
checking for memset... yes
checking for posix_memalign... yes
checking for pthread_yield... yes
checking for setvbuf... yes
checking for sqrt... yes
checking for strdup... yes
checking for thr_setconcurrency... no
checking for valloc... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/xsl/Makefile
config.status: creating doc/xsl/catalog.xml
config.status: creating doc/Makefile
config.status: creating sysbench/Makefile
config.status: creating sysbench/drivers/Makefile
config.status: creating sysbench/drivers/mysql/Makefile
config.status: creating sysbench/drivers/oracle/Makefile
config.status: creating sysbench/drivers/pgsql/Makefile
config.status: creating sysbench/tests/Makefile
config.status: creating sysbench/tests/cpu/Makefile
config.status: creating sysbench/tests/fileio/Makefile
config.status: creating sysbench/tests/memory/Makefile
config.status: creating sysbench/tests/threads/Makefile
config.status: creating sysbench/tests/mutex/Makefile
config.status: creating sysbench/tests/oltp/Makefile
config.status: creating config/config.h
config.status: config/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
作者: apollo0687    时间: 2014-05-28 11:45
[root@test sysbench-0.4.12]# make
Making all in doc
make[1]: Entering directory `/root/soft/sysbench-0.4.12/doc'
Making all in xsl
make[2]: Entering directory `/root/soft/sysbench-0.4.12/doc/xsl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/soft/sysbench-0.4.12/doc/xsl'
make[2]: Entering directory `/root/soft/sysbench-0.4.12/doc'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/soft/sysbench-0.4.12/doc'
make[1]: Leaving directory `/root/soft/sysbench-0.4.12/doc'
Making all in sysbench
make[1]: Entering directory `/root/soft/sysbench-0.4.12/sysbench'
Making all in drivers
make[2]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/drivers'
Making all in mysql
make[3]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/drivers/mysql'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/drivers/mysql'
make[3]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/drivers'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/drivers'
make[2]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/drivers'
Making all in tests
make[2]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests'
Making all in cpu
make[3]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests/cpu'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests/cpu'
Making all in fileio
make[3]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests/fileio'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests/fileio'
Making all in memory
make[3]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests/memory'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests/memory'
Making all in threads
make[3]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests/threads'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests/threads'
Making all in mutex
make[3]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests/mutex'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests/mutex'
Making all in oltp
make[3]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests/oltp'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests/oltp'
make[3]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests'
make[2]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests'
Making all in .
make[2]: Entering directory `/root/soft/sysbench-0.4.12/sysbench'
/bin/sh ../libtool --tag=CC   --mode=link gcc -pthread -g -O2      -o sysbench sysbench.o sb_timer.o sb_options.o sb_logger.o db_driver.o tests/fileio/libsbfileio.a tests/threads/libsbthreads.a tests/memory/libsbmemory.a tests/cpu/libsbcpu.a tests/oltp/libsboltp.a tests/mutex/libsbmutex.a drivers/mysql/libsbmysql.a -rdynamic -L/usr/lib64/mysql -lmysqlclient_r -lz -lcrypt -lnsl -lm -lssl -lcrypto   -lrt -laio -lm
../libtool: line 841: X--tag=CC: command not found
../libtool: line 874: libtool: ignoring unknown tag : command not found
../libtool: line 841: X--mode=link: command not found
../libtool: line 1007: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1008: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 2234: X-g: command not found
../libtool: line 2234: X-O2: command not found
../libtool: line 2234: X-rdynamic: command not found
../libtool: line 1954: X-L/usr/lib64/mysql: No such file or directory
../libtool: line 2403: Xsysbench: command not found

Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.


Please consult the Red Hat, Inc. support
         at https://www.redhat.com/apps/support/
for help.

../libtool: line 2415: Xsysbench: command not found
../libtool: line 2550: X-lmysqlclient_r: command not found
../libtool: line 2550: X-lz: command not found
../libtool: line 2550: X-lcrypt: command not found
../libtool: line 2550: X-lnsl: command not found
../libtool: line 2550: X-lm: command not found
../libtool: line 2550: X-lssl: command not found
../libtool: line 2550: X-lcrypto: command not found
../libtool: line 2550: X-lrt: command not found
../libtool: line 2550: X-laio: command not found
../libtool: line 2550: X-lm: command not found
../libtool: line 2632: X-L/root/soft/sysbench-0.4.12/sysbench: No such file or directory
../libtool: line 2550: X-lmysqlclient_r: command not found
../libtool: line 2550: X-lz: command not found
../libtool: line 2550: X-lcrypt: command not found
../libtool: line 2550: X-lnsl: command not found
../libtool: line 2550: X-lssl: command not found
../libtool: line 2550: X-lcrypto: command not found
../libtool: line 2550: X-lrt: command not found
../libtool: line 2550: X-laio: command not found
../libtool: line 2550: X-lm: command not found
../libtool: line 2632: X-L/root/soft/sysbench-0.4.12/sysbench: No such file or directory
../libtool: line 2550: X-lmysqlclient_r: command not found
../libtool: line 2550: X-lz: command not found
../libtool: line 2550: X-lcrypt: command not found
../libtool: line 2550: X-lnsl: command not found
../libtool: line 2550: X-lssl: command not found
../libtool: line 2550: X-lcrypto: command not found
../libtool: line 2550: X-lrt: command not found
../libtool: line 2550: X-laio: command not found
../libtool: line 2550: X-lm: command not found
../libtool: line 5165: Xgcc -pthread "" "" -o @OUTPUT@ sysbench.o sb_timer.o sb_options.o sb_logger.o db_driver.o ""  tests/fileio/libsbfileio.a tests/threads/libsbthreads.a tests/memory/libsbmemory.a tests/cpu/libsbcpu.a tests/oltp/libsboltp.a tests/mutex/libsbmutex.a drivers/mysql/libsbmysql.a -L/root/soft/sysbench-0.4.12/sysbench -lmysqlclient_r -lz -lcrypt -lnsl -lssl -lcrypto -lrt -laio -lm: No such file or directory
../libtool: line 5166: Xgcc -pthread "" "" -o @OUTPUT@ sysbench.o sb_timer.o sb_options.o sb_logger.o db_driver.o ""  tests/fileio/libsbfileio.a tests/threads/libsbthreads.a tests/memory/libsbmemory.a tests/cpu/libsbcpu.a tests/oltp/libsboltp.a tests/mutex/libsbmutex.a drivers/mysql/libsbmysql.a -L/root/soft/sysbench-0.4.12/sysbench -lmysqlclient_r -lz -lcrypt -lnsl -lssl -lcrypto -lrt -laio -lm: No such file or directory

Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.


Please consult the Red Hat, Inc. support
         at https://www.redhat.com/apps/support/
for help.

../libtool: line 5175: : command not found
make[2]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench'
make[1]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench'
make[1]: Entering directory `/root/soft/sysbench-0.4.12'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/root/soft/sysbench-0.4.12'
作者: apollo0687    时间: 2014-05-28 11:47
[root@test sysbench-0.4.12]# make install
Making install in doc
make[1]: Entering directory `/root/soft/sysbench-0.4.12/doc'
Making install in xsl
make[2]: Entering directory `/root/soft/sysbench-0.4.12/doc/xsl'
make[3]: Entering directory `/root/soft/sysbench-0.4.12/doc/xsl'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/soft/sysbench-0.4.12/doc/xsl'
make[2]: Leaving directory `/root/soft/sysbench-0.4.12/doc/xsl'
make[2]: Entering directory `/root/soft/sysbench-0.4.12/doc'
make[3]: Entering directory `/root/soft/sysbench-0.4.12/doc'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/doc/sysbench" || /bin/mkdir -p "/usr/local/share/doc/sysbench"
/usr/bin/install -c -m 644 manual.html '/usr/local/share/doc/sysbench'
make[3]: Leaving directory `/root/soft/sysbench-0.4.12/doc'
make[2]: Leaving directory `/root/soft/sysbench-0.4.12/doc'
make[1]: Leaving directory `/root/soft/sysbench-0.4.12/doc'
Making install in sysbench
make[1]: Entering directory `/root/soft/sysbench-0.4.12/sysbench'
Making install in drivers
make[2]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/drivers'
Making install in mysql
make[3]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/drivers/mysql'
make[4]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/drivers/mysql'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/drivers/mysql'
make[3]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/drivers/mysql'
make[3]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/drivers'
make[4]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/drivers'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/drivers'
make[3]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/drivers'
make[2]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/drivers'
Making install in tests
make[2]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests'
Making install in cpu
make[3]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests/cpu'
make[4]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests/cpu'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests/cpu'
make[3]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests/cpu'
Making install in fileio
make[3]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests/fileio'
make[4]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests/fileio'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests/fileio'
make[3]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests/fileio'
Making install in memory
make[3]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests/memory'
make[4]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests/memory'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests/memory'
make[3]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests/memory'
Making install in threads
make[3]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests/threads'
make[4]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests/threads'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests/threads'
make[3]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests/threads'
Making install in mutex
make[3]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests/mutex'
make[4]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests/mutex'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests/mutex'
make[3]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests/mutex'
Making install in oltp
make[3]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests/oltp'
make[4]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests/oltp'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests/oltp'
make[3]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests/oltp'
make[3]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests'
make[4]: Entering directory `/root/soft/sysbench-0.4.12/sysbench/tests'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests'
make[3]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests'
make[2]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench/tests'
Making install in .
make[2]: Entering directory `/root/soft/sysbench-0.4.12/sysbench'
/bin/sh ../libtool --tag=CC   --mode=link gcc -pthread -g -O2      -o sysbench sysbench.o sb_timer.o sb_options.o sb_logger.o db_driver.o tests/fileio/libsbfileio.a tests/threads/libsbthreads.a tests/memory/libsbmemory.a tests/cpu/libsbcpu.a tests/oltp/libsboltp.a tests/mutex/libsbmutex.a drivers/mysql/libsbmysql.a -rdynamic -L/usr/lib64/mysql -lmysqlclient_r -lz -lcrypt -lnsl -lm -lssl -lcrypto   -lrt -laio -lm
../libtool: line 841: X--tag=CC: command not found
../libtool: line 874: libtool: ignoring unknown tag : command not found
../libtool: line 841: X--mode=link: command not found
../libtool: line 1007: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1008: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 2234: X-g: command not found
../libtool: line 2234: X-O2: command not found
../libtool: line 2234: X-rdynamic: command not found
../libtool: line 1954: X-L/usr/lib64/mysql: No such file or directory
../libtool: line 2403: Xsysbench: command not found

Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.


Please consult the Red Hat, Inc. support
         at https://www.redhat.com/apps/support/
for help.

../libtool: line 2415: Xsysbench: command not found
../libtool: line 2550: X-lmysqlclient_r: command not found
../libtool: line 2550: X-lz: command not found
../libtool: line 2550: X-lcrypt: command not found
../libtool: line 2550: X-lnsl: command not found
../libtool: line 2550: X-lm: command not found
../libtool: line 2550: X-lssl: command not found
../libtool: line 2550: X-lcrypto: command not found
../libtool: line 2550: X-lrt: command not found
../libtool: line 2550: X-laio: command not found
../libtool: line 2550: X-lm: command not found
../libtool: line 2632: X-L/root/soft/sysbench-0.4.12/sysbench: No such file or directory
../libtool: line 2550: X-lmysqlclient_r: command not found
../libtool: line 2550: X-lz: command not found
../libtool: line 2550: X-lcrypt: command not found
../libtool: line 2550: X-lnsl: command not found
../libtool: line 2550: X-lssl: command not found
../libtool: line 2550: X-lcrypto: command not found
../libtool: line 2550: X-lrt: command not found
../libtool: line 2550: X-laio: command not found
../libtool: line 2550: X-lm: command not found
../libtool: line 2632: X-L/root/soft/sysbench-0.4.12/sysbench: No such file or directory
../libtool: line 2550: X-lmysqlclient_r: command not found
../libtool: line 2550: X-lz: command not found
../libtool: line 2550: X-lcrypt: command not found
../libtool: line 2550: X-lnsl: command not found
../libtool: line 2550: X-lssl: command not found
../libtool: line 2550: X-lcrypto: command not found
../libtool: line 2550: X-lrt: command not found
../libtool: line 2550: X-laio: command not found
../libtool: line 2550: X-lm: command not found
../libtool: line 5165: Xgcc -pthread "" "" -o @OUTPUT@ sysbench.o sb_timer.o sb_options.o sb_logger.o db_driver.o ""  tests/fileio/libsbfileio.a tests/threads/libsbthreads.a tests/memory/libsbmemory.a tests/cpu/libsbcpu.a tests/oltp/libsboltp.a tests/mutex/libsbmutex.a drivers/mysql/libsbmysql.a -L/root/soft/sysbench-0.4.12/sysbench -lmysqlclient_r -lz -lcrypt -lnsl -lssl -lcrypto -lrt -laio -lm: No such file or directory
../libtool: line 5166: Xgcc -pthread "" "" -o @OUTPUT@ sysbench.o sb_timer.o sb_options.o sb_logger.o db_driver.o ""  tests/fileio/libsbfileio.a tests/threads/libsbthreads.a tests/memory/libsbmemory.a tests/cpu/libsbcpu.a tests/oltp/libsboltp.a tests/mutex/libsbmutex.a drivers/mysql/libsbmysql.a -L/root/soft/sysbench-0.4.12/sysbench -lmysqlclient_r -lz -lcrypt -lnsl -lssl -lcrypto -lrt -laio -lm: No such file or directory

Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.


Please consult the Red Hat, Inc. support
         at https://www.redhat.com/apps/support/
for help.

../libtool: line 5175: : command not found
make[3]: Entering directory `/root/soft/sysbench-0.4.12/sysbench'
/bin/sh ../libtool --tag=CC   --mode=link gcc -pthread -g -O2      -o sysbench sysbench.o sb_timer.o sb_options.o sb_logger.o db_driver.o tests/fileio/libsbfileio.a tests/threads/libsbthreads.a tests/memory/libsbmemory.a tests/cpu/libsbcpu.a tests/oltp/libsboltp.a tests/mutex/libsbmutex.a drivers/mysql/libsbmysql.a -rdynamic -L/usr/lib64/mysql -lmysqlclient_r -lz -lcrypt -lnsl -lm -lssl -lcrypto   -lrt -laio -lm
../libtool: line 841: X--tag=CC: command not found
../libtool: line 874: libtool: ignoring unknown tag : command not found
../libtool: line 841: X--mode=link: command not found
../libtool: line 1007: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1008: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 2234: X-g: command not found
../libtool: line 2234: X-O2: command not found
../libtool: line 2234: X-rdynamic: command not found
../libtool: line 1954: X-L/usr/lib64/mysql: No such file or directory
../libtool: line 2403: Xsysbench: command not found

Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.


Please consult the Red Hat, Inc. support
         at https://www.redhat.com/apps/support/
for help.

../libtool: line 2415: Xsysbench: command not found
../libtool: line 2550: X-lmysqlclient_r: command not found
../libtool: line 2550: X-lz: command not found
../libtool: line 2550: X-lcrypt: command not found
../libtool: line 2550: X-lnsl: command not found
../libtool: line 2550: X-lm: command not found
../libtool: line 2550: X-lssl: command not found
../libtool: line 2550: X-lcrypto: command not found
../libtool: line 2550: X-lrt: command not found
../libtool: line 2550: X-laio: command not found
../libtool: line 2550: X-lm: command not found
../libtool: line 2632: X-L/root/soft/sysbench-0.4.12/sysbench: No such file or directory
../libtool: line 2550: X-lmysqlclient_r: command not found
../libtool: line 2550: X-lz: command not found
../libtool: line 2550: X-lcrypt: command not found
../libtool: line 2550: X-lnsl: command not found
../libtool: line 2550: X-lssl: command not found
../libtool: line 2550: X-lcrypto: command not found
../libtool: line 2550: X-lrt: command not found
../libtool: line 2550: X-laio: command not found
../libtool: line 2550: X-lm: command not found
../libtool: line 2632: X-L/root/soft/sysbench-0.4.12/sysbench: No such file or directory
../libtool: line 2550: X-lmysqlclient_r: command not found
../libtool: line 2550: X-lz: command not found
../libtool: line 2550: X-lcrypt: command not found
../libtool: line 2550: X-lnsl: command not found
../libtool: line 2550: X-lssl: command not found
../libtool: line 2550: X-lcrypto: command not found
../libtool: line 2550: X-lrt: command not found
../libtool: line 2550: X-laio: command not found
../libtool: line 2550: X-lm: command not found
../libtool: line 5165: Xgcc -pthread "" "" -o @OUTPUT@ sysbench.o sb_timer.o sb_options.o sb_logger.o db_driver.o ""  tests/fileio/libsbfileio.a tests/threads/libsbthreads.a tests/memory/libsbmemory.a tests/cpu/libsbcpu.a tests/oltp/libsboltp.a tests/mutex/libsbmutex.a drivers/mysql/libsbmysql.a -L/root/soft/sysbench-0.4.12/sysbench -lmysqlclient_r -lz -lcrypt -lnsl -lssl -lcrypto -lrt -laio -lm: No such file or directory
../libtool: line 5166: Xgcc -pthread "" "" -o @OUTPUT@ sysbench.o sb_timer.o sb_options.o sb_logger.o db_driver.o ""  tests/fileio/libsbfileio.a tests/threads/libsbthreads.a tests/memory/libsbmemory.a tests/cpu/libsbcpu.a tests/oltp/libsboltp.a tests/mutex/libsbmutex.a drivers/mysql/libsbmysql.a -L/root/soft/sysbench-0.4.12/sysbench -lmysqlclient_r -lz -lcrypt -lnsl -lssl -lcrypto -lrt -laio -lm: No such file or directory

Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.


Please consult the Red Hat, Inc. support
         at https://www.redhat.com/apps/support/
for help.

../libtool: line 5175: : command not found
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench'
make[2]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench'
make[1]: Leaving directory `/root/soft/sysbench-0.4.12/sysbench'
make[1]: Entering directory `/root/soft/sysbench-0.4.12'
make[2]: Entering directory `/root/soft/sysbench-0.4.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 `/root/soft/sysbench-0.4.12'
make[1]: Leaving directory `/root/soft/sysbench-0.4.12'
作者: q1208c    时间: 2014-05-28 13:08
sysbench 的 make file 不知道么是哪个 傻x的人写的, 用了个 大写的 X做判断, 结果, 被当做了 系统 X 命令. 所以, 0.4.10以后的版本自己编译都有问题.

找个现成的包吧. 有 rpm的.
作者: apollo0687    时间: 2014-05-28 16:24
谢谢,已经解决了,





欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2