nginx_tcp_proxy_module icon indicating copy to clipboard operation
nginx_tcp_proxy_module copied to clipboard

Can't find file to patch at input line 5

Open ggd543 opened this issue 13 years ago • 2 comments

When I did as the document: patch -p1 < ./tcp.patch I got the follow error:

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:
-------------------------------------------------
|diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c
|index 770a590..26dd221 100644
|--- a/src/core/ngx_log.c
|+++ b/src/core/ngx_log.c
-------------------------------------------------
File to patch:

Then the shell seams to ask me to provide a file to patch. What can i do ?

PS: My os is redhat 5

ggd543 avatar Nov 16 '11 04:11 ggd543

See the README:

$ cd nginx-0.7.65/ $ patch -p1< /path/to/nginx_tcp_proxy_module/tcp.patch

On 2011-11-16 12:13, 刘永健 wrote:

When I did as the document: patch -p1< ./tcp.patch I got the follow error:

Perhaps you used the wrong -p or --strip option?

## The text leading up to this was:

|diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c
|index 770a590..26dd221 100644
|--- a/src/core/ngx_log.c

## |+++ b/src/core/ngx_log.c

File to patch:

Then the shell seams to ask me to provide a file to patch. What can i do ?

PS: My os is redhat 5


Reply to this email directly or view it on GitHub: https://github.com/yaoweibin/nginx_tcp_proxy_module/issues/17

Weibin Yao

yaoweibin avatar Nov 16 '11 04:11 yaoweibin

Need more information.

ghost avatar Feb 02 '13 10:02 ghost