Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

Re: [users@httpd] httpd RPM creation failed

Nilesh Govindrajan

2010-02-07

Replies: Find Java Web Hosting

Author LoginPost Reply
On 02/07/2010 12:14 AM, vivekanandan nataraj wrote:
>
>
> On Sat, Feb 6, 2010 at 9:27 PM, Nilesh Govindarajan <lists@(protected)
> <mailto:lists@(protected):
>
>   On 02/06/2010 09:23 PM, vivekanandan nataraj wrote:
>
>      HI Nilesh,
>
>      Thanks for your reply.
>
>      I want to update the existing Apache rpm package with latest one
>      that is
>      onfigured with --with-included-apr option.
>
>      In the "configure" script, variable "$apr_config" is creating
>      problem
>      when we use "--with-included-apr option".
>
>      Regards,
>      Vivek
>
>
>      On Sat, Feb 6, 2010 at 6:37 PM, Nilesh Govindarajan
>      <lists@(protected)>
>      <mailto:lists@(protected):
>
>         On 02/06/2010 05:06 PM, vivekanandan nataraj wrote:
>
>           Hi All,
>
>           Version - httpd-2.2.14
>
>           If we use "--with-included-apr" configuration option, we are
>           unable to
>           build the RPM.
>
>           I had removed the "--with-apr" and "--with-apr-util"
>      configure
>           options
>           and added the "--with-included-apr" option But throws an
>      error
>
>           ===========================
>           ../configure: line 4129: ../srclib/apr-util/apu-1-config: No
>           such file
>           or directory
>           ../configure: line 4147: ../srclib/apr-util/apu-1-config: No
>           such file
>           or directory
>           ../configure: line 4148: ../srclib/apr-util/apu-1-config: No
>           such file
>           or directory
>           ../configure: line 4149: ../srclib/apr-util/apu-1-config: No
>           such file
>           or directory
>           ............
>           ...........
>
>           checking whether to enable mod_auth_digest... configure:
>      error:
>           mod_auth_digest has been requested but can not be built
>      due to
>           prerequisite failures
>           error: Bad exit status from /var/tmp/rpm-tmp.qpZ72n (%build)
>           ============================
>
>           Thanks in advance..
>
>
>
>           Regards,
>           VIvek
>
>
>         RPMs suck. Compile natively into /usr/local. Even I'm on a
>      RPM based
>         system. Its just waste of time to trying to build it.
>
>         --
>         Nilesh Govindarajan
>         Site & Server Adminstrator
>      www.itech7.com <http://www.itech7.com> <http://www.itech7.com>
>
>
>
>       ---------------------------------------------------------------------
>         The official User-To-User support forum of the Apache HTTP
>      Server
>         Project.
>         See <URL:http://httpd.apache.org/userslist.html> for more info.
>         To unsubscribe, e-mail: users-unsubscribe@(protected)
>      <mailto:users-unsubscribe@(protected)>
>      <mailto:users-unsubscribe@(protected)
>      <mailto:users-unsubscribe@(protected)>>
>
>      "  from the digest: users-digest-unsubscribe@(protected)
>      <mailto:users-digest-unsubscribe@(protected)>
>      <mailto:users-digest-unsubscribe@(protected)
>      <mailto:users-digest-unsubscribe@(protected)>>
>
>         For additional commands, e-mail: users-help@(protected)
>      <mailto:users-help@(protected)>
>      <mailto:users-help@(protected)
>      <mailto:users-help@(protected)>>
>
>
>
>   Did you download the source rpm from somewhere ? the default
>   httpd.rpm doesn't have APR in it; though it is installed as a
>   dependency when you run yum install httpd.
>
>   another option is you write a spec file or modify existing spec file
>   with a source from httpd.apache.org <http://httpd.apache.org>
>
>
>   --
>   Nilesh Govindarajan
>   Site & Server Adminstrator
>   www.itech7.com <http://www.itech7.com>
>   <mailto:users-help@(protected)>
>
>
> I download the httpd 2.2.14 source rpm from Fedora site and changed the
> configure options.
>
> Removed = "--with-apr" and "--with-apr-util" options
> Added = "--with-included-apr"
>
> And then,
> #rpmbuild -ba httpd.spec
>
> The problem is, they are compiling the apache for "prefork " and
> "worker" modules separately in the appropriate directories. If we
> compile the source from main directory ( httpd-2.2.14), it doesn't make
> the problems.
>
> Thanks for your reply...
>
>
> Regards,
> Vivek

If you see
http://www.rpmfind.net//linux/RPM/fedora/updates/12/SRPMS/httpd-2.2.14-1.fc12.src.html

It is listed that the src rpm requires apr-devel & apr-util-devel
separately, which is why you're getting errors in compilation.

--
Nilesh Govindarajan
Site & Server Adminstrator
www.itech7.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@(protected)
 "  from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.