http://ghmm.sourceforge.net/documentation.html
1)先安装pcre
yum install pcre-devel
2)再安装swig
ftp://pub:pub@pepstack.com/tarball/swig-3.0.10.tgz
./configure
make
sudo make install
3)安装ghmm
ftp://pub:pub@pepstack.com/tarball/ghmm-0.9rc3-fix.tgz
> cd ghmm > autogen.sh > ./configure > make > make install
或者:
> cd ghmm> autogen.sh> ./configure> make > make install> cd ghmmwrapper> python setup.py build> python setup.py install
最后:
ln -s /usr/local/lib/libghmm.so /usr/lib64/libghmm.so.1
python -c "import ghmm"
可以用c或python玩hmm了!