cc1: error: unrecognized command line option "-Wno-null-conversion"
error: Setup script exited with error: command 'llvm-gcc-4.2' failed with exit status 1
应该是 llvm-gcc-4.2 的编译器不识别 option 导致的
http://stackoverflow.com/questions/16127493/cc1-error-unrecognized-command-line-option-wno-null-conversion-within-insta
将 mysql_config 里面的相关 option 去掉再次编译就可以了
Try to Remove
cflags -Wno-null-conversion -Wno-unused-private-field
in/usr/local/mysql/bin/mysql_config.
like:
cflags="-I$pkgincludedir -Wall -Os -g -fno-strict-aliasing -DDBUG_OFF -arch x86_64 "
没有评论:
发表评论