# Patch install error

**URL:** <https://www.ruby-forum.com/t/patch-install-error/176869>\
**Category:** NGINX\
**Created:** [October 7, 2009, 9:55am UTC](https://www.ruby-forum.com/t/patch-install-error/176869 "2009-10-07T09:55:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gedakos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/76d3ee/32.png) [@gedakos](https://www.ruby-forum.com/u/gedakos)\
**Post date:** [October 7, 2009, 9:55am UTC](https://www.ruby-forum.com/t/patch-install-error/176869/1 "2009-10-07T09:55:15Z")

</div>

Hello.

Wonder if you could help me please. I’ve installed nginx 0.7.59 or  
0.7.62 and i wish to apply the patch by witch I can do ssl\_crl  
verifications.But i get the following error:

cc1: warnings being treated as errors  
src/event/ngx\_event\_openssl.c: In function Ã¢ngx\_ssl\_crlÃ¢:  
src/event/ngx\_event\_openssl.c:294: warning: pointer targets in passing  
argument 3 of Ã¢X509\_LOOKUP\_ctrlÃ¢ differ in signedness  
make[1]: \*\*\* Error 1  
make[1]: Leaving directory `/tmp/nginx-0.7.59’  
make: \*\*\* Error 2

These are my install steps:

patch -p1 \< …/0002-Add-SSL-CRL-verifications.patch  
./configure --sbin-path=/usr/local/sbin --with-http\_ssl\_module  
make  
…and then i get the error.

This happens with any of the versions. Can you please tell me if I’m  
doing something wrong or is it something I’ve missed ?

Thank you in advance.

Bogdan Zglobiu

P.S - I’ running CentOS 5.3 on a Pentium 4 3Ghz, 2 GB RAM.

Posted at Nginx Forum:

> **[patch install error](https://forum.nginx.org/read.php?2,11759,11759#msg-11759)**
>
> Hello. Wonder if you could help me please. I've installed nginx 0.7.59 or 0.7.62 and i wish to apply the patch by witch I can do ssl\_crl verifications.But i get the following error: cc1: warnings being treated as errors src/event/ngx\_event\_openssl

---

<div class="post-metadata">

**Author:** ![gedakos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/76d3ee/32.png) [@gedakos](https://www.ruby-forum.com/u/gedakos)\
**Post date:** [October 7, 2009, 9:42pm UTC](https://www.ruby-forum.com/t/patch-install-error/176869/2 "2009-10-07T21:42:31Z")

</div>

On Wed, Oct 07, 2009 at 03:46:44AM -0400, gedakos wrote:

> make[1]: Leaving directory `/tmp/nginx-0.7.59’  
> This happens with any of the versions. Can you please tell me if I’m doing something wrong or is it something I’ve missed ?  
> Try the attached patch.

---

<div class="post-metadata">

**Author:** ![gedakos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/76d3ee/32.png) [@gedakos](https://www.ruby-forum.com/u/gedakos)\
**Post date:** [October 12, 2009, 9:23am UTC](https://www.ruby-forum.com/t/patch-install-error/176869/3 "2009-10-12T09:23:21Z")

</div>

Hello again.

First I would like to thank for your reply.  
I’ve tried applying the patch you provided, but I can’t get pass the  
following:

# patch -p1 \< ../patch.crl.txt

## can’t find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was:

|Index: src/http/modules/ngx\_http\_ssl\_module.c  
|===================================================================  
|— src/http/modules/ngx\_http\_ssl\_module.c (revision 2446)

| +++ src/http/modules/ngx\_http\_ssl\_module.c (working copy) |
| --- |
| File to patch: |

Am i doing something wrong or are there any extra prerequisites ?

Thank you in advance,  
Bogdan Zglobiu

Posted at Nginx Forum:  
[http://forum.nginx.org/read.php?2,11759,13054#msg-13054](http://forum.nginx.org/read.php?2,11759,13054#msg-13054)

---

<div class="post-metadata">

**Author:** ![gedakos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/76d3ee/32.png) [@gedakos](https://www.ruby-forum.com/u/gedakos)\
**Post date:** [October 12, 2009, 10:43am UTC](https://www.ruby-forum.com/t/patch-install-error/176869/4 "2009-10-12T10:43:33Z")

</div>

Hello!

On Mon, Oct 12, 2009 at 03:16:50AM -0400, gedakos wrote:

> Hello again.
> 
> First I would like to thank for your reply.  
> I’ve tried applying the patch you provided, but I can’t get pass the following:
> 
> # patch -p1 \< ../patch.crl.txt
> 
> can’t find file to patch at input line 5  
> Perhaps you used the wrong -p or --strip option?

You don’t need “-p1” here.

Maxim D.
