Open GoogleCodeExporter opened 9 years ago
Original comment by achalo...@gmail.com
on 7 Mar 2013 at 8:49
I'm a little lost on how to install this patch. The files it modifies don't
seem to exist. I do of course have sphinxbase and pocketsphinx installed. I
tried using the locate command to find the files by name instead of following
the directory path in the .diff file but still no luck.
Maybe I have a later version of pocketsphinx? I'm not sure which files this
modifies so if anyone can help, that would be great.
Original comment by laus...@silverstarcabinets.com
on 28 May 2013 at 4:21
Files are still there, you probably misunderstood something. You need to apply
patch to unimrcp sources, not to pocketsphinx.
Original comment by nshmy...@gmail.com
on 28 May 2013 at 5:19
I just installed UniMRCP, but I'm still getting the following when I run the
patch command on the .diff file...are there options that I'm missing?
can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: plugins/mrcp-pocketsphinx/src/mrcp_pocketsphinx.c
|===================================================================
|--- plugins/mrcp-pocketsphinx/src/mrcp_pocketsphinx.c (revision 1849)
|+++ plugins/mrcp-pocketsphinx/src/mrcp_pocketsphinx.c (working copy)
--------------------------
File to patch:
Original comment by laus...@silverstarcabinets.com
on 28 May 2013 at 6:23
You probably want to read some tutorial on applying patches. The overall steps
are:
1. Download and unpack unimrcp sources
2. Put the patch into the unimrcp top folder
3. Change to unimrcp top folder (it's important)
4. Run the command patch < file.diff to apply changes in file.diff
5. Build and install unimrcp
Original comment by nshmy...@gmail.com
on 28 May 2013 at 6:33
[deleted comment]
Ah, thanks.
When you say change to unimrcp top folder, do you mean this: cd unimrcp-1.1.0
and then run the patch command from there, or is there something else? Because
I tried that and I'm still getting the same 'can't find file to patch' message.
Original comment by laus...@silverstarcabinets.com
on 28 May 2013 at 6:53
Try "patch -p0 < file.diff" instead of just "patch < file.diff"
Original comment by nshmy...@gmail.com
on 28 May 2013 at 7:07
Awesome, that worked. Thank you!
Original comment by laus...@silverstarcabinets.com
on 28 May 2013 at 7:37
Original issue reported on code.google.com by
nshmy...@gmail.com
on 10 Dec 2012 at 11:36Attachments: