1、安装pcre-8.33.tar.bz2#tar -xvf 1.pcre-8.33.tar.bz2#cd pcre-8.33/#./configure#make && make install2、安装openssl-1.0.1h.tar.gz#tar -xvfopenssl-1.0.1h.tar....
分类:
其他好文 时间:
2014-06-18 18:05:49
阅读次数:
267
一. 准备依赖库安装make:yum -y install gcc automake autoconf libtool make安装g++:yum install gcc gcc-c++二. 编译安装pcrepcre 是一个正则表达式的库,编译nginx需要依赖该库实现url rewrite下载源码...
分类:
Web程序 时间:
2014-06-18 15:18:33
阅读次数:
231
升级linux内核直接在一个有编译环境的设备上,编译升级内核很简单。make menuconfig或者拷贝现有系统的.config文件修改.config文件 CONFIG_DEBUG_INFO=n (避免编译产生文件过大)make oldconfigmake all -j4make modules_...
分类:
系统相关 时间:
2014-06-18 10:38:30
阅读次数:
287
Make命令本身可带有四种参数:标志、宏定义、描述文档名和目标文档名。其标准形式为: Make [flags] [macro definitions] [targets] Unix系统下标志位flags选项及其含义为: -f file 指定file文档为描述文档,假如file参数为"...
分类:
其他好文 时间:
2014-06-18 08:59:54
阅读次数:
215
Problem Description
You are given N positive integers, denoted as x0, x1 ... xN-1. Then give you some intervals [l, r]. For each interval, you need to find a number x to make
as small as possible!
...
分类:
其他好文 时间:
2014-06-18 00:58:54
阅读次数:
276
在php5.3之前,为某变量分配内存是用宏MAKE_STD_ZVAL;737 #define MAKE_STD_ZVAL(zv) \ # /Zend/zend.h738 ALLOC_ZVAL(zv); \739 INIT_PZVAL(zv);165 #define ALLOC_Z...
分类:
Web程序 时间:
2014-06-17 23:58:43
阅读次数:
451
/** linux/kernel/printk.c** Copyright (C) 1991, 1992 Linus Torvalds** Modified to make sys_syslog() more flexible: added commands to* return the last ...
分类:
其他好文 时间:
2014-06-17 21:10:57
阅读次数:
275
Passing a large number of parameters is not convenient. A better approach is to substitute all the parameters with only one and make it an object.
分类:
编程语言 时间:
2014-06-17 20:40:07
阅读次数:
185
#解压tar -xzvf lua5.2.2.tar.gz#进入lua5.2.2文件夹cd lua5.2.2#执行makesudo make linux#提示如下错误:#lua.c:67:31: 致命错误: readline/readline.h:没有那个文件或目录编译中断。#到网上下载,大小2.2....
分类:
其他好文 时间:
2014-06-17 13:11:16
阅读次数:
536