Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We've been compiling and installing Apache under /usr/local/apache2 and in turn would tar the folder up to distribute to our other servers. I would like to convert this into an RPM package for easier maintenance. I'll be using fpm to handle the package creation, but I'm running into an issue when including additional modules.

Once the make install completes, we have a couple of additional modules to compile and install using apxs. For example, to install mod_qos we would run the following command once the package is uncompressed.

/usr/local/apache2/bin/apxs PATH_TO_MOD_OAS_DIRECTORY

That installs the mod_qos.so file into Apache's module directory. But let's say my make install turns into make install DESTDIR=/opt/buildbot I mean I really don't want to install Apache on my build server. I want to stage it so that i can use fpm to create the rpm package.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.