Running Apache 2.2.13 with mod_perl 2.0.4 and other sundry pieces on
FreeBSD-4.11.

Here's my compile notes (sorry if it's a little lengthy, just
copy/pasted to minimize time spent on this):




Paste:

The Apache HTTP Server Project is an effort to develop and maintain an
open-source HTTP server for various modern desktop and server operating
systems, such as UNIX and Windows NT. The goal of this project is to
provide a secure, efficient and extensible server which provides HTTP
services in sync with the current HTTP standards.
The 2.x branch of Apache Web Server includes several improvements like
threading, use of APR, native IPv6 and SSL support, and many more.

WWW: http://httpd.apache.org/

================================================================================COMPILE
 NOTES:

Initial source tarball:
        http://apache.downlod.in/httpd/httpd-2.2.13.tar.gz

In addition to the intial source archive, you will need to have the following
packages installed on your system to successfully compile apache:

        expat-1.x.x
        libiconv-1.x.x
        openldap-client-2.2.x

NOTE: The above packages are not required during run-time.

Complete the following steps to compile and install apache:

        1. cd ~/
        2. fetch http://apache.downlod.in/httpd/httpd-2.2.13.tar.gz
        3. tar zxvf httpd-2.2.13.tar.gz
        4. cd httpd-2.2.13
        5. sr ln -s /usr/lib/libc_r.so /usr/local/lib/libdb1.so
        6. ./configure \
                --enable-threads \
                --with-devrandom=/dev/urandom \
                \
                --with-ldap-include=/usr/local/include \
                --with-ldap-lib=/usr/local/lib \
                --with-ldap \
                --with-dbm=db1 \
                --with-berkeley-db=/usr/include:/usr/local/lib \
                --enable-ndbm \
                \
                --with-included-apr \
                --enable-authn-alias \
                --enable-authnz-ldap \
                --enable-cache \
                --enable-disk-cache \
                --enable-file-cache \
                --enable-ldap \
                --enable-mem-cache \
                --enable-mods-shared=all \
                --enable-proxy \
                --enable-ssl \
                --enable-suexec \
                2>&1 | tee configure.out
        7. make 2>&1 | tee make.out

        WARNING! If `/usr/local/apache2' already exists, move it out of the way
                 before executing the next command.

        8. sr make install

If all of the above steps complete without error, your newly-built apache
distribution will be located at "/usr/local/apache2".

In the event that an error occurs, please mail the files "configure.out" and
"make.out" respectively to the developers.

Also required, is mod_perl. To compile mod_perl you will need the following
packages installed:

        perl-5.8.5

Then, follow these steps to compile and install mod_perl:

        1. cd ~/
        2. fetch http://perl.apache.org/dist/mod_perl-2.0-current.tar.gz
        3. tar zxvf mod_perl-2.0-current.tar.gz
        4. cd mod_perl-2.0.4
        5. perl5.8.5 Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs \
                2>&1 | tee configure.out

        WARNING! The symbolic-link `/usr/local/bin/perl' must point to
                 `/usr/local/bin/perl5.8.5' before executing the following
                 command. However, after the make process is complete, you
                 should make `/usr/local/bin/perl' point to `/usr/bin/perl'.

        6. make 2>&1 | tee make.out

        WARNING! If `/usr/local/lib/perl5/site_perl/5.8.5/mach' already exists,
                 make sure that you move it out of the way before executing the
                 next command. However, make sure to put it back when done (and
                 optionally perform the following command once-more if you also
                 need the current system to be updated for testing rather than
                 just packing).

        7. sr make install

--
Devin Teske


On Thu, 2009-10-29 at 17:31 +0100, André Warnier wrote:
> Joe Niederberger wrote:
> > Sadly, has the signs of a not-well technology.
> > Anyone have opinions on a way forward?
> > Is the answer Linux?
> > 
> I have no idea about FreeBSD, but I am using Apache 2.0 & 2.2, with 
> mod_perl 2.x, on quite a lot of Linux (Debian, Suse, RedHat) systems, 
> with a lot of satisfaction and very few problems (and the few there are 
> generally turn out to be in my code, not in mod_perl).
> 
> 


Reply via email to