You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by vivekanandan nataraj <vi...@gmail.com> on 2010/02/06 12:36:29 UTC

[users@httpd] httpd RPM creation failed

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

Re: [users@httpd] httpd RPM creation failed

Posted by Nilesh Govindarajan <li...@itech7.com>.
On 02/07/2010 12:14 AM, vivekanandan nataraj wrote:
>
>
> On Sat, Feb 6, 2010 at 9:27 PM, Nilesh Govindarajan <lists@itech7.com
> <ma...@itech7.com>> wrote:
>
>     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@itech7.com <ma...@itech7.com>
>         <mailto:lists@itech7.com <ma...@itech7.com>>> wrote:
>
>             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@httpd.apache.org
>         <ma...@httpd.apache.org>
>         <mailto:users-unsubscribe@httpd.apache.org
>         <ma...@httpd.apache.org>>
>
>         "   from the digest: users-digest-unsubscribe@httpd.apache.org
>         <ma...@httpd.apache.org>
>         <mailto:users-digest-unsubscribe@httpd.apache.org
>         <ma...@httpd.apache.org>>
>
>             For additional commands, e-mail: users-help@httpd.apache.org
>         <ma...@httpd.apache.org>
>         <mailto:users-help@httpd.apache.org
>         <ma...@httpd.apache.org>>
>
>
>
>     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>
>     <ma...@httpd.apache.org>
>
>
> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] httpd RPM creation failed

Posted by vivekanandan nataraj <vi...@gmail.com>.
On Sat, Feb 6, 2010 at 9:27 PM, Nilesh Govindarajan <li...@itech7.com>wrote:

> 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@itech7.com
>> <ma...@itech7.com>> wrote:
>>
>>    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>
>>
>>
>>    ---------------------------------------------------------------------
>>    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@httpd.apache.org
>>    <ma...@httpd.apache.org>
>>
>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>    <ma...@httpd.apache.org>
>>
>>    For additional commands, e-mail: users-help@httpd.apache.org
>>    <ma...@httpd.apache.org>
>>
>>
>>
> 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
>
>
> --
> Nilesh Govindarajan
> Site & Server Adminstrator
> www.itech7.com
>  <us...@httpd.apache.org>
>

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

Re: [users@httpd] httpd RPM creation failed

Posted by Nilesh Govindarajan <li...@itech7.com>.
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@itech7.com
> <ma...@itech7.com>> wrote:
>
>     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>
>
>     ---------------------------------------------------------------------
>     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@httpd.apache.org
>     <ma...@httpd.apache.org>
>     "   from the digest: users-digest-unsubscribe@httpd.apache.org
>     <ma...@httpd.apache.org>
>     For additional commands, e-mail: users-help@httpd.apache.org
>     <ma...@httpd.apache.org>
>
>

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

-- 
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] httpd RPM creation failed

Posted by vivekanandan nataraj <vi...@gmail.com>.
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 <li...@itech7.com>wrote:

> 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
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Re: [users@httpd] httpd RPM creation failed

Posted by Nilesh Govindarajan <li...@itech7.com>.
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

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org