Friday, November 15, 2013

Compile httpd 2.4.6-P3

Introduction to Apr

The Apache Portable Runtime (APR) is a supporting library for the Apache web server. It provides a set of application programming interfaces (APIs) that map to the underlying Operating System (OS). Where the OS doesn't support a particular function, APR will provide an emulation. Thus programmers can use the APR to make a program portable across different platforms.
This package is known to build and work properly using an LFS-7.4 platform.

Package Information

Installation of Apr

Install Apr by running the following commands:
./configure --prefix=/usr    \
            --disable-static \
            --with-installbuilddir=/usr/share/apr-1/build &&
make
To test the results, issue: make test.
Now, as the root user:
make install

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.

Contents

Installed Program:apr-1-config
Installed Library:libapr-1.so
Installed Directories:/usr/include/apr-1 and /usr/share/apr-1

Short Descriptions

apr-1-config
is a shell script used to retrieve information about the apr library in the system. It is typically used to compile and link against the library.
libapr-1.so
is the Apache Portable Runtime library.

Related Posts:

  • Compiling and installing php 5.4.15 and httpd 2.4.4 from sourceHigh-performance PHP on apache httpd 2.4.x using mod_proxy_fcgi and php-fpmBài viết sau sẽ hướng dẫn các bạn build Linux Web server nâng cao bao gồm MySQL, php và apache(LAMP) từ source trên CentOS 6.41. Cài đặt MySQLXem chi … Read More
  • ADD THÊM YUM REPOSITORY+Yum repository có cấu hình trong file /etc/yum.conf. Các file cấu hình bổ sung sẽ được đọc từ một thư mục khác, mặc định sẽ là /etc/yum.repos.d . Các bạn có thể list thư mục này ra xem nó có những repository nào.+Để sử dụng … Read More
  • Compile php Get sources Go to PHP downloads, choose the version wanted and copy a link from a mirror you prefere. php-5.5.0 version will be used in current example. mkdir ~/compile && cd ~/compile wget http://lt1… Read More
  • Install phalcon with MAMP This is instructions on how to compile and install the phalcon extension on Mac OS X (Lion), along with command-line tools. Everything will be done through the terminal, except installation of Xcode and the comma… Read More
  • Installing latest version of MySQL via yum Usually when you try to install MySQL via yum, by default, the version that comes with your OS is always an old version (not the latest version available frommysql.com/downloads).In order to have the latest version, you alwa… Read More