安装sphinx报错(undefined reference to `libiconv_open' 、undefined reference to `libiconv'、undefined reference to `libiconv_close'、make[1]: *** No rule to make target `all'. Stop. 、make: *** [all-recursive

(为知笔记copy过来格式有变,希望对遇到此问题的童鞋有帮助)

具体错误:

  1. Thank you for choosing Sphinx!
  2. [root@vm-vagrant csft-4.1]# make && make install
  3. Making all in src
  4. make[1]: Entering directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  5. /bin/sh svnxrev.sh ..
  6. make all-am
  7. make[2]: Entering directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  8. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxexpr.o -MD -MP -MF .deps/sphinxexpr.Tpo -c -o sphinxexpr.o sphinxexpr.cpp
  9. sphinxexpr.cpp: In constructor ‘ExprParser_t::ExprParser_t(CSphSchema*, ISphExprHook*)’:
  10. sphinxexpr.cpp:742: warning: ‘ExprParser_t::m_pExtra’ will be initialized after
  11. sphinxexpr.cpp:711: warning: ‘ISphExprHook* ExprParser_t::m_pHook’
  12. sphinxexpr.cpp:698: warning: when initialized here
  13. mv -f .deps/sphinxexpr.Tpo .deps/sphinxexpr.Po
  14. rm -f libsphinx.a
  15. ar cru libsphinx.a sphinx.o sphinxexcerpt.o sphinxquery.o sphinxsoundex.o sphinxmetaphone.o sphinxstemen.o sphinxstemru.o sphinxstemcz.o sphinxutils.o md5.o sphinxstd.o sphinxsort.o sphinxexpr.o sphinxfilter.o sphinxsearch.o sphinxrt.o tokenizer_zhcn.o
  16. ranlib libsphinx.a
  17. g++ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -o indexer indexer.o libsphinx.a -L/usr/local/mysql/lib -lmysqlclient -lpthread -lz -lm -lrt -ldl -L/usr/local/mmseg3/lib/ -lmmseg -ldl -lm -lz -lexpat -L/usr/local/lib -lrt -lpthread
  18. libsphinx.a(sphinx.o): In function `xmlUnknownEncoding':
  19. /home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src/sphinx.cpp:22292: undefined reference to `libiconv_open'
  20. /home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src/sphinx.cpp:22310: undefined reference to `libiconv'
  21. /home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src/sphinx.cpp:22316: undefined reference to `libiconv_close'
  22. collect2: ld returned 1 exit status
  23. make[2]: *** [indexer] Error 1
  24. make[2]: Leaving directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  25. make[1]: *** [all] Error 2
  26. make[1]: Leaving directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  27. make: *** [all-recursive] Error 1
  28. [root@vm-vagrant csft-4.1]# vi ./src/MakeFile
  29. [root@vm-vagrant csft-4.1]# make && make install
  30. Making all in src
  31. make[1]: Entering directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  32. make[1]: *** No rule to make target `all'. Stop.
  33. make[1]: Leaving directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  34. make: *** [all-recursive] Error 1
  35. [root@vm-vagrant csft-4.1]#
 
 
百度搜索了很久发现都是上面这种解决方法,我在mac+vagrant+centos6.5环境中遇到的也是上面这样的解决方案(成功),但是这次在win7+vagrant+centos6.5环境中没有解决(同样的centos6.5系统)
 
 编辑:
 ./src/MakeFile文件(增加字符串-liconv)
 将
 LIBS = -lm -lexpat -L/usr/local/lib
 改成
 LIBS = -lm -lexpat -liconv -L/usr/local/lib
 
 
 
于是google发现了下面这篇文章,描述的和其它解决方案不通,测试通过,并解决问题
 
附上作者blog地址: http://bigwayseo.com/1437
 
 
#define USE_LIBICONV 0 in line 8179.
修改 configure 文件把 #define USE_LIBICONV 1最后的数值由1改为0
重新编译,安装完成
附上所有的操作记录
  1. [root@vm-vagrant csft-4.1]# ./configure --prefix=/usr/local/coreseek --without-unixodbc --with-mmseg --with-mmseg-includes=/usr/local/mmseg3/include/mmseg/ --with-mmseg-libs=/usr/local/mmseg3/lib/ --with-mysql
  2. checking build environment
  3. --------------------------
  4. checking for a BSD-compatible install... /usr/bin/install -c
  5. checking whether build environment is sane... yes
  6. checking for a thread-safe mkdir -p... /bin/mkdir -p
  7. checking for gawk... gawk
  8. checking whether make sets $(MAKE)... yes
  9. checking whether to enable maintainer-specific portions of Makefiles... no
  10. checking for python... /usr/bin/python
  11. checking for python version... 2.6
  12. checking for python platform... linux2
  13. checking for python script directory... ${prefix}/lib/python2.6/site-packages
  14. checking for python extension module directory... ${exec_prefix}/lib64/python2.6/site-packages
  15. checking for compiler programs
  16. ------------------------------
  17. checking whether to compile debug version... no
  18. checking for gcc... gcc
  19. checking for C compiler default output file name... a.out
  20. checking whether the C compiler works... yes
  21. checking whether we are cross compiling... no
  22. checking for suffix of executables...
  23. checking for suffix of object files... o
  24. checking whether we are using the GNU C compiler... yes
  25. checking whether gcc accepts -g... yes
  26. checking for gcc option to accept ISO C89... none needed
  27. checking for style of include used by make... GNU
  28. checking dependency style of gcc... gcc3
  29. checking for g++... g++
  30. checking whether we are using the GNU C++ compiler... yes
  31. checking whether g++ accepts -g... yes
  32. checking dependency style of g++... gcc3
  33. checking for ranlib... ranlib
  34. checking for header files
  35. -------------------------
  36. checking how to run the C preprocessor... gcc -E
  37. checking for grep that handles long lines and -e... /bin/grep
  38. checking for egrep... /bin/grep -E
  39. checking for ANSI C header files... yes
  40. checking for sys/wait.h that is POSIX.1 compatible... yes
  41. checking for sys/types.h... yes
  42. checking for sys/stat.h... yes
  43. checking for stdlib.h... yes
  44. checking for string.h... yes
  45. checking for memory.h... yes
  46. checking for strings.h... yes
  47. checking for inttypes.h... yes
  48. checking for stdint.h... yes
  49. checking for unistd.h... yes
  50. checking fcntl.h usability... yes
  51. checking fcntl.h presence... yes
  52. checking for fcntl.h... yes
  53. checking limits.h usability... yes
  54. checking limits.h presence... yes
  55. checking for limits.h... yes
  56. checking netdb.h usability... yes
  57. checking netdb.h presence... yes
  58. checking for netdb.h... yes
  59. checking netinet/in.h usability... yes
  60. checking netinet/in.h presence... yes
  61. checking for netinet/in.h... yes
  62. checking for stdlib.h... (cached) yes
  63. checking for string.h... (cached) yes
  64. checking sys/file.h usability... yes
  65. checking sys/file.h presence... yes
  66. checking for sys/file.h... yes
  67. checking sys/socket.h usability... yes
  68. checking sys/socket.h presence... yes
  69. checking for sys/socket.h... yes
  70. checking sys/time.h usability... yes
  71. checking sys/time.h presence... yes
  72. checking for sys/time.h... yes
  73. checking for unistd.h... (cached) yes
  74. checking pthread.h usability... yes
  75. checking pthread.h presence... yes
  76. checking for pthread.h... yes
  77. checking execinfo.h usability... yes
  78. checking execinfo.h presence... yes
  79. checking for execinfo.h... yes
  80. checking expat.h usability... yes
  81. checking expat.h presence... yes
  82. checking for expat.h... yes
  83. checking iconv.h usability... yes
  84. checking iconv.h presence... yes
  85. checking for iconv.h... yes
  86. checking zlib.h usability... yes
  87. checking zlib.h presence... yes
  88. checking for zlib.h... yes
  89. checking sql.h usability... no
  90. checking sql.h presence... no
  91. checking for sql.h... no
  92. checking syslog.h usability... yes
  93. checking syslog.h presence... yes
  94. checking for syslog.h... yes
  95. checking for types
  96. ------------------
  97. checking for stdbool.h that conforms to C99... yes
  98. checking for _Bool... yes
  99. checking for an ANSI C-conforming const... yes
  100. checking for inline... inline
  101. checking for off_t... yes
  102. checking for size_t... yes
  103. checking whether time.h and sys/time.h may both be included... yes
  104. checking for library functions
  105. ------------------------------
  106. checking for pid_t... yes
  107. checking vfork.h usability... no
  108. checking vfork.h presence... no
  109. checking for vfork.h... no
  110. checking for fork... yes
  111. checking for vfork... yes
  112. checking for working fork... yes
  113. checking for working vfork... (cached) yes
  114. checking for stdlib.h... (cached) yes
  115. checking for GNU libc compatible malloc... yes
  116. checking for stdlib.h... (cached) yes
  117. checking for GNU libc compatible realloc... yes
  118. checking sys/select.h usability... yes
  119. checking sys/select.h presence... yes
  120. checking for sys/select.h... yes
  121. checking for sys/socket.h... (cached) yes
  122. checking types of arguments for select... int,fd_set *,struct timeval *
  123. checking return type of signal handlers... void
  124. checking whether lstat dereferences a symlink specified with a trailing slash... no
  125. checking whether stat accepts an empty string... no
  126. checking for vprintf... yes
  127. checking for _doprnt... no
  128. checking for library containing setsockopt... none required
  129. checking for library containing gethostbyname... none required
  130. checking for library containing XML_Parse... -lexpat
  131. checking for library containing iconv... none required
  132. checking for library containing inflate... -lz
  133. checking for library containing logf... -lm
  134. checking for dup2... yes
  135. checking for gethostbyname... yes
  136. checking for gettimeofday... yes
  137. checking for memmove... yes
  138. checking for memset... yes
  139. checking for select... yes
  140. checking for socket... yes
  141. checking for strcasecmp... yes
  142. checking for strchr... yes
  143. checking for strerror... yes
  144. checking for strncasecmp... yes
  145. checking for strstr... yes
  146. checking for strtol... yes
  147. checking for logf... yes
  148. checking for pread... yes
  149. checking for backtrace... yes
  150. checking for backtrace_symbols... yes
  151. checking for clock_gettime in -lrt... yes
  152. checking for clock_gettime... yes
  153. checking for LOCK_EX in sys/file.h... yes
  154. checking for F_SETLKW in fcntl.h... yes
  155. checking for dlopen in -ldl... yes
  156. checking for dlopen... yes
  157. checking for dlerror... yes
  158. configuring Sphinx
  159. ------------------
  160. checking for CFLAGS needed for pthreads... none
  161. checking for LIBS needed for pthreads... -lpthread
  162. checking for pthreads... found
  163. checking for pthread_mutex_timedlock... yes
  164. checking whether to compile with MySQL support... yes
  165. checking for mysql_config... mysql_config
  166. checking for mysql_real_connect... yes
  167. checking MySQL include files... -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing
  168. checking MySQL libraries... -L/usr/local/mysql/lib -lmysqlclient -lpthread -lz -lm -lrt -ldl
  169. checking whether to link statically with MySQL support... no
  170. checking whether to compile with PostgreSQL support... no
  171. checking whether to compile with libmmseg support... yes
  172. checking libmmseg include files... -I/usr/local/mmseg3/include/mmseg/
  173. checking libmmseg libraries... -L/usr/local/mmseg3/lib/ -lmmseg
  174. checking whether to use 64-bit document/word IDs... no
  175. checking whether to compile with libstemmer support... no
  176. checking for libexpat... found
  177. checking for libiconv... found
  178. checking for iconv() arg types... char **
  179. checking for UnixODBC... disabled
  180. checking for Syslog... disabled
  181. checking for unaligned RAM access... yes
  182. checking whether byte ordering is bigendian... no
  183. generating configuration files
  184. ------------------------------
  185. configure: creating ./config.status
  186. config.status: creating Makefile
  187. config.status: creating src/Makefile
  188. config.status: creating libstemmer_c/Makefile
  189. config.status: creating doc/Makefile
  190. config.status: creating sphinx.conf.dist
  191. config.status: creating sphinx-min.conf.dist
  192. config.status: creating config/config.h
  193. config.status: config/config.h is unchanged
  194. config.status: executing depfiles commands
  195. configuration done
  196. ------------------
  197. You can now run 'make install' to build and install Sphinx binaries.
  198. On a multi-core machine, try 'make -j4 install' to speed up the build.
  199. Updates, articles, help forum, and commercial support, consulting, training,
  200. and development services are available at http://sphinxsearch.com/
  201. Thank you for choosing Sphinx!
  202. [root@vm-vagrant csft-4.1]# make && make install
  203. Making all in src
  204. make[1]: Entering directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  205. /bin/sh svnxrev.sh ..
  206. make all-am
  207. make[2]: Entering directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  208. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxexpr.o -MD -MP -MF .deps/sphinxexpr.Tpo -c -o sphinxexpr.o sphinxexpr.cpp
  209. sphinxexpr.cpp: In constructor ‘ExprParser_t::ExprParser_t(CSphSchema*, ISphExprHook*)’:
  210. sphinxexpr.cpp:742: warning: ‘ExprParser_t::m_pExtra’ will be initialized after
  211. sphinxexpr.cpp:711: warning: ‘ISphExprHook* ExprParser_t::m_pHook’
  212. sphinxexpr.cpp:698: warning: when initialized here
  213. mv -f .deps/sphinxexpr.Tpo .deps/sphinxexpr.Po
  214. rm -f libsphinx.a
  215. ar cru libsphinx.a sphinx.o sphinxexcerpt.o sphinxquery.o sphinxsoundex.o sphinxmetaphone.o sphinxstemen.o sphinxstemru.o sphinxstemcz.o sphinxutils.o md5.o sphinxstd.o sphinxsort.o sphinxexpr.o sphinxfilter.o sphinxsearch.o sphinxrt.o tokenizer_zhcn.o
  216. ranlib libsphinx.a
  217. g++ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -o indexer indexer.o libsphinx.a -L/usr/local/mysql/lib -lmysqlclient -lpthread -lz -lm -lrt -ldl -L/usr/local/mmseg3/lib/ -lmmseg -ldl -lm -lz -lexpat -L/usr/local/lib -lrt -lpthread
  218. libsphinx.a(sphinx.o): In function `xmlUnknownEncoding':
  219. /home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src/sphinx.cpp:22292: undefined reference to `libiconv_open'
  220. /home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src/sphinx.cpp:22310: undefined reference to `libiconv'
  221. /home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src/sphinx.cpp:22316: undefined reference to `libiconv_close'
  222. collect2: ld returned 1 exit status
  223. make[2]: *** [indexer] Error 1
  224. make[2]: Leaving directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  225. make[1]: *** [all] Error 2
  226. make[1]: Leaving directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  227. make: *** [all-recursive] Error 1
  228. [root@vm-vagrant csft-4.1]# vi ./src/MakeFile
  229. [root@vm-vagrant csft-4.1]# make && make install
  230. Making all in src
  231. make[1]: Entering directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  232. make[1]: *** No rule to make target `all'. Stop.
  233. make[1]: Leaving directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  234. make: *** [all-recursive] Error 1
  235. [root@vm-vagrant csft-4.1]# ls
  236. acinclude.m4 buildconf.sh config.status COPYING INSTALL Makefile.am python.m4 sphinx.conf.dist sphinx.spec win
  237. aclocal.m4 codeblocks configure cs_test libexpat Makefile.in smoke.sh sphinx.conf.in sphinx.workspace
  238. api config configure.ac doc libstemmer_c misc sphinx05.sln sphinx-min.conf.dist src
  239. autom4te.cache config.log contrib example.sql Makefile mysqlse sphinx08.sln sphinx-min.conf.in test
  240. [root@vm-vagrant csft-4.1]# vi config
  241. [root@vm-vagrant csft-4.1]# vi ./configure
  242. [root@vm-vagrant csft-4.1]# ./configure --prefix=/usr/local/coreseek --without-unixodbc --with-mmseg --with-mmseg-includes=/usr/local/mmseg3/include/mmseg/ --with-mmseg-libs=/usr/local/mmseg3/lib/ --with-mysql
  243. checking build environment
  244. --------------------------
  245. checking for a BSD-compatible install... /usr/bin/install -c
  246. checking whether build environment is sane... yes
  247. checking for a thread-safe mkdir -p... /bin/mkdir -p
  248. checking for gawk... gawk
  249. checking whether make sets $(MAKE)... yes
  250. checking whether to enable maintainer-specific portions of Makefiles... no
  251. checking for python... /usr/bin/python
  252. checking for python version... 2.6
  253. checking for python platform... linux2
  254. checking for python script directory... ${prefix}/lib/python2.6/site-packages
  255. checking for python extension module directory... ${exec_prefix}/lib64/python2.6/site-packages
  256. checking for compiler programs
  257. ------------------------------
  258. checking whether to compile debug version... no
  259. checking for gcc... gcc
  260. checking for C compiler default output file name... a.out
  261. checking whether the C compiler works... yes
  262. checking whether we are cross compiling... no
  263. checking for suffix of executables...
  264. checking for suffix of object files... o
  265. checking whether we are using the GNU C compiler... yes
  266. checking whether gcc accepts -g... yes
  267. checking for gcc option to accept ISO C89... none needed
  268. checking for style of include used by make... GNU
  269. checking dependency style of gcc... gcc3
  270. checking for g++... g++
  271. checking whether we are using the GNU C++ compiler... yes
  272. checking whether g++ accepts -g... yes
  273. checking dependency style of g++... gcc3
  274. checking for ranlib... ranlib
  275. checking for header files
  276. -------------------------
  277. checking how to run the C preprocessor... gcc -E
  278. checking for grep that handles long lines and -e... /bin/grep
  279. checking for egrep... /bin/grep -E
  280. checking for ANSI C header files... yes
  281. checking for sys/wait.h that is POSIX.1 compatible... yes
  282. checking for sys/types.h... yes
  283. checking for sys/stat.h... yes
  284. checking for stdlib.h... yes
  285. checking for string.h... yes
  286. checking for memory.h... yes
  287. checking for strings.h... yes
  288. checking for inttypes.h... yes
  289. checking for stdint.h... yes
  290. checking for unistd.h... yes
  291. checking fcntl.h usability... yes
  292. checking fcntl.h presence... yes
  293. checking for fcntl.h... yes
  294. checking limits.h usability... yes
  295. checking limits.h presence... yes
  296. checking for limits.h... yes
  297. checking netdb.h usability... yes
  298. checking netdb.h presence... yes
  299. checking for netdb.h... yes
  300. checking netinet/in.h usability... yes
  301. checking netinet/in.h presence... yes
  302. checking for netinet/in.h... yes
  303. checking for stdlib.h... (cached) yes
  304. checking for string.h... (cached) yes
  305. checking sys/file.h usability... yes
  306. checking sys/file.h presence... yes
  307. checking for sys/file.h... yes
  308. checking sys/socket.h usability... yes
  309. checking sys/socket.h presence... yes
  310. checking for sys/socket.h... yes
  311. checking sys/time.h usability... yes
  312. checking sys/time.h presence... yes
  313. checking for sys/time.h... yes
  314. checking for unistd.h... (cached) yes
  315. checking pthread.h usability... yes
  316. checking pthread.h presence... yes
  317. checking for pthread.h... yes
  318. checking execinfo.h usability... yes
  319. checking execinfo.h presence... yes
  320. checking for execinfo.h... yes
  321. checking expat.h usability... yes
  322. checking expat.h presence... yes
  323. checking for expat.h... yes
  324. checking iconv.h usability... yes
  325. checking iconv.h presence... yes
  326. checking for iconv.h... yes
  327. checking zlib.h usability... yes
  328. checking zlib.h presence... yes
  329. checking for zlib.h... yes
  330. checking sql.h usability... no
  331. checking sql.h presence... no
  332. checking for sql.h... no
  333. checking syslog.h usability... yes
  334. checking syslog.h presence... yes
  335. checking for syslog.h... yes
  336. checking for types
  337. ------------------
  338. checking for stdbool.h that conforms to C99... yes
  339. checking for _Bool... yes
  340. checking for an ANSI C-conforming const... yes
  341. checking for inline... inline
  342. checking for off_t... yes
  343. checking for size_t... yes
  344. checking whether time.h and sys/time.h may both be included... yes
  345. checking for library functions
  346. ------------------------------
  347. checking for pid_t... yes
  348. checking vfork.h usability... no
  349. checking vfork.h presence... no
  350. checking for vfork.h... no
  351. checking for fork... yes
  352. checking for vfork... yes
  353. checking for working fork... yes
  354. checking for working vfork... (cached) yes
  355. checking for stdlib.h... (cached) yes
  356. checking for GNU libc compatible malloc... yes
  357. checking for stdlib.h... (cached) yes
  358. checking for GNU libc compatible realloc... yes
  359. checking sys/select.h usability... yes
  360. checking sys/select.h presence... yes
  361. checking for sys/select.h... yes
  362. checking for sys/socket.h... (cached) yes
  363. checking types of arguments for select... int,fd_set *,struct timeval *
  364. checking return type of signal handlers... void
  365. checking whether lstat dereferences a symlink specified with a trailing slash... no
  366. checking whether stat accepts an empty string... no
  367. checking for vprintf... yes
  368. checking for _doprnt... no
  369. checking for library containing setsockopt... none required
  370. checking for library containing gethostbyname... none required
  371. checking for library containing XML_Parse... -lexpat
  372. checking for library containing iconv... none required
  373. checking for library containing inflate... -lz
  374. checking for library containing logf... -lm
  375. checking for dup2... yes
  376. checking for gethostbyname... yes
  377. checking for gettimeofday... yes
  378. checking for memmove... yes
  379. checking for memset... yes
  380. checking for select... yes
  381. checking for socket... yes
  382. checking for strcasecmp... yes
  383. checking for strchr... yes
  384. checking for strerror... yes
  385. checking for strncasecmp... yes
  386. checking for strstr... yes
  387. checking for strtol... yes
  388. checking for logf... yes
  389. checking for pread... yes
  390. checking for backtrace... yes
  391. checking for backtrace_symbols... yes
  392. checking for clock_gettime in -lrt... yes
  393. checking for clock_gettime... yes
  394. checking for LOCK_EX in sys/file.h... yes
  395. checking for F_SETLKW in fcntl.h... yes
  396. checking for dlopen in -ldl... yes
  397. checking for dlopen... yes
  398. checking for dlerror... yes
  399. configuring Sphinx
  400. ------------------
  401. checking for CFLAGS needed for pthreads... none
  402. checking for LIBS needed for pthreads... -lpthread
  403. checking for pthreads... found
  404. checking for pthread_mutex_timedlock... yes
  405. checking whether to compile with MySQL support... yes
  406. checking for mysql_config... mysql_config
  407. checking for mysql_real_connect... yes
  408. checking MySQL include files... -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing
  409. checking MySQL libraries... -L/usr/local/mysql/lib -lmysqlclient -lpthread -lz -lm -lrt -ldl
  410. checking whether to link statically with MySQL support... no
  411. checking whether to compile with PostgreSQL support... no
  412. checking whether to compile with libmmseg support... yes
  413. checking libmmseg include files... -I/usr/local/mmseg3/include/mmseg/
  414. checking libmmseg libraries... -L/usr/local/mmseg3/lib/ -lmmseg
  415. checking whether to use 64-bit document/word IDs... no
  416. checking whether to compile with libstemmer support... no
  417. checking for libexpat... found
  418. checking for libiconv... found
  419. checking for iconv() arg types... char **
  420. checking for UnixODBC... disabled
  421. checking for Syslog... disabled
  422. checking for unaligned RAM access... yes
  423. checking whether byte ordering is bigendian... no
  424. generating configuration files
  425. ------------------------------
  426. configure: creating ./config.status
  427. config.status: creating Makefile
  428. config.status: creating src/Makefile
  429. config.status: creating libstemmer_c/Makefile
  430. config.status: creating doc/Makefile
  431. config.status: creating sphinx.conf.dist
  432. config.status: creating sphinx-min.conf.dist
  433. config.status: creating config/config.h
  434. config.status: executing depfiles commands
  435. configuration done
  436. ------------------
  437. You can now run 'make install' to build and install Sphinx binaries.
  438. On a multi-core machine, try 'make -j4 install' to speed up the build.
  439. Updates, articles, help forum, and commercial support, consulting, training,
  440. and development services are available at http://sphinxsearch.com/
  441. Thank you for choosing Sphinx!
  442. [root@vm-vagrant csft-4.1]# make && make install
  443. Making all in src
  444. make[1]: Entering directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  445. /bin/sh svnxrev.sh ..
  446. make all-am
  447. make[2]: Entering directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  448. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinx.o -MD -MP -MF .deps/sphinx.Tpo -c -o sphinx.o sphinx.cpp
  449. In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ext/hash_map:60,
  450. from /usr/local/mmseg3/include/mmseg/Segmenter.h:31,
  451. from /usr/local/mmseg3/include/mmseg/SegmenterManager.h:33,
  452. from tokenizer_zhcn.h:26,
  453. from sphinx.cpp:2173:
  454. /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/backward/backward_warning.h:28:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
  455. In file included from /usr/local/mmseg3/include/mmseg/Segmenter.h:38,
  456. from /usr/local/mmseg3/include/mmseg/SegmenterManager.h:33,
  457. from tokenizer_zhcn.h:26,
  458. from sphinx.cpp:2173:
  459. /usr/local/mmseg3/include/mmseg/mmthunk.h: In member function ‘u2 css::ChunkQueue::getToken()’:
  460. /usr/local/mmseg3/include/mmseg/mmthunk.h:143: warning: comparison between signed and unsigned integer expressions
  461. /usr/local/mmseg3/include/mmseg/mmthunk.h:161: warning: comparison between signed and unsigned integer expressions
  462. sphinx.cpp: In function ‘bool Cmp(const SchemaRecord&, const SchemaRecord&)’:
  463. sphinx.cpp:5409: warning: array subscript has type ‘char’
  464. sphinx.cpp:5410: warning: array subscript has type ‘char’
  465. sphinx.cpp: In destructor ‘virtual CSphQueryResult::~CSphQueryResult()’:
  466. sphinx.cpp:6346: warning: deleting ‘void*’ is undefined
  467. sphinx.cpp: In member function ‘virtual int CSphIndex_VLN::DebugCheck(FILE*)’:
  468. sphinx.cpp:15310: warning: format ‘%li’ expects type ‘long int’, but argument 5 has type ‘int’
  469. sphinx.cpp:15310: warning: format ‘%li’ expects type ‘long int’, but argument 6 has type ‘int’
  470. sphinx.cpp:15332: warning: format ‘%li’ expects type ‘long int’, but argument 5 has type ‘int’
  471. sphinx.cpp:15332: warning: format ‘%li’ expects type ‘long int’, but argument 6 has type ‘int’
  472. sphinx.cpp:15831: warning: format ‘%u’ expects type ‘unsigned int’, but argument 8 has type ‘uint64_t’
  473. sphinx.cpp:15831: warning: format ‘%u’ expects type ‘unsigned int’, but argument 10 has type ‘uint64_t’
  474. mv -f .deps/sphinx.Tpo .deps/sphinx.Po
  475. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxexcerpt.o -MD -MP -MF .deps/sphinxexcerpt.Tpo -c -o sphinxexcerpt.o sphinxexcerpt.cpp
  476. sphinxexcerpt.cpp: In member function ‘void ExcerptGen_c::TokenizeDocument(char*, int, CSphDict*, ISphTokenizer*, bool, const ExcerptQuery_t&, const CSphIndexSettings&)’:
  477. sphinxexcerpt.cpp:811: warning: comparison between signed and unsigned integer expressions
  478. sphinxexcerpt.cpp: In function ‘void TokenizeDocument(TokenFunctorTraits_c&, const CSphHTMLStripper*)’:
  479. sphinxexcerpt.cpp:2460: warning: comparison between signed and unsigned integer expressions
  480. sphinxexcerpt.cpp:2574: warning: comparison between signed and unsigned integer expressions
  481. sphinxexcerpt.cpp:2583: warning: comparison between signed and unsigned integer expressions
  482. mv -f .deps/sphinxexcerpt.Tpo .deps/sphinxexcerpt.Po
  483. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxquery.o -MD -MP -MF .deps/sphinxquery.Tpo -c -o sphinxquery.o sphinxquery.cpp
  484. mv -f .deps/sphinxquery.Tpo .deps/sphinxquery.Po
  485. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxsoundex.o -MD -MP -MF .deps/sphinxsoundex.Tpo -c -o sphinxsoundex.o sphinxsoundex.cpp
  486. mv -f .deps/sphinxsoundex.Tpo .deps/sphinxsoundex.Po
  487. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxmetaphone.o -MD -MP -MF .deps/sphinxmetaphone.Tpo -c -o sphinxmetaphone.o sphinxmetaphone.cpp
  488. mv -f .deps/sphinxmetaphone.Tpo .deps/sphinxmetaphone.Po
  489. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxstemen.o -MD -MP -MF .deps/sphinxstemen.Tpo -c -o sphinxstemen.o sphinxstemen.cpp
  490. mv -f .deps/sphinxstemen.Tpo .deps/sphinxstemen.Po
  491. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxstemru.o -MD -MP -MF .deps/sphinxstemru.Tpo -c -o sphinxstemru.o sphinxstemru.cpp
  492. mv -f .deps/sphinxstemru.Tpo .deps/sphinxstemru.Po
  493. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxstemcz.o -MD -MP -MF .deps/sphinxstemcz.Tpo -c -o sphinxstemcz.o sphinxstemcz.cpp
  494. mv -f .deps/sphinxstemcz.Tpo .deps/sphinxstemcz.Po
  495. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxutils.o -MD -MP -MF .deps/sphinxutils.Tpo -c -o sphinxutils.o sphinxutils.cpp
  496. mv -f .deps/sphinxutils.Tpo .deps/sphinxutils.Po
  497. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxstd.o -MD -MP -MF .deps/sphinxstd.Tpo -c -o sphinxstd.o sphinxstd.cpp
  498. mv -f .deps/sphinxstd.Tpo .deps/sphinxstd.Po
  499. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxsort.o -MD -MP -MF .deps/sphinxsort.Tpo -c -o sphinxsort.o sphinxsort.cpp
  500. mv -f .deps/sphinxsort.Tpo .deps/sphinxsort.Po
  501. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxexpr.o -MD -MP -MF .deps/sphinxexpr.Tpo -c -o sphinxexpr.o sphinxexpr.cpp
  502. sphinxexpr.cpp: In constructor ‘ExprParser_t::ExprParser_t(CSphSchema*, ISphExprHook*)’:
  503. sphinxexpr.cpp:742: warning: ‘ExprParser_t::m_pExtra’ will be initialized after
  504. sphinxexpr.cpp:711: warning: ‘ISphExprHook* ExprParser_t::m_pHook’
  505. sphinxexpr.cpp:698: warning: when initialized here
  506. mv -f .deps/sphinxexpr.Tpo .deps/sphinxexpr.Po
  507. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxfilter.o -MD -MP -MF .deps/sphinxfilter.Tpo -c -o sphinxfilter.o sphinxfilter.cpp
  508. mv -f .deps/sphinxfilter.Tpo .deps/sphinxfilter.Po
  509. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxsearch.o -MD -MP -MF .deps/sphinxsearch.Tpo -c -o sphinxsearch.o sphinxsearch.cpp
  510. sphinxsearch.cpp: In member function ‘bool ExtTermPos_c<T>::IsAcceptableHit(const ExtHit_t*) const [with TermPosFilter_e T = (TermPosFilter_e)5u]’:
  511. sphinxsearch.cpp:1641: warning: enumeration value ‘SPH_ZONE_NO_SPAN’ not handled in switch
  512. mv -f .deps/sphinxsearch.Tpo .deps/sphinxsearch.Po
  513. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxrt.o -MD -MP -MF .deps/sphinxrt.Tpo -c -o sphinxrt.o sphinxrt.cpp
  514. mv -f .deps/sphinxrt.Tpo .deps/sphinxrt.Po
  515. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT tokenizer_zhcn.o -MD -MP -MF .deps/tokenizer_zhcn.Tpo -c -o tokenizer_zhcn.o tokenizer_zhcn.cpp
  516. In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ext/hash_map:60,
  517. from /usr/local/mmseg3/include/mmseg/Segmenter.h:31,
  518. from /usr/local/mmseg3/include/mmseg/SegmenterManager.h:33,
  519. from tokenizer_zhcn.cpp:13:
  520. /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/backward/backward_warning.h:28:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
  521. In file included from /usr/local/mmseg3/include/mmseg/Segmenter.h:38,
  522. from /usr/local/mmseg3/include/mmseg/SegmenterManager.h:33,
  523. from tokenizer_zhcn.cpp:13:
  524. /usr/local/mmseg3/include/mmseg/mmthunk.h: In member function ‘u2 css::ChunkQueue::getToken()’:
  525. /usr/local/mmseg3/include/mmseg/mmthunk.h:143: warning: comparison between signed and unsigned integer expressions
  526. /usr/local/mmseg3/include/mmseg/mmthunk.h:161: warning: comparison between signed and unsigned integer expressions
  527. mv -f .deps/tokenizer_zhcn.Tpo .deps/tokenizer_zhcn.Po
  528. rm -f libsphinx.a
  529. ar cru libsphinx.a sphinx.o sphinxexcerpt.o sphinxquery.o sphinxsoundex.o sphinxmetaphone.o sphinxstemen.o sphinxstemru.o sphinxstemcz.o sphinxutils.o md5.o sphinxstd.o sphinxsort.o sphinxexpr.o sphinxfilter.o sphinxsearch.o sphinxrt.o tokenizer_zhcn.o
  530. ranlib libsphinx.a
  531. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT indexer.o -MD -MP -MF .deps/indexer.Tpo -c -o indexer.o indexer.cpp
  532. mv -f .deps/indexer.Tpo .deps/indexer.Po
  533. g++ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -o indexer indexer.o libsphinx.a -L/usr/local/mysql/lib -lmysqlclient -lpthread -lz -lm -lrt -ldl -L/usr/local/mmseg3/lib/ -lmmseg -ldl -lm -lz -lexpat -L/usr/local/lib -lrt -lpthread
  534. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT searchd.o -MD -MP -MF .deps/searchd.Tpo -c -o searchd.o searchd.cpp
  535. searchd.cpp: In function ‘int ServiceMain(int, char**)’:
  536. searchd.cpp:14401: warning: unused variable ‘hPython’
  537. In file included from sphinx.h:45,
  538. from searchd.cpp:16:
  539. sphinxstd.h: In function ‘void sphSort(T*, int, U, V) [with T = SearchFailure_t, U = SphLess_T<SearchFailure_t>, V = SphAccessor_T<SearchFailure_t>]’:
  540. sphinxstd.h:431: warning: ‘<anonymous>’ may be used uninitialized in this function
  541. sphinxstd.h:431: note: ‘<anonymous>’ was declared here
  542. mv -f .deps/searchd.Tpo .deps/searchd.Po
  543. g++ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -o searchd searchd.o libsphinx.a -L/usr/local/mysql/lib -lmysqlclient -lpthread -lz -lm -lrt -ldl -L/usr/local/mmseg3/lib/ -lmmseg -ldl -lm -lz -lexpat -L/usr/local/lib -lrt -lpthread
  544. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT search.o -MD -MP -MF .deps/search.Tpo -c -o search.o search.cpp
  545. search.cpp: In function ‘int main(int, char**)’:
  546. search.cpp:194: warning: unused variable ‘hPython’
  547. mv -f .deps/search.Tpo .deps/search.Po
  548. g++ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -o search search.o libsphinx.a -L/usr/local/mysql/lib -lmysqlclient -lpthread -lz -lm -lrt -ldl -L/usr/local/mmseg3/lib/ -lmmseg -ldl -lm -lz -lexpat -L/usr/local/lib -lrt -lpthread
  549. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT spelldump.o -MD -MP -MF .deps/spelldump.Tpo -c -o spelldump.o spelldump.cpp
  550. mv -f .deps/spelldump.Tpo .deps/spelldump.Po
  551. g++ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -o spelldump spelldump.o libsphinx.a -L/usr/local/mysql/lib -lmysqlclient -lpthread -lz -lm -lrt -ldl -L/usr/local/mmseg3/lib/ -lmmseg -ldl -lm -lz -lexpat -L/usr/local/lib -lrt -lpthread
  552. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT indextool.o -MD -MP -MF .deps/indextool.Tpo -c -o indextool.o indextool.cpp
  553. mv -f .deps/indextool.Tpo .deps/indextool.Po
  554. g++ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -o indextool indextool.o libsphinx.a -L/usr/local/mysql/lib -lmysqlclient -lpthread -lz -lm -lrt -ldl -L/usr/local/mmseg3/lib/ -lmmseg -ldl -lm -lz -lexpat -L/usr/local/lib -lrt -lpthread
  555. g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR=""/usr/local/coreseek/etc"" -DDATADIR=""/usr/local/coreseek/var/data"" -I/usr/local/include -I/usr/local/mysql/include/mysql -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/mmseg3/include/mmseg/ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT tests.o -MD -MP -MF .deps/tests.Tpo -c -o tests.o tests.cpp
  556. mv -f .deps/tests.Tpo .deps/tests.Po
  557. g++ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -o tests tests.o libsphinx.a -L/usr/local/mysql/lib -lmysqlclient -lpthread -lz -lm -lrt -ldl -L/usr/local/mmseg3/lib/ -lmmseg -ldl -lm -lz -lexpat -L/usr/local/lib -lrt -lpthread
  558. make[2]: Leaving directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  559. make[1]: Leaving directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  560. Making all in test
  561. make[1]: Entering directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/test'
  562. make[1]: Nothing to be done for `all'.
  563. make[1]: Leaving directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/test'
  564. Making all in doc
  565. make[1]: Entering directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/doc'
  566. All docs are already pre-built by developer.
  567. If you want to rebuild them, install docbook-xsl
  568. and xsltproc and then run 'make docs' instead of simple 'make'.
  569. make[1]: Leaving directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/doc'
  570. make[1]: Entering directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1'
  571. make[1]: Nothing to be done for `all-am'.
  572. make[1]: Leaving directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1'
  573. Making install in src
  574. make[1]: Entering directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  575. /bin/sh svnxrev.sh ..
  576. make install-am
  577. make[2]: Entering directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  578. make[3]: Entering directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  579. test -z "/usr/local/coreseek/bin" || /bin/mkdir -p "/usr/local/coreseek/bin"
  580. /usr/bin/install -c indexer searchd search spelldump indextool '/usr/local/coreseek/bin'
  581. make[3]: Nothing to be done for `install-data-am'.
  582. make[3]: Leaving directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  583. make[2]: Leaving directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  584. make[1]: Leaving directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/src'
  585. Making install in test
  586. make[1]: Entering directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/test'
  587. make[1]: Nothing to be done for `install'.
  588. make[1]: Leaving directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/test'
  589. Making install in doc
  590. make[1]: Entering directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/doc'
  591. make[2]: Entering directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/doc'
  592. make[2]: Nothing to be done for `install-exec-am'.
  593. test -z "/usr/local/coreseek/share/man/man1" || /bin/mkdir -p "/usr/local/coreseek/share/man/man1"
  594. /usr/bin/install -c -m 644 searchd.1 search.1 indexer.1 indextool.1 spelldump.1 '/usr/local/coreseek/share/man/man1'
  595. make[2]: Leaving directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/doc'
  596. make[1]: Leaving directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1/doc'
  597. make[1]: Entering directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1'
  598. make[2]: Entering directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1'
  599. test -z "/usr/local/coreseek/etc" || /bin/mkdir -p "/usr/local/coreseek/etc"
  600. /usr/bin/install -c -m 644 sphinx.conf.dist sphinx-min.conf.dist example.sql '/usr/local/coreseek/etc'
  601. make install-data-hook
  602. make[3]: Entering directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1'
  603. mkdir -p /usr/local/coreseek/var/data && mkdir -p /usr/local/coreseek/var/log
  604. make[3]: Leaving directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1'
  605. make[2]: Leaving directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1'
  606. make[1]: Leaving directory `/home/wwwroot/softsrc/coreseek-4.1-beta/csft-4.1'
  607. [root@vm-vagrant csft-4.1]#
 
原文地址:https://www.cnblogs.com/liugx/p/5942791.html