make error compiling sysbench for MySQL
- From: jwils01@xxxxxxxxx
- Date: Wed, 13 May 2009 17:36:54 -0700 (PDT)
I am trying to compile sysbench-0.4.12 on Centos 5.3 and upon issuing
make receive the following. I ran configure first without errors (see
output following make), is there anyone who can point to obvious
errors that would cause this output?
John
Linux Newbie
Making all in doc
make[1]: Entering directory `/root/sysbench-0.4.12/doc'
Making all in xsl
make[2]: Entering directory `/root/sysbench-0.4.12/doc/xsl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/sysbench-0.4.12/doc/xsl'
make[2]: Entering directory `/root/sysbench-0.4.12/doc'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/sysbench-0.4.12/doc'
make[1]: Leaving directory `/root/sysbench-0.4.12/doc'
Making all in sysbench
make[1]: Entering directory `/root/sysbench-0.4.12/sysbench'
Making all in drivers
make[2]: Entering directory `/root/sysbench-0.4.12/sysbench/drivers'
Making all in mysql
make[3]: Entering directory `/root/sysbench-0.4.12/sysbench/drivers/
mysql'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/sysbench-0.4.12/sysbench/drivers/
mysql'
make[3]: Entering directory `/root/sysbench-0.4.12/sysbench/drivers'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/sysbench-0.4.12/sysbench/drivers'
make[2]: Leaving directory `/root/sysbench-0.4.12/sysbench/drivers'
Making all in tests
make[2]: Entering directory `/root/sysbench-0.4.12/sysbench/tests'
Making all in cpu
make[3]: Entering directory `/root/sysbench-0.4.12/sysbench/tests/cpu'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/sysbench-0.4.12/sysbench/tests/cpu'
Making all in fileio
make[3]: Entering directory `/root/sysbench-0.4.12/sysbench/tests/
fileio'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/sysbench-0.4.12/sysbench/tests/
fileio'
Making all in memory
make[3]: Entering directory `/root/sysbench-0.4.12/sysbench/tests/
memory'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/sysbench-0.4.12/sysbench/tests/
memory'
Making all in threads
make[3]: Entering directory `/root/sysbench-0.4.12/sysbench/tests/
threads'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/sysbench-0.4.12/sysbench/tests/
threads'
Making all in mutex
make[3]: Entering directory `/root/sysbench-0.4.12/sysbench/tests/
mutex'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/sysbench-0.4.12/sysbench/tests/
mutex'
Making all in oltp
make[3]: Entering directory `/root/sysbench-0.4.12/sysbench/tests/
oltp'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/sysbench-0.4.12/sysbench/tests/oltp'
make[3]: Entering directory `/root/sysbench-0.4.12/sysbench/tests'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/sysbench-0.4.12/sysbench/tests'
make[2]: Leaving directory `/root/sysbench-0.4.12/sysbench/tests'
Making all in .
make[2]: Entering directory `/root/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/lib/mysql -
lmysqlclient_r -lz -lcrypt -lnsl -lm -lrt -lm
.../libtool: line 838: X--tag=CC: command not found
.../libtool: line 871: libtool: ignoring unknown tag : command not
found
.../libtool: line 838: X--mode=link: command not found
.../libtool: line 1004: *** Warning: inferring the mode of operation is
deprecated.: command not found
.../libtool: line 1005: *** Future versions of Libtool will require --
mode=MODE be specified.: command not found
.../libtool: line 2231: X-g: command not found
.../libtool: line 2231: X-O2: command not found
.../libtool: line 2231: X-rdynamic: command not found
.../libtool: line 1951: X-L/usr/lib/mysql: No such file or directory
.../libtool: line 2400: 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.
.../libtool: line 2412: Xsysbench: command not found
.../libtool: line 2547: X-lmysqlclient_r: command not found
.../libtool: line 2547: X-lz: command not found
.../libtool: line 2547: X-lcrypt: command not found
.../libtool: line 2547: X-lnsl: command not found
.../libtool: line 2547: X-lm: command not found
.../libtool: line 2547: X-lrt: command not found
.../libtool: line 2547: X-lm: command not found
.../libtool: line 2629: X-L/root/sysbench-0.4.12/sysbench: No such file
or directory
.../libtool: line 2547: X-lmysqlclient_r: command not found
.../libtool: line 2547: X-lz: command not found
.../libtool: line 2547: X-lcrypt: command not found
.../libtool: line 2547: X-lnsl: command not found
.../libtool: line 2547: X-lrt: command not found
.../libtool: line 2547: X-lm: command not found
.../libtool: line 2629: X-L/root/sysbench-0.4.12/sysbench: No such file
or directory
.../libtool: line 2547: X-lmysqlclient_r: command not found
.../libtool: line 2547: X-lz: command not found
.../libtool: line 2547: X-lcrypt: command not found
.../libtool: line 2547: X-lnsl: command not found
.../libtool: line 2547: X-lrt: command not found
.../libtool: line 2547: X-lm: command not found
.../libtool: line 5162: 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/sysbench-0.4.12/sysbench -
lmysqlclient_r -lz -lcrypt -lnsl -lrt -lm: No such file or directory
.../libtool: line 5163: 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/sysbench-0.4.12/sysbench -
lmysqlclient_r -lz -lcrypt -lnsl -lrt -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.
.../libtool: line 5172: : command not found
make[2]: Leaving directory `/root/sysbench-0.4.12/sysbench'
make[1]: Leaving directory `/root/sysbench-0.4.12/sysbench'
make[1]: Entering directory `/root/sysbench-0.4.12'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/root/sysbench-0.4.12'
----------------------./configure
sysbench-0.4.12]# ./configure
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 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... 98304
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 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... yes
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) 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... no
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 -fno-omit-frame-
pointer -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --
param=ssp-buffer-size=4 -m32
checking MySQL linker flags... -rdynamic -L/usr/lib/mysql -
lmysqlclient_r -lz -lcrypt -lnsl -lm
checking libaio.h usability... no
checking libaio.h presence... no
checking for libaio.h... 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... 64
checking for size_t... (cached) yes
checking size of size_t... 4
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
.
- Follow-Ups:
- Re: make error compiling sysbench for MySQL
- From: serfdog
- Re: make error compiling sysbench for MySQL
- Prev by Date: driver not compatible problem
- Next by Date: Re: driver not compatible problem
- Previous by thread: driver not compatible problem
- Next by thread: Re: make error compiling sysbench for MySQL
- Index(es):
Relevant Pages
|