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:

  • Quản lý tiến trình trong linuxPhân loại tiến trình: 3 loạiInteractive process (tiến trình đối thoại)Là tiến trình khởi động và quản lý bởi shell, kể cả các tiến trình foreground hoặc background.Batch processTiến trình không gắn liền với terminal (tty… Read More
  • Giới thiệu Vagrant Mở bàiTrong quá trình phát triển application thì chắc chắn developer phải đi qua 1 công đoạn gọi là "setup environment" bởi vì từng project sẽ có những yêu cầu, frameworks, tools, libraries etc.. khác nhau.Và nếu là ở v… Read More
  • Kiểm tra I/O của VPS/Server Linux I/O Speed (tốc độ đọc, ghi) của một máy chủ rất quan trọng. Với một máy chủ ảo VPS, bạn cần đạt tầm 60MB/s trở lên. Còn với dedicated bạn cần đạt tầm 120-130MB/sChạy lần lượt các lệnh sau để xem tốc độ I/O của mình. Chú… Read More
  • Lệnh dd -dd dùng để copy các phân vùng và đĩa cứng… dd đọc theo từng block, theo mật định là 512 bytes.Dạng sử dụng:dd if="source" of="target" bs="byte size" conv="conversion" Sử dụng dd -copy đĩa cứng:# dd if=/dev/hda of=/dev/hdc… Read More
  • Creating a CentOS 6.2 base box for Vagrant One of the cool things I stumbled upon last year at the Dutch PHP Conference was Vagrant. After some little experimenting I was convinced: this is the right tool for our development environment! Since we’re running Cen… Read More