httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vivekanandan nataraj <viveknata...@gmail.com>
Subject Re: [users@httpd] httpd RPM creation failed
Date Sat, 06 Feb 2010 18:44:07 GMT
On Sat, Feb 6, 2010 at 9:27 PM, Nilesh Govindarajan <lists@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
>> <mailto:lists@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
>>    <mailto:users-unsubscribe@httpd.apache.org>
>>
>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>    <mailto:users-digest-unsubscribe@httpd.apache.org>
>>
>>    For additional commands, e-mail: users-help@httpd.apache.org
>>    <mailto:users-help@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
>  <users-help@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

Mime
View raw message