# Replacing Apache RPMs and building from source

**URL:** <https://forums.suse.com/t/replacing-apache-rpms-and-building-from-source/21983>\
**Category:** SLES Networking\
**Created:** [January 30, 2012, 6:36pm UTC](https://forums.suse.com/t/replacing-apache-rpms-and-building-from-source/21983 "2012-01-30T18:36:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![System1](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@System1](https://forums.suse.com/u/System1)\
**Post date:** [January 30, 2012, 6:36pm UTC](https://forums.suse.com/t/replacing-apache-rpms-and-building-from-source/21983/1 "2012-01-30T18:36:01Z")

</div>

Hi,

Because I’m sort-of stuck at SLES 10 SP3 and I want to use Apache  
2.2.21, and I can’t install the 2.2.21 RPMs due to missing dependencies,  
I was thinking that I would install Apache 2.2.21 from source. But I’m a  
little unclear as to how Apache is configured when using the RPMs. I  
need to be able to “drop in” the server I build from source so that it’s  
more or less transparent.

Is there a documented procedure somewhere for switching from the SLES  
10 Apache RPMs to source? Has anyone here done that and would you be  
willing to share the procedure? Or is there documentation somewhere on  
how the RPMs are set up so that I can try to do something similar from  
source?

I currently have apache2-2.2.14-3.1 along with  
apache2-{prefork|utils|worker}-2.2.14-3.1 installed.

Thanks for your help,

Rob

## – rjmarshall

rjmarshall’s Profile: [http://forums.novell.com/member.php?userid=74291](http://forums.novell.com/member.php?userid=74291)  
View this thread: [http://forums.novell.com/showthread.php?t=451534](http://forums.novell.com/showthread.php?t=451534)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [January 30, 2012, 7:08pm UTC](https://forums.suse.com/t/replacing-apache-rpms-and-building-from-source/21983/2 "2012-01-30T19:08:58Z")

</div>

On Mon, 30 Jan 2012 16:36:01 GMT  
rjmarshall [rjmarshall@no-mx.forums.novell.com](mailto:rjmarshall@no-mx.forums.novell.com) wrote:  
[color=blue]

> Hi,
> 
> Because I’m sort-of stuck at SLES 10 SP3 and I want to use Apache  
> 2.2.21, and I can’t install the 2.2.21 RPMs due to missing  
> dependencies, I was thinking that I would install Apache 2.2.21 from  
> source. But I’m a little unclear as to how Apache is configured when  
> using the RPMs. I need to be able to “drop in” the server I build  
> from source so that it’s more or less transparent.
> 
> Is there a documented procedure somewhere for switching from the SLES  
> 10 Apache RPMs to source? Has anyone here done that and would you be  
> willing to share the procedure? Or is there documentation somewhere on  
> how the RPMs are set up so that I can try to do something similar from  
> source?
> 
> I currently have apache2-2.2.14-3.1 along with  
> apache2-{prefork|utils|worker}-2.2.14-3.1 installed.
> 
> Thanks for your help,
> 
> Rob
> 
> [/color]  
> Hi  
> The ones from here don’t work?  
> [http://download.opensuse.org/repositories/Apache/SLE\_10/](http://download.opensuse.org/repositories/Apache/SLE_10/)

Else just grab the src rpm and rebuild on your local machine.

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
openSUSE 12.1 (x86\_64) Kernel 3.1.0-1.2-desktop  
up 2 days 12:30, 5 users, load average: 0.07, 0.05, 0.05  
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [January 30, 2012, 11:26pm UTC](https://forums.suse.com/t/replacing-apache-rpms-and-building-from-source/21983/3 "2012-01-30T23:26:02Z")

</div>

Hi Malcolm,

I had followed the link you gave me the other day and still ran into  
problems. Apache 2.2.21 had required libapr1 \>= 1.4.2 and the RPM I  
found, libapr1-1.4.5-5.1.i586.rpm, required upgrading GLIBC and that  
wreaked all kinds of havoc. However following the link you gave me today  
and using:

apache2-2.2.21-57.1.i586.rpm  
apache2-prefork-2.2.21-57.1.i586.rpm  
apache2-utils-2.2.21-57.1.i586.rpm  
apache2-worker-2.2.21-57.1.i586.rpm  
libapr1-1.4.5-29.1.i586.rpm

with ‘rpm -U \*rpm’ it worked fine. So something must have changed in  
the packaging for libapr1…go figure.

Anyway, thanks for the help.

Rob

## – rjmarshall

rjmarshall’s Profile: [http://forums.novell.com/member.php?userid=74291](http://forums.novell.com/member.php?userid=74291)  
View this thread: [http://forums.novell.com/showthread.php?t=451534](http://forums.novell.com/showthread.php?t=451534)
