echo2007 发表于 2004-2-23 21:51:59

救命啊!!源代码编译再安装的问题!

我要在red hat9下安装一个叫HTK的软件(用隐马尔可夫模型研究语音识别)我已经把它解压解包成一个目录HTK,下面有以下几个目录:env HLMLib HLMTools HTKBook HTKTools HTKLib 安装说明如下:
1、HTK由两个库(build from the source code in HTKLib/ and HLMLib)和一套命令工具(in HTKTools/ and HLMTools/)组成
2、The supplied makefiles要求设置以下的环境变量:CPU(当前的CPU类型),HBIN(specifies location of executables $HBIN/bin.$CPU) HTKCC(编译器的名字),HTKCF(C编译器的选项) HTKLF(连接器的选项)
在HLMLib/, HLMTools/, HTKBook/, HTKTools/, HTKLib/下都有相同的makefile,而在目录env下已经有文件env.linux设置了上面要求的那几个环境变量
3、First build the library in HTKLib/ and then build the tools in HTKTools/。The executables will be copied to the directory $HBIN/bin.$CPU which should be added to your PATH。Then you can build the library in HLMLib/ and the tools in HLMTools/ 。The executables will again be copied to the directory $HBIN/bin.$CPU which shuold be added to your PATH
大家帮帮忙,我看了上面的说明还是一点也不懂,哪位大哥能指点一下!!!!这是我毕设的第一步,装不上这个HTK,后面的工作救无法进行

nbfnw 发表于 2004-2-26 15:37:00

写得挺明白了。先设置几个环境变量,然后按顺序在子目录下编译。
页: [1]
查看完整版本: 救命啊!!源代码编译再安装的问题!