Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql2redis install problem #4

Open
crystonesc opened this issue Oct 9, 2014 · 1 comment
Open

mysql2redis install problem #4

crystonesc opened this issue Oct 9, 2014 · 1 comment

Comments

@crystonesc
Copy link

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

@crystonesc
Copy link
Author

sorry i find my mysql version is lower than 5.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant