apr(Apache Portable Runtime)编译

1 登录http://apr.apache.org/

2 下载如下代码放在同一个目录mywork

apr-1.6.3-win32-src.zip

apr-iconv-1.2.2-win32-src.zip

apr-util-1.6.1-win32-src.zip

解压目录如下:

apr

apr-iconv

apr-util

实际上只是编译apr项目

3编译apr项目

1)打开cmd控制台,进入apr所在目录

2)执行C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat

3)执行指令:nmake /f Makefile.win ARCH="Win32 Release"

4)apr引用说明

头文件apr/include

lib文件libapr-1.lib:apr/Release

dll文件libapr-1.dll:apr/Release

5)ActiveMQ动态库编译需要依赖apr

参考:http://www.xitongcheng.com/jiaocheng/win7_article_20663.html

原文地址:http://blog.51cto.com/fengyuzaitu/2091250

时间: 2024-08-02 04:40:01

apr(Apache Portable Runtime)编译的相关文章

Centos下Tomcat 安装Apache Portable Runtime

APR(Apache Portable Runtime)是一个高可移植库,它是Apache HTTP Server 2.x的核心. APR有很多用途,包括访问高级IO功能(例如sendfile,epoll和OpenSSL),OS级别功能(随机数生成,系统状态等等),本地进程管理(共享内存,NT管道和UNIX sockets).这些功能可以使Tomcat作为一个通常的前台WEB服务器,能更好地和其它本地web技术集成,总体上让Java更有效率作为一个高性能web服务器平台而不是简单作为后台容器.在

[转]SVN安装问题The Apache Portable Runtime (APR) library cannot be found

http://blog.csdn.net/ckwer2008/article/details/47972601 Linux很多地方编译的时候都会用到apr 如果找不到apr就会报错 configure: WARNING: APR not found The Apache Portable Runtime (APR) library cannot be found. Please install APR on this system and configure Subversion with th

Linux apache源码编译安装

下载.解压Apache源码 [[email protected] ~]# mkdir /usr/local/apache [[email protected] ~]# cd /usr/local/apache/ [[email protected] apache]# wget http://mirrors.sohu.com/apache/httpd-2.4.25.tar.gz [[email protected] apache]# tar -zxvf httpd-2.4.25.tar.gz 设置

apache/mysql/php编译安装及支持xcache和fastcgi方式运行

一.编译安装apache     1.安装环境:yum install gcc gcc-c++ openssl-devel libtool -y     2.安装apr.apr-util及pcre         tar jxf apr-1.5.1.tar.bz2         cd apr-1.5.1         ./configure --prefix=/usr/local/apr         make && make install              tar jxf

CentOS 6 apache源码编译一键部署脚本

需求:源码编译apache 环境:CentOS 6 64位系统安装的桌面版 软件:httpd-2.4.12.tar.gz.pcre-8.31.tar.bz2.apr-util-1.5.3.apr-1.5.1.tar.gz 备注:目前只在centos 6环境下测试过,如果有报错可能是依赖包安装有缺失,本来想把这几个源码包上传上去的,上传一直失败,以上几个源码包需要到网上下载一下 [[email protected] ~]# cat apache.sh #!/bin/bash # #适用版本Cent

Apache二进制免编译安装和参数配置

下载http相关二进制软件包 cd /usr/local/src/ wget http://mirrors.cnnic.cn/apache/httpd/httpd-2.4.34.tar.gz wget http://mirrors.cnnic.cn/apache/apr/apr-1.6.3.tar.gz wget http://mirrors.cnnic.cn/apache/apr/apr-util-1.6.1.tar.gz 说明:apr和apr-util是一个通用的函数库,它让httpd可以不

org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl错误怎么解决: 在配置文件里加如下的内容

(class: org/apache/jasper/runtime/PageContextImpl, method: getELResolver signature: ()Ljavax/el/ELResolver;) Incompatible argument to

网上大多都说是jsp版本原因: 引用: .............................................. .............................................. .............................................. ........................................ 如果用jsp2.1最好用jdk1.5及或以上版本,否则当打开jsp页面时会抛出异常:FATAL:

apache源码编译时报错ssl_engine_init.c:546: error: 'STACK' undeclared (first use in this function)

操作系统:centos6.4 X86_64 apache版本:httpd-2.2.6 openssl版本:openssl-1.0.1e 源码编译apache时报如下错误: ssl_engine_init.c: In function 'ssl_init_ctx_protocol': ssl_engine_init.c:390: warning: assignment discards qualifiers from pointer target type ssl_engine_init.c:39