歡迎您光臨本站 註冊首頁

關於mysql的求助

←手機掃碼閱讀     火星人 @ 2014-03-03 , reply:0

關於mysql的求助

大家好,小弟是新手,想在centos6下安裝mysql的壓力測試工具super smack,遇到以下問題,求解決辦法:
# ./configure --prefix=/usr/local/super-smack-1.3 --with-mysql --with-smacks-dir=/usr/local/super-smack-1.3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... 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... missing
checking for sh... /bin/sh
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 ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for flex... flex
checking for flex... (cached) flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for compress in -lz... yes
checking for crypt in -lcrypt... yes
checking for crypt... yes
checking for libmysqlclient...
checking for mysql_real_connect in -lmysqlclient... yes
checking for mysql.h...
checking for egrep... grep -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 sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking return type of signal handlers... void
checking for gettimeofday... yes
checking for strerror... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands


Building with the following options:

MySQL Support..................... yes
PostgreSQL Support................ no
Oracle Support.................... no

If this is not what you intended, please re-run configure.

Thanks for using super-smack!

# make
make  all-recursive
make: Entering directory `/root/super-smack-1.3'
Making all in src
make: Entering directory `/root/super-smack-1.3/src'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql      -g -O2 -c super-smack.cc
In file included from client.h:29,
                 from super-smack.cc:38:
dictionary.h: In member function 『void Unique_dictionary::set_template(const char*)』:
dictionary.h:93: error: 『strlen』 was not declared in this scope
super-smack.cc: In function 『void set_parse_file(char*)』:
super-smack.cc:65: warning: deprecated conversion from string constant to 『char*』
super-smack.cc: In function 『void set_db_type(const char*)』:
super-smack.cc:72: warning: deprecated conversion from string constant to 『char*』
super-smack.cc: In function 『void print_engines()』:
super-smack.cc:126: error: 『strlen』 was not declared in this scope
make: *** Error 1
make: Leaving directory `/root/super-smack-1.3/src'
make: *** Error 1
make: Leaving directory `/root/super-smack-1.3'
make: *** Error 2


http://blog.csdn.net/historyasamirror/article/details/6539706這個帖子我也看了,但是還不能解決問題。在線等......
《解決方案》

:dizzy:在32位的系統上測試成功,但是在64位系統上就遇到了上面的問題,鬱悶中............
《解決方案》

http://bbs.chinaunix.net/forum-17-1.html
《解決方案》

LZ這個問題解決了嗎?
可以貼一下解決的方法嗎,謝謝!
《解決方案》

http://blog.csdn.net/cindy9902/article/details/7282386
這裡能解決你的問題  但是隨之而來又有1個新問題
《解決方案》

:wink:沒有解決,不過我們已經不使用這正測試方式了。

[火星人 ] 關於mysql的求助已經有721次圍觀

http://coctec.com/docs/service/show-post-434.html