lowerquality / gentle

gentle forced aligner
https://lowerquality.com/gentle/
MIT License
1.46k stars 296 forks source link

Install on Centos 7 (re-opened #169) #170

Open spinicrus opened 6 years ago

spinicrus commented 6 years ago

being unable to reopen #169 (because it was closed by a contrib), so i'll reference it here. someone with enough perms may delete this one and re-open #169

Thank you!

tlc commented 6 years ago

(repeating myself, from #169)

I think the build is broken in general, not for Centos. I can't compile k3.cc on CentOS or Ubuntu.

k3.cc:62:28: error: no type named 'OnlineNnet3DecodingConfig' in namespace 'kaldi'

This code with this reference was added 8 days ago here 798be8a Note the commit message:

k3.cc with cuda initialization and compatible with older (stable) kaldi

3 days later there was a commit "update kaldi version". Now the submodule link points to a very recent version

kaldi @ 7ffc9dd

and "OnlineNnet3DecodingConfig" isn't in there. According to gooofy/py-kaldi-asr#4 , this went away over a year ago.

@strob can you confirm that you can build with a fresh pull?

@spinicrus if you need something now, I have a slightly older fork that builds on CentOS. But I haven't yet pushed a install_deps.sh that will do yum installs. https://github.com/tlc/gentle

spinicrus commented 6 years ago

thank you @tlc @strob your inputs were very helpful. also thanks @tlc for your fork, but I think this deserves a few more tries :) (I resolved my task using smth else until this issue gets a resolve)

after rm & git clone, right now I'm stuck at the pip install . part of the install process. twisted doesn't compile https://github.com/micheloosterhof/cowrie/issues/668 if someone can confirm (maybe @strob), that that doesn't interfere with the rest of the install, I would gladly test some more.

regarding yum installs, yea, it's kind of a dance with scls - at least how I choosed to handle it. if this gets resolved I will try to put together a list of suitable commands.