Sphinx
1 下载sphinx
http://sphinxsearch.com/
2 编译安装
tar -zxvf sphinx.tar.gz
./configure --prefix=/usr/local/sphinx --with-mysql=/usr/local/mysql make && make install
Sphinx中重要的三个命令,(Sphinx安...
分类:
其他好文 时间:
2015-05-04 12:06:17
阅读次数:
938
Ant的概念Make命令是一个项目管理工具,而Ant所实现功能与此类似。像make,gnumake和nmake这些编译工具都有一定的缺陷,但是Ant却克服了这些工具的缺陷。最初Ant开发者在开发跨平台的应用时,用样也是基于这些缺陷对Ant做了更好的设计。Ant 与 makefile Makefile...
分类:
其他好文 时间:
2015-05-04 11:49:49
阅读次数:
152
除非最简单的项目,任何一个商业项目都会包含多个源代码,而且在编译的时候会有很长很复杂的指令。编程过程中还需要使用那些很少而且很难记忆的编译选项。make是一种控制编译或者重复编译软件的工具。make可以自动管理软件的编译内容、方式和时机,从而使程序员把更多的精力集中在编写代码上。make是怎么完成工...
分类:
其他好文 时间:
2015-05-04 06:27:38
阅读次数:
175
Windows具有良好的界面和丰富的工具,所以目前linux开发的流程是,windows下完成编码工作,linux上实现编译工作。为了提高工作效率,有必要在windows环境下搭建一套gcc,gdb,make环境。MinGW就是windows下gcc的版本。下载地址http://sourceforg...
Linux源码安装软件源码安装:最原始最有效的安装方式三部曲(1)—./configure xxx 生成makefile文件,随后需要的安装信息都是从这一步中获取(2)make 根据makefile的指示开展编译工作,利用gcc将原始码编译为目标文件目标文件使用动态或静态函数库产生一个完整的可执行....
分类:
系统相关 时间:
2015-05-03 23:16:16
阅读次数:
241
在 make menuconfig 进行裁减 OpenWrt 时,为了让系统更精小一点,我们会把部分功能以“模块”的方式编译,即不编入内核,只是在后期用户可以进行安装与卸载。 包安装示例 如下关于Lua的配置项: 其中 json4lua, ...
分类:
其他好文 时间:
2015-05-03 20:42:57
阅读次数:
503
本人在编译OpenWrt,可能是选多了,导致最后报错: make[5]:?[install]?Error?255?(ignored)
/home/hevake_lcj/Workspace/OpenWRT/trunk/staging_dir/host/bin/mktplinkfw?-H?0x07400004?-W?1?-F?4Mlzm...
分类:
其他好文 时间:
2015-05-03 16:09:48
阅读次数:
218
一开始写的是这样:
用了书上写的ID函数,然后存二元组使用的大数相乘的方法,因为看错题目BIG一开始定义为10010,错了好几次找了半天错误=.=
后来发现存二元组也可以用make_pair(x,y)#include
#include
#include
#include
#include
#define B...
分类:
其他好文 时间:
2015-05-03 16:04:37
阅读次数:
99
最大流 最小费用流 POJ3686 The Windy's
The Windy's is a world famous toy factory that owns M top-class workshop to make toys. This year the manager receives N orders for toys. The manager knows that every order will take different amount of hours in different work...
Description
Background
The knight is getting bored of seeing the same black and white squares again and again and has decided to make a journey
around the world. Whenever a knight moves, it is ...
分类:
其他好文 时间:
2015-05-02 09:43:08
阅读次数:
133