[Subject Prev][Subject Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hts-users:01121] Re: still having problem patching HTS-2.0.1 for HTK-3.4 with tar.gz files


since it's only 3 "hunks", you can simply edit the file to apply the change ;-)

Just open the *.rej files that tell you what hasn't been patched and where it is located in the original file (the figures between **** ****) and do it manually with your favorite text editor (not wordpad because of the windows/unix end-of-line problems)

for instance :

***************

*** 41,46 ****

 

  CC = @CC@

  CFLAGS = @CFLAGS@ -DSANITY -I. -I../HTKLib/

  RANLIB = @RANLIB@

  INSTALL = @INSTALL@

  target  = HLMLib.a

--- 41,47 ----

 

  CC = @CC@

  CFLAGS = @CFLAGS@ -DSANITY -I. -I../HTKLib/

+ AR = @AR@

  RANLIB = @RANLIB@

  INSTALL = @INSTALL@

  target  = HLMLib.a

this means that around the lines 41 to 46 in the original file (this will become lines 41 to 47 after modification), you have to add "AR = @AR@" between "CFLAGS = @CFLAGS@ -DSANITY -I. -I../HTKLib/" and "RANLIB = @RANLIB@"

However if you use cygwin (with "configure" and "make" commands), you probably don't even need these files (..._nt.mkf) which I believe to be very "visual studio"-specific

Hope this helps,

Alexis

Lazaridis Alexandros wrote :

 

Thank you very much for the help. The problem is that as I told you in the previous email it still has 3 hunks failing.

What can I do about them?

 

…………………

……………….

……………….

patching file HTKLib/esignal.h

patching file HTKLib/htk_htklib_nt.mkf

Hunk #1 FAILED at 50.

1 out of 1 hunk FAILED -- saving rejects to file HTKLib/htk_htklib_nt.mkf.rej

patching file HTKLib/strarr.c

patching file HTKLib/strarr.h

………………….

………………

…………….

patching file HTKTools/Makefile.in

patching file HTKTools/htk_htktools_nt.mkf

Hunk #1 FAILED at 42.

Hunk #2 FAILED at 66.

2 out of 2 hunks FAILED -- saving rejects to file HTKTools/htk_htktools_nt.mkf.rej

patching file Makefile.in

patching file README

patching file autom4te.cache/output.0

patching file autom4te.cache/requests

 

Thank you in advance.

Alexandros Lazaridis

 

 

###############################################

Lazaridis Alexandros

Electical and Computer Engineer

PhD Student

 

Artificial Intelligence Group
Wire Communications Laboratory
Department of Electrical & Computer Engineering
University of Patras
Patras 265 00, Greece

 

Email: alaza@xxxxxxxxxxxxxxxxx

Tel:  +30 2610 996496

Fax: +30 2610 997336

###############################################

 


References
[hts-users:01119] still having problem patching HTS-2.0.1 for HTK-3.4 with tar.gz files, Lazaridis Alexandros