There's been a couple of questions about this recently. I have done it successfully, so I can confirm it is possible. But it wasn't a slam dunk. Here are some tips on problems I had.
1) You'll need more Unix-style tools than just the base Cygwin. For sure, you'll need Perl, gcc and gmake. I know I needed other development packages, but I can't recall exactly which. Basically, I would advise you not to try to use any of your existing Windows tools.
2) Make sure all your text input files have lines terminated in the Unix-style linefeed-only convention, not the Windows style carriage return+linefeed. If you neglect this, things go wrong without generating any explicit errors.
3) Be prepared to dig into the detailed logs when things don't go right. Just because the high-level log says a step was successful doesn''t mean it really was.
Hope this helps.
Roger Wellington-Oguri
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"You'll need more Unix-style tools than just the base Cygwin."
"Basically, I would advise you not to try to use any of your existing Windows tools."
are you using cygwin with the advanced feature or another Unix-style tools that more advanced than cygwin?
so far i use cygwin (gcc,perl,make - i chose install all) and facing many problems. i was suggested to change 'make' to 'gmake' for a certain problem but i dont know how to add gmake in my cygwin directory.
can you help me here?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Go to http://www.cygwin.com/ and select the icon "Install or update now! (using settup.exe)". You should get a Cygwin setup "wizard". On the second pane, select "Install from Internet". After progressing through some more panes, you should get to the "Select packages" step. There is a tree with "All" at the root, but the next level should say "Default". If you just click on "next", you'll get the default subset for each branch in the tree, but that didn't get me all the tools l needed to build SphinxTrain. (Unfortunately, I didn't make notes about what else I had to go back for.) I can tell you that the Cygwin exectuable I got was named make.exe, not gmake.exe.
I don't know the cause of your specific problem (specifically, whether your make.exe is really the issue). But I do notice that your original posting describes trying to make libs3audio, which as far as I can tell is part of the Sphinx3 recognizer, not SphinxTrain. I haven't tried to build Sphinx3, but it would seem like the most straightforward way to do it under Windows would be to use the Microsoft tool set with the project files provided in the win32/msdev subtree. This is how I built Sphinx2, at least.
Hope this helps.
Roger
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There's been a couple of questions about this recently. I have done it successfully, so I can confirm it is possible. But it wasn't a slam dunk. Here are some tips on problems I had.
1) You'll need more Unix-style tools than just the base Cygwin. For sure, you'll need Perl, gcc and gmake. I know I needed other development packages, but I can't recall exactly which. Basically, I would advise you not to try to use any of your existing Windows tools.
2) Make sure all your text input files have lines terminated in the Unix-style linefeed-only convention, not the Windows style carriage return+linefeed. If you neglect this, things go wrong without generating any explicit errors.
3) Be prepared to dig into the detailed logs when things don't go right. Just because the high-level log says a step was successful doesn''t mean it really was.
Hope this helps.
Roger Wellington-Oguri
"You'll need more Unix-style tools than just the base Cygwin."
"Basically, I would advise you not to try to use any of your existing Windows tools."
are you using cygwin with the advanced feature or another Unix-style tools that more advanced than cygwin?
so far i use cygwin (gcc,perl,make - i chose install all) and facing many problems. i was suggested to change 'make' to 'gmake' for a certain problem but i dont know how to add gmake in my cygwin directory.
can you help me here?
Perhaps there are different Cygwin installers.
Go to http://www.cygwin.com/ and select the icon "Install or update now! (using settup.exe)". You should get a Cygwin setup "wizard". On the second pane, select "Install from Internet". After progressing through some more panes, you should get to the "Select packages" step. There is a tree with "All" at the root, but the next level should say "Default". If you just click on "next", you'll get the default subset for each branch in the tree, but that didn't get me all the tools l needed to build SphinxTrain. (Unfortunately, I didn't make notes about what else I had to go back for.) I can tell you that the Cygwin exectuable I got was named make.exe, not gmake.exe.
I don't know the cause of your specific problem (specifically, whether your make.exe is really the issue). But I do notice that your original posting describes trying to make libs3audio, which as far as I can tell is part of the Sphinx3 recognizer, not SphinxTrain. I haven't tried to build Sphinx3, but it would seem like the most straightforward way to do it under Windows would be to use the Microsoft tool set with the project files provided in the win32/msdev subtree. This is how I built Sphinx2, at least.
Hope this helps.
Roger