"sudo make"返回错误的内存缓存设置 [英] "sudo make" returns error memcache setup
本文介绍了"sudo make"返回错误的内存缓存设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
根据此帖子.
在安装libmemcache-devel之后,我能够./configure
,但是现在当我移至下一个设置并运行sudo make
时,我得到以下信息:
I was able to ./configure
after installing libmemcache-devel, but now when I move to the next setup and run sudo make
I get the following:
Making all in src
make[1]: Entering directory `/root/tmp/memcached_functions_mysql-1.1/src'
make all-am
make[2]: Entering directory `/root/tmp/memcached_functions_mysql-1.1/src'
/bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -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 -g -O2 -MT args.lo -MD -MP -MF .deps/args.Tpo -c -o args.lo args.c
gcc -DHAVE_CONFIG_H -I. -I../include -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 -g -O2 -MT args.lo -MD -MP -MF .deps/args.Tpo -c args.c -fPIC -DPIC -o .libs/args.o
args.c:7:19: error: mysql.h: No such file or directory
In file included from args.c:12:
common.h:19: error: expected ')' before '*' token
args.c:16: error: expected ')' before '*' token
args.c:82: error: expected ')' before '*' token
make[2]: *** [args.lo] Error 1
make[2]: Leaving directory `/root/tmp/memcached_functions_mysql-1.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/tmp/memcached_functions_mysql-1.1/src'
make: *** [all-recursive] Error 1
任何想法出了什么问题?
Any ideas what went wrong?
谢谢
推荐答案
在您的情况下,您缺少mysql开发包mysql-devel
.
You are missing mysql development packages, in your case mysql-devel
.
这篇关于"sudo make"返回错误的内存缓存设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文