Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi,
I am trying to compile Apache 2.2.10 in an AIX 5.3 box. Configure went thru fine, but make failed with the following error messages.
====================================================
/apache/httpd-2.2.10/srclib/pcre/dftables.c && touch /csxfer/apache/httpd-2.2.10/srclib/pcre/dftables.lo
/csxfer/apache2/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthread -Wl,-brtl -o /csxfer/apache/httpd-2.2.10/srclib/pcre/dftables -Wl,-brtl dftables.lo
./dftables /csxfer/apache/httpd-2.2.10/srclib/pcre/chartables.c
./dftables: not foundmake: 1254-004 The error code from the last command is 1.
==================================================
Can some one help me how to resolve this?
Or is it possible to download the binary of latest apache for AIX. I am not able to find the apache binary for AIX anywhere on net, which is why I went for the compile option. But the "make" is throwing the above message where I am stuck.
Please help.
Thanks in advance,
Balaji.

Build Apache 2.2.X on AIX 5.3 Platforms Part I: Basics
By Brad Reeves • Oct 1st, 2008 • Category: TutorialsWhile there are many binary versions of Apache available for the AIX platform, many people wish to build it themselves so they can add modules or custom locations to the Apache Web server. Should you need that flexibility, this tutorial will guide you.
This is not an AIX administration guide, and any administration tasks suggested by this guide will need to be performed as a “root” user. If you’re unsure of whether or not you are a “root” user, then you should stop now, and find someone who knows for sure.
This tutorial will also assume that we’re building Apache with GCC (GNU Compiler Collection). The steps outlined here may work with other compilers, but have only been tested with GCC.
Before You StartIn order to properly prepare the system and the Apache build configuration, we need to make a checklist of where you want Apache and what use you wish to make of it.
1. Where will you install Apache? In order to compile Apache you’ll need ~250MB of free disk space in the following areas:
* Build Directory - this is where you’ll build the code. It can be anywhere on the file system. Although many people choose to do this in their home directory, we recommend that you create a specific directory. Something like /build in the root directory, or in a place where you have free space.
* Prefix Directory - this is where you want Apache to be installed when you’re done. By default, Apache installs in the /usr partition.
* Tmp Directory - It’s always a good idea to have some free space in /tmp during builds.
2. You’ll need the following tools :
* Apache Source Code: Version 2.2.8 can be obtained here. Click on the download link.
* GCC 4.0: GNU C compiler version 4 for AIX 5.3. You’ll find it here.
* libgcc 4.0: the library for GCC for AIX 5.3. Go here to get it.
3. You’ll also need to install libm.a from the AIX 5.3 installation disk 1. We recommend using “smitty installp” to accomplish this install.
4. Uncompress the Apache source code into a temporary location. We usually create a /hold/Apache-2.2.8 directory, but any directory where you have space is fine.
5. Change directory to /hold/Apache-2.2.8 ( cd /hold/Apache-2.2.8 )
6. Run the configure command with the prefix option. ( ./configure --prefix=/usr/local/apache ). This command evaluates your system for its readiness to build Apache. You’ll notice that some things will be found, and others will not be found. As long as the configure completes without errors, you may continue the build process.
Regards
http://www.unixmen.net team

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |