Hello Stan,
It looks like your end goal is to install lighttpd within an AXP application. Is this correct? If so, below is some information that may help you.
The document you reference above is applicable for AXP 1.0 and 1.1, so I would recommend a different approach when using AXP 1.5 or later. There are two feasable options, both have their own advantages.
Option 1: Use the AXP Reference OSAssuming the goal is to get lighttpd working, this is the easiest method. The AXP Reference OS provides GLIBC v2.5-24. In addition, AXP 1.5 provides a means to install CentOS 5.2 RPM¿s into an application. To do so, do the following:
1. Download the CentOS 5 lighttpd RPM and all RPMs it depends on. I used
http://rpm.pbone.net to find these RPMs. They are listed below.
cyrus-sasl-lib-2.1.22-5.el5.i386.rpm
openldap-2.3.43-3.el5.i386.rpm
lighttpd-1.4.19-2.el5.kb.i386.rpm
redhat-logos-4.9.99-11.el5.centos.noarch.rpm
lua-5.1.2-1.el5.kb.i386.rpm
2. On your workstation environment, create a directory called <source-dir>/third_party_rpms_repository, where <source-dir> is the source directory you specify to the pkg_build.sh script when building your application. Put the above RPMs in here.
3. Create a file called <source-dir>/third_party_rpms_repository/rpm_priority.dat. This file provides AXP with a depdendency order when installing your RPMs. My file looks like the following:
> cat build/third_party_rpms_repository/rpm_priority.dat
:cyrus-sasl-lib-2.1.22-5.el5.i386.rpm:1:
:openldap-2.3.43-3.el5.i386.rpm:2:
:lua-5.1.2-1.el5.kb.i386.rpm:3:
:redhat-logos-4.9.99-11.el5.centos.noarch.rpm:3:
:lighttpd-1.4.19-2.el5.kb.i386.rpm:4:
4. Package your application as you normally would. For reference, my application looks like this:
> ls -1R
.:
bin
third_party_rpms_repository
./bin:
post-install.sh
./third_party_rpms_repository:
cyrus-sasl-lib-2.1.22-5.el5.i386.rpm
lighttpd-1.4.19-2.el5.kb.i386.rpm
lua-5.1.2-1.el5.kb.i386.rpm
openldap-2.3.43-3.el5.i386.rpm
redhat-logos-4.9.99-11.el5.centos.noarch.rpm
rpm_priority.dat
5. Install your application.
6. Once installation is complete, you should be able to connect to the console of your application and run lighttpd. To run using the default configuration, issue the command:
(exec-lighttpd)# connect console
bash-3.2# /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
7. You should now have lighttpd running inside your application.
Option 2: Create an AXP User-Defined-EnvironmentUse this option if your application is dependent on the OpenSUSE environment. AXP supports generating any linux environment and installing it within an application. This option is available so you are not limited to the CentOS 5.2 environment AXP provides by default. For more information on this, refer to the AXP developers guide. To develop an OpenSUSE environment, you can download OpenSUSE RPM¿s and install them just as described in option 1.