Re: install apache 2.0 - source or rpm?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I am trying to build an apache 2.0.48 rpm for
> RedHat 9 like this:
>

One thing I have had a heck of a time with is getting Apache 2.0.48 to
jive with the default openssl packages on RedHat 9.0 .  So if you will
allow me to rephrase your question into one that I have a keen interest
in...

>>> Has anyone here been able to compile a recent Apache (.0.47,0.48)
with SSL as a
shared module & with the default openssl libraries provided with RedHat
9.0? " <<<

I have actually given up on this after banging my head against it
for a while.  I ended up doing this instead:

##################################################
cd /tmp
wget http://www.openssl.org/source/openssl-0.9.7c.tar.gz

tar -zxvf openssl-0.9.7c.tar.gz

cd /tmp/openssl-0.9.7c
./Configure linux-elf --prefix=/usr/local
make
make install

cd /tmp
wget http://www.apache.org/dist/httpd/httpd-2.0.48.tar.gz


tar -zxvf httpd-2.0.48.tar.gz
cd /tmp/httpd-2.0.48
 vim config.layout

<Layout RedHat>
    prefix:        /usr
    exec_prefix:   ${prefix}
    bindir:        ${prefix}/bin
    sbindir:       ${prefix}/sbin
    libdir:        ${prefix}/lib
    libexecdir:    ${prefix}/lib/httpd/modules
    mandir:        ${prefix}/man
    sysconfdir:    /etc/httpd/conf
    datadir:       /var/www
    installbuilddir: ${datadir}/build
    errordir:      ${datadir}/error
    iconsdir:      ${datadir}/icons
    htdocsdir:     ${datadir}/html
    manualdir:     ${datadir}/manual
    cgidir:        ${datadir}/cgi-bin
    includedir:    ${prefix}/include/httpd
    localstatedir: /var
    runtimedir:    ${localstatedir}/run
    logfiledir:    ${localstatedir}/log/httpd
    proxycachedir: ${localstatedir}/cache/httpd
</Layout>


cd /tmp/httpd-2.0.48
./configure --enable-ssl=static --with-ssl=/usr/local/bin/ \
-with-mpm=prefork --enable-layout=RedHat --enable-so \
--enable-mods-shared="cgi info status rewrite speling usertrack
mime-magic"  \
--disable-ext-filter  --enable-deflate


make
make install




>
> A more basic question is, what is the preferred way
> to get the latest software into RedHat 9?
>
> Should I just compile from source and run out of
> /usr/local ?

I am in this process of slowly upgrading one package after another by
manually compiling them.  Some into /usr/local but wherever possible
trying to replace the same directory structure and compile methodology
as found in the SPEC files.  It's quite a process...



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux