-
Notifications
You must be signed in to change notification settings - Fork 27
Description
i installed the hiredis and mysql_json_udf,but when i run the install.sh,and i got the error result:
gcc -Werror -O2 /usr/bin/mysql_config --include
-I/usr/local/include -I. -fPIC -shared -rdynamic lib_mysqludf_redis.c utils.c
-lhiredis -L/usr/bin/mysql_config --plugindir
-o /usr/bin/mysql_config --plugindir
/lib_mysqludf_redis.so
gcc: error: [OPTIONS]: 没有那个文件或目录
gcc: error: Options:: 没有那个文件或目录
gcc: error: unrecognized command line option ‘--cflags’
gcc: error: [-I/usr/include/mysql: 没有那个文件或目录
gcc: error: unrecognized command line option ‘--libs’
gcc: error: [-L/usr/lib/mysql: 没有那个文件或目录
gcc: error: unrecognized command line option ‘--libs_r’
gcc: error: [-L/usr/lib/mysql: 没有那个文件或目录
gcc: error: unrecognized command line option ‘--socket’
gcc: error: [/var/run/mysqld/mysqld.sock]: 没有那个文件或目录
gcc: error: unrecognized command line option ‘--port’
gcc: error: [3306]: 没有那个文件或目录
gcc: error: [5.0.32]: 没有那个文件或目录
gcc: error: unrecognized command line option ‘--libmysqld-libs’
gcc: error: [-L/usr/lib/mysql: 没有那个文件或目录
gcc: error: [OPTIONS]: 没有那个文件或目录
gcc: error: Options:: 没有那个文件或目录
gcc: error: unrecognized command line option ‘--cflags’
gcc: error: [-I/usr/include/mysql: 没有那个文件或目录
gcc: error: unrecognized command line option ‘--libs’
gcc: error: [-L/usr/lib/mysql: 没有那个文件或目录
gcc: error: unrecognized command line option ‘--libs_r’
gcc: error: [-L/usr/lib/mysql: 没有那个文件或目录
gcc: error: unrecognized command line option ‘--socket’
gcc: error: [/var/run/mysqld/mysqld.sock]: 没有那个文件或目录
gcc: error: unrecognized command line option ‘--port’
gcc: error: [3306]: 没有那个文件或目录
gcc: error: [5.0.32]: 没有那个文件或目录
gcc: error: unrecognized command line option ‘--libmysqld-libs’
gcc: error: [-L/usr/lib/mysql: 没有那个文件或目录
gcc (Debian 4.7.2-5) 4.7.2