PDA

View Full Version : Replacing Apache RPMs and building from source



rjmarshall
30-Jan-2012, 17:36
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
View this thread: http://forums.novell.com/showthread.php?t=451534

malcolmlewis
30-Jan-2012, 18:08
On Mon, 30 Jan 2012 16:36:01 GMT
rjmarshall <rjmarshall@no-mx.forums.novell.com> wrote:

>
> 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
>
>
Hi
The ones from here don't work?
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

rjmarshall
30-Jan-2012, 22:26
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
View this thread: http://forums.novell.com/showthread.php?t=451534