Aliasing can make program difficult to read because changes made in one place might have unexpected effects in another place. It is hard to keep track...
分类:
其他好文 时间:
2014-09-30 02:01:51
阅读次数:
298
在linux环境下,erlang通过systools:make_script("",[])和systools:make_tar()命令生成镜像包,先安装镜像包,安装镜像包的过程,即通过替换erl.src中的路径,然后重新输出到erl完成,继而通过erl -sname cache -boot ../releases/0.1.0/start完成相关应用的启动。而在windows下,打包后要想移植到其他...
32位linux安装Redis报错:undefinedreferenceto`__sync_add_and_fetch_4‘在执行make的时候报错,具体报错信息如下:zmalloc.o:Infunction`zmalloc_used_memory‘:
/usr/local/redis-2.6.8/src/zmalloc.c:223:undefinedreferenceto`__sync_add_and_fetch_4‘
collect2:ldreturned1..
分类:
其他好文 时间:
2014-09-29 21:29:42
阅读次数:
248
本文主要是针对源码的安装,请各位注意。第一步:安装前的准备工作,先安装所需要的依赖包(yum-yinstallgccglibcglibc-commongdgd-devel)第二步:安装Apache源码,(./configure--prefix=/usr/local/apache2;make;makeinstall),如果提示缺少Apr,那就安装Apr,然后在安装Apa..
分类:
移动开发 时间:
2014-09-29 17:46:01
阅读次数:
254
题意:每一个人 都有frist name 和 last name! 从每一个人的名字中任意选择 first name 或者 last name 作为这个人的编号!通过对编号的排序,得到每一个人 最终顺序!比较中的序列能否得到给定输出的序列一致! 1 #include 2 #include 3 #i....
分类:
其他好文 时间:
2014-09-29 14:40:21
阅读次数:
184
ConductingInterviewis not cheap and costs both time and money to a company. It take a lot of time to find the right candidate for a job from 100s resu...
分类:
其他好文 时间:
2014-09-29 12:25:37
阅读次数:
294
通过make编译mochiweb项目出现了/usr/bin/env:escript:Nosuchfileordirectory问题。由于escrpt是erlang的一种高级特性,于是想到是否erlang安装不成功?重装了几次erlang并没有发现什么异常。于是去到erlang的安装目录下查找escr...
分类:
系统相关 时间:
2014-09-29 12:10:40
阅读次数:
2947
commons-fileupload-1.3.1.jar工具包的依赖包是commons-io-2.2.jar(FileUploaddepends on Commons IO, so make sure you have the version mentioned on the
dependenciespage in your classpath before continuing.)...
分类:
其他好文 时间:
2014-09-28 18:04:33
阅读次数:
246
输入n(1#include #include #include #include #include #include #include #include using namespace std;#define MP make_pair#define ll long long#define inf 0...
分类:
其他好文 时间:
2014-09-28 17:47:53
阅读次数:
177
升级Debian到wheezy后重新编译php。在编译libiconv时出错(话说俺居然没有找到这货的二进制包)./stdio.h:1010:1: error: 'gets' undeclared here (not in a function)下面报make[2]: *** [progname.o...
分类:
其他好文 时间:
2014-09-28 15:50:22
阅读次数:
221