<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>评论：Ubuntu8.10下moses测试平台搭建全记录</title>
	<atom:link href="http://www.52nlp.cn/ubuntu-moses-platform-build-process-record/feed" rel="self" type="application/rss+xml" />
	<link>http://www.52nlp.cn/ubuntu-moses-platform-build-process-record</link>
	<description>I Love Natural Language Processing</description>
	<lastBuildDate>Fri, 30 Jul 2010 00:28:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>来自：52nlp</title>
		<link>http://www.52nlp.cn/ubuntu-moses-platform-build-process-record/comment-page-1#comment-1350</link>
		<dc:creator>52nlp</dc:creator>
		<pubDate>Fri, 16 Jul 2010 23:50:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.52nlp.cn/?p=466#comment-1350</guid>
		<description>可以，前提是你必须有中英对齐的语料库用来训练翻译模型和语言模型。
Moses只提供一个统计机器翻译的平台框架，与具体语言无关。</description>
		<content:encoded><![CDATA[<p>可以，前提是你必须有中英对齐的语料库用来训练翻译模型和语言模型。<br />
Moses只提供一个统计机器翻译的平台框架，与具体语言无关。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：小飞</title>
		<link>http://www.52nlp.cn/ubuntu-moses-platform-build-process-record/comment-page-1#comment-1349</link>
		<dc:creator>小飞</dc:creator>
		<pubDate>Fri, 16 Jul 2010 14:45:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.52nlp.cn/?p=466#comment-1349</guid>
		<description>你好，我想问一下我可以用moses进行中英文的翻译吗？</description>
		<content:encoded><![CDATA[<p>你好，我想问一下我可以用moses进行中英文的翻译吗？</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：52nlp</title>
		<link>http://www.52nlp.cn/ubuntu-moses-platform-build-process-record/comment-page-1#comment-1300</link>
		<dc:creator>52nlp</dc:creator>
		<pubDate>Mon, 14 Jun 2010 01:49:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.52nlp.cn/?p=466#comment-1300</guid>
		<description>“autoconf failed”是怎么解决的？如果没有解决再运行一遍又是“automake failed”就太怪了。
对于“autoconf failed”的问题，我搜了一下，似乎这个家伙遇到的是和你一样的问题： http://www.bakuzen.com/?p=21

./regenerate-makefiles.sh
This will take a few seconds and will generate your makefiles based on how your computer is configured. The only problem I ran into was this: possibly undefined macro: AC_PROG_LIBTOOL and I was able to fix it easily by installing libtool (in ubuntu: sudo apt-get install libtool -thanks to this site for the info) and then tried again and it worked fine. 

所以对于这个错误：configure.in:12: error: possibly undefined macro: AC_DISABLE_SHARED， 你需要安装libtool，具体参考：
http://desk.stinkpot.org:8080/tricks/index.php/2007/05/fixing-error-undefined-macro-ac_prog_libtool/

一些问题可能是环环相扣的，总得感觉是你的linux开发环境还是缺少moses所依赖的一些库，再仔细检查一下。</description>
		<content:encoded><![CDATA[<p>“autoconf failed”是怎么解决的？如果没有解决再运行一遍又是“automake failed”就太怪了。<br />
对于“autoconf failed”的问题，我搜了一下，似乎这个家伙遇到的是和你一样的问题： <a href="http://www.bakuzen.com/?p=21" rel="nofollow">http://www.bakuzen.com/?p=21</a></p>
<p>./regenerate-makefiles.sh<br />
This will take a few seconds and will generate your makefiles based on how your computer is configured. The only problem I ran into was this: possibly undefined macro: AC_PROG_LIBTOOL and I was able to fix it easily by installing libtool (in ubuntu: sudo apt-get install libtool -thanks to this site for the info) and then tried again and it worked fine. </p>
<p>所以对于这个错误：configure.in:12: error: possibly undefined macro: AC_DISABLE_SHARED， 你需要安装libtool，具体参考：<br />
<a href="http://desk.stinkpot.org:8080/tricks/index.php/2007/05/fixing-error-undefined-macro-ac_prog_libtool/" rel="nofollow">http://desk.stinkpot.org:8080/tricks/index.php/2007/05/fixing-error-undefined-macro-ac_prog_libtool/</a></p>
<p>一些问题可能是环环相扣的，总得感觉是你的linux开发环境还是缺少moses所依赖的一些库，再仔细检查一下。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：kemi</title>
		<link>http://www.52nlp.cn/ubuntu-moses-platform-build-process-record/comment-page-1#comment-1299</link>
		<dc:creator>kemi</dc:creator>
		<pubDate>Sun, 13 Jun 2010 14:04:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.52nlp.cn/?p=466#comment-1299</guid>
		<description>还是我，不好意思，又打搅你了，上面的问题我还是没有解决。
又从头根据你的文章装一下，到了安装解码器moses的时候还是出现和上面的问题
就是运行./regenerate-makefiles.sh命令时，出现


xuji@xuji-desktop:~/mtworkdir/moses$ ./regenerate-makefiles.sh
Calling /usr/bin/aclocal...
Calling /usr/bin/autoconf...
configure.in:12: error: possibly undefined macro: AC_DISABLE_SHARED
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:13: error: possibly undefined macro: AC_PROG_LIBTOOL
autoconf failed


我再运行一遍./regenerate-makefiles.sh之后又出现下面的错误
xuji@xuji-desktop:~/mtworkdir/moses$ ./regenerate-makefiles.sh
Calling /usr/bin/aclocal...
Calling /usr/bin/autoconf...
Calling /usr/bin/automake...
OnDiskPt/src/Makefile.am:1: library used but `RANLIB&#039; is undefined
OnDiskPt/src/Makefile.am:1:   The usual way to define `RANLIB&#039; is to add `AC_PROG_RANLIB&#039;
OnDiskPt/src/Makefile.am:1:   to `configure.in&#039; and run `autoconf&#039; again.
moses-chart/src/Makefile.am:1: library used but `RANLIB&#039; is undefined
moses-chart/src/Makefile.am:1:   The usual way to define `RANLIB&#039; is to add `AC_PROG_RANLIB&#039;
moses-chart/src/Makefile.am:1:   to `configure.in&#039; and run `autoconf&#039; again.
moses/src/Makefile.am:1: Libtool library used but `LIBTOOL&#039; is undefined
moses/src/Makefile.am:1:   The usual way to define `LIBTOOL&#039; is to add `AC_PROG_LIBTOOL&#039;
moses/src/Makefile.am:1:   to `configure.in&#039; and run `aclocal&#039; and `autoconf&#039; again.
moses/src/Makefile.am:1:   If `AC_PROG_LIBTOOL&#039; is in `configure.in&#039;, make sure
moses/src/Makefile.am:1:   its definition is in aclocal&#039;s search path.
automake failed

应该可以看出来automake之类的都已经安装过了。实在不知道怎么解决，真是麻烦你了。


另外，我从http://sourceforge.net/projects/mosesdecoder下载其他版本的moses
仍然会出现问题。
上一个帖子就是，下载安装了C++标准库，仍然同样的问题。
不好意思哈</description>
		<content:encoded><![CDATA[<p>还是我，不好意思，又打搅你了，上面的问题我还是没有解决。<br />
又从头根据你的文章装一下，到了安装解码器moses的时候还是出现和上面的问题<br />
就是运行./regenerate-makefiles.sh命令时，出现</p>
<p>xuji@xuji-desktop:~/mtworkdir/moses$ ./regenerate-makefiles.sh<br />
Calling /usr/bin/aclocal&#8230;<br />
Calling /usr/bin/autoconf&#8230;<br />
configure.in:12: error: possibly undefined macro: AC_DISABLE_SHARED<br />
      If this token and others are legitimate, please use m4_pattern_allow.<br />
      See the Autoconf documentation.<br />
configure.in:13: error: possibly undefined macro: AC_PROG_LIBTOOL<br />
autoconf failed</p>
<p>我再运行一遍./regenerate-makefiles.sh之后又出现下面的错误<br />
xuji@xuji-desktop:~/mtworkdir/moses$ ./regenerate-makefiles.sh<br />
Calling /usr/bin/aclocal&#8230;<br />
Calling /usr/bin/autoconf&#8230;<br />
Calling /usr/bin/automake&#8230;<br />
OnDiskPt/src/Makefile.am:1: library used but `RANLIB&#8217; is undefined<br />
OnDiskPt/src/Makefile.am:1:   The usual way to define `RANLIB&#8217; is to add `AC_PROG_RANLIB&#8217;<br />
OnDiskPt/src/Makefile.am:1:   to `configure.in&#8217; and run `autoconf&#8217; again.<br />
moses-chart/src/Makefile.am:1: library used but `RANLIB&#8217; is undefined<br />
moses-chart/src/Makefile.am:1:   The usual way to define `RANLIB&#8217; is to add `AC_PROG_RANLIB&#8217;<br />
moses-chart/src/Makefile.am:1:   to `configure.in&#8217; and run `autoconf&#8217; again.<br />
moses/src/Makefile.am:1: Libtool library used but `LIBTOOL&#8217; is undefined<br />
moses/src/Makefile.am:1:   The usual way to define `LIBTOOL&#8217; is to add `AC_PROG_LIBTOOL&#8217;<br />
moses/src/Makefile.am:1:   to `configure.in&#8217; and run `aclocal&#8217; and `autoconf&#8217; again.<br />
moses/src/Makefile.am:1:   If `AC_PROG_LIBTOOL&#8217; is in `configure.in&#8217;, make sure<br />
moses/src/Makefile.am:1:   its definition is in aclocal&#8217;s search path.<br />
automake failed</p>
<p>应该可以看出来automake之类的都已经安装过了。实在不知道怎么解决，真是麻烦你了。</p>
<p>另外，我从http://sourceforge.net/projects/mosesdecoder下载其他版本的moses<br />
仍然会出现问题。<br />
上一个帖子就是，下载安装了C++标准库，仍然同样的问题。<br />
不好意思哈</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：kemi</title>
		<link>http://www.52nlp.cn/ubuntu-moses-platform-build-process-record/comment-page-1#comment-1298</link>
		<dc:creator>kemi</dc:creator>
		<pubDate>Sun, 13 Jun 2010 07:48:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.52nlp.cn/?p=466#comment-1298</guid>
		<description>我尝试了
sudo apt-get install build-essential
sudo apt-get install libc6
sudo apt-get install libstdc++6
其中libstdc++6已经安装过了
然后再运行make －j 4 的命令，依然出现上面同样的问题
是不是因为我把moses的版本换成了2008-7-11导致的呢
请教还有什么解决方法吗</description>
		<content:encoded><![CDATA[<p>我尝试了<br />
sudo apt-get install build-essential<br />
sudo apt-get install libc6<br />
sudo apt-get install libstdc++6<br />
其中libstdc++6已经安装过了<br />
然后再运行make －j 4 的命令，依然出现上面同样的问题<br />
是不是因为我把moses的版本换成了2008-7-11导致的呢<br />
请教还有什么解决方法吗</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：52nlp</title>
		<link>http://www.52nlp.cn/ubuntu-moses-platform-build-process-record/comment-page-1#comment-1295</link>
		<dc:creator>52nlp</dc:creator>
		<pubDate>Sat, 12 Jun 2010 11:04:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.52nlp.cn/?p=466#comment-1295</guid>
		<description>抱歉这么迟才答复你，我搜了一下，感觉你的这个问题比较怪，好像与你的系统缺乏一些C++标准库有关，建议除了g++外，将C/C++编译需要的库也装了，具体可以Google一下，我有点忘了。</description>
		<content:encoded><![CDATA[<p>抱歉这么迟才答复你，我搜了一下，感觉你的这个问题比较怪，好像与你的系统缺乏一些C++标准库有关，建议除了g++外，将C/C++编译需要的库也装了，具体可以Google一下，我有点忘了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：kemi</title>
		<link>http://www.52nlp.cn/ubuntu-moses-platform-build-process-record/comment-page-1#comment-1293</link>
		<dc:creator>kemi</dc:creator>
		<pubDate>Sat, 12 Jun 2010 06:19:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.52nlp.cn/?p=466#comment-1293</guid>
		<description>我换用了moses 2008-7-11的版本之后
./regenerate-makefiles.sh
./configure –with-srilm=/home/52nlp/mtworkdir/srilm
这两个命令可以编译通过了

但是在执行make －j 4命令的时候又出现以下的错误
In file included from FactorTypeSet.h:28,
                 from Dictionary.h:25,
                 from DecodeStep.h:26,
                 from DecodeGraph.cpp:24:
Util.h: In function ‘T Scan(const std::string&amp;) [with T = int]’:
Util.h:76: 错误： ‘atoi’在此作用域中尚未声明
Util.h: In function ‘T Scan(const std::string&amp;) [with T = float]’:
Util.h:83: 错误： ‘atof’在此作用域中尚未声明
In file included from Factor.h:31,
                 from Word.h:28,
                 from ConfusionNet.h:7,
                 from ConfusionNet.cpp:3:
Util.h: In function ‘T Scan(const std::string&amp;) [with T = int]’:
Util.h:76: 错误： ‘atoi’在此作用域中尚未声明In file included from FactorTypeSet.h:28,
                 from Dictionary.h:25,
                 from DecodeStep.h:26,
                 from DecodeStep.cpp:22:
Util.h: In function ‘T Scan(const std::string&amp;) [with T = int]’:
Util.h:76: 错误： ‘atoi’在此作用域中尚未声明
Util.h: In function ‘T Scan(const std::string&amp;) [with T = float]’:
Util.h:83: 错误： ‘atof’在此作用域中尚未声明

Util.h: In function ‘T Scan(const std::string&amp;) [with T = float]’:
Util.h:83: 错误： ‘atof’在此作用域中尚未声明
In file included from ConfusionNet.h:7,
                 from ConfusionNet.cpp:3:
Word.h: In copy constructor ‘Word::Word(const Word&amp;)’:
Word.h:49: 错误： ‘memcpy’不是‘std’的成员
Word.h: In constructor ‘Word::Word()’:
Word.h:54: 错误： ‘memset’不是‘std’的成员
In file included from Phrase.h:30,
                 from InputType.h:27,
                 from ConfusionNet.h:8,
                 from ConfusionNet.cpp:3:
WordsBitmap.h: In constructor ‘WordsBitmap::WordsBitmap(size_t)’:
WordsBitmap.h:57: 错误： ‘malloc’在此作用域中尚未声明
WordsBitmap.h: In copy constructor ‘WordsBitmap::WordsBitmap(const WordsBitmap&amp;)’:
WordsBitmap.h:64: 错误： ‘malloc’在此作用域中尚未声明
WordsBitmap.h: In destructor ‘WordsBitmap::~WordsBitmap()’:
WordsBitmap.h:72: 错误： ‘free’在此作用域中尚未声明
In file included from Phrase.h:29,
                 from PhraseDictionary.h:29,
                 from PhraseDictionaryMemory.h:25,
                 from DecodeStep.cpp:23:
Word.h: In copy constructor ‘Word::Word(const Word&amp;)’:
Word.h:49: 错误： ‘memcpy’不是‘std’的成员
Word.h: In constructor ‘Word::Word()’:
Word.h:54: 错误： ‘memset’不是‘std’的成员
In file included from Phrase.h:30,
                 from PhraseDictionary.h:29,
                 from PhraseDictionaryMemory.h:25,
                 from DecodeStep.cpp:23:
WordsBitmap.h: In constructor ‘WordsBitmap::WordsBitmap(size_t)’:
WordsBitmap.h:57: 错误： ‘malloc’在此作用域中尚未声明
WordsBitmap.h: In copy constructor ‘WordsBitmap::WordsBitmap(const WordsBitmap&amp;)’:
WordsBitmap.h:64: 错误： ‘malloc’在此作用域中尚未声明
WordsBitmap.h: In destructor ‘WordsBitmap::~WordsBitmap()’:
WordsBitmap.h:72: 错误： ‘free’在此作用域中尚未声明
make[2]: *** [DecodeGraph.o] 错误 1
make[2]: *** 正在等待未完成的任务....
In file included from Phrase.h:29,
                 from Hypothesis.h:27,
                 from BitmapContainer.h:27,
                 from BitmapContainer.cpp:26:
Word.h: In copy constructor ‘Word::Word(const Word&amp;)’:
Word.h:49: 错误： ‘memcpy’不是‘std’的成员
Word.h: In constructor ‘Word::Word()’:
Word.h:54: 错误： ‘memset’不是‘std’的成员


请教下该如何解决呢？</description>
		<content:encoded><![CDATA[<p>我换用了moses 2008-7-11的版本之后<br />
./regenerate-makefiles.sh<br />
./configure –with-srilm=/home/52nlp/mtworkdir/srilm<br />
这两个命令可以编译通过了</p>
<p>但是在执行make －j 4命令的时候又出现以下的错误<br />
In file included from FactorTypeSet.h:28,<br />
                 from Dictionary.h:25,<br />
                 from DecodeStep.h:26,<br />
                 from DecodeGraph.cpp:24:<br />
Util.h: In function ‘T Scan(const std::string&amp;) [with T = int]’:<br />
Util.h:76: 错误： ‘atoi’在此作用域中尚未声明<br />
Util.h: In function ‘T Scan(const std::string&amp;) [with T = float]’:<br />
Util.h:83: 错误： ‘atof’在此作用域中尚未声明<br />
In file included from Factor.h:31,<br />
                 from Word.h:28,<br />
                 from ConfusionNet.h:7,<br />
                 from ConfusionNet.cpp:3:<br />
Util.h: In function ‘T Scan(const std::string&amp;) [with T = int]’:<br />
Util.h:76: 错误： ‘atoi’在此作用域中尚未声明In file included from FactorTypeSet.h:28,<br />
                 from Dictionary.h:25,<br />
                 from DecodeStep.h:26,<br />
                 from DecodeStep.cpp:22:<br />
Util.h: In function ‘T Scan(const std::string&amp;) [with T = int]’:<br />
Util.h:76: 错误： ‘atoi’在此作用域中尚未声明<br />
Util.h: In function ‘T Scan(const std::string&amp;) [with T = float]’:<br />
Util.h:83: 错误： ‘atof’在此作用域中尚未声明</p>
<p>Util.h: In function ‘T Scan(const std::string&amp;) [with T = float]’:<br />
Util.h:83: 错误： ‘atof’在此作用域中尚未声明<br />
In file included from ConfusionNet.h:7,<br />
                 from ConfusionNet.cpp:3:<br />
Word.h: In copy constructor ‘Word::Word(const Word&amp;)’:<br />
Word.h:49: 错误： ‘memcpy’不是‘std’的成员<br />
Word.h: In constructor ‘Word::Word()’:<br />
Word.h:54: 错误： ‘memset’不是‘std’的成员<br />
In file included from Phrase.h:30,<br />
                 from InputType.h:27,<br />
                 from ConfusionNet.h:8,<br />
                 from ConfusionNet.cpp:3:<br />
WordsBitmap.h: In constructor ‘WordsBitmap::WordsBitmap(size_t)’:<br />
WordsBitmap.h:57: 错误： ‘malloc’在此作用域中尚未声明<br />
WordsBitmap.h: In copy constructor ‘WordsBitmap::WordsBitmap(const WordsBitmap&amp;)’:<br />
WordsBitmap.h:64: 错误： ‘malloc’在此作用域中尚未声明<br />
WordsBitmap.h: In destructor ‘WordsBitmap::~WordsBitmap()’:<br />
WordsBitmap.h:72: 错误： ‘free’在此作用域中尚未声明<br />
In file included from Phrase.h:29,<br />
                 from PhraseDictionary.h:29,<br />
                 from PhraseDictionaryMemory.h:25,<br />
                 from DecodeStep.cpp:23:<br />
Word.h: In copy constructor ‘Word::Word(const Word&amp;)’:<br />
Word.h:49: 错误： ‘memcpy’不是‘std’的成员<br />
Word.h: In constructor ‘Word::Word()’:<br />
Word.h:54: 错误： ‘memset’不是‘std’的成员<br />
In file included from Phrase.h:30,<br />
                 from PhraseDictionary.h:29,<br />
                 from PhraseDictionaryMemory.h:25,<br />
                 from DecodeStep.cpp:23:<br />
WordsBitmap.h: In constructor ‘WordsBitmap::WordsBitmap(size_t)’:<br />
WordsBitmap.h:57: 错误： ‘malloc’在此作用域中尚未声明<br />
WordsBitmap.h: In copy constructor ‘WordsBitmap::WordsBitmap(const WordsBitmap&amp;)’:<br />
WordsBitmap.h:64: 错误： ‘malloc’在此作用域中尚未声明<br />
WordsBitmap.h: In destructor ‘WordsBitmap::~WordsBitmap()’:<br />
WordsBitmap.h:72: 错误： ‘free’在此作用域中尚未声明<br />
make[2]: *** [DecodeGraph.o] 错误 1<br />
make[2]: *** 正在等待未完成的任务&#8230;.<br />
In file included from Phrase.h:29,<br />
                 from Hypothesis.h:27,<br />
                 from BitmapContainer.h:27,<br />
                 from BitmapContainer.cpp:26:<br />
Word.h: In copy constructor ‘Word::Word(const Word&amp;)’:<br />
Word.h:49: 错误： ‘memcpy’不是‘std’的成员<br />
Word.h: In constructor ‘Word::Word()’:<br />
Word.h:54: 错误： ‘memset’不是‘std’的成员</p>
<p>请教下该如何解决呢？</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：kemi</title>
		<link>http://www.52nlp.cn/ubuntu-moses-platform-build-process-record/comment-page-1#comment-1292</link>
		<dc:creator>kemi</dc:creator>
		<pubDate>Fri, 11 Jun 2010 13:40:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.52nlp.cn/?p=466#comment-1292</guid>
		<description>我在安装解码器Moses及相关脚本的时候
在　　./regenerate-makefiles.sh 这一步后出现错误

Calling /usr/bin/aclocal...
Calling /usr/bin/autoconf...
Calling /usr/bin/automake...
OnDiskPt/src/Makefile.am:1: library used but `RANLIB&#039; is undefined
OnDiskPt/src/Makefile.am:1:   The usual way to define `RANLIB&#039; is to add `AC_PROG_RANLIB&#039;
OnDiskPt/src/Makefile.am:1:   to `configure.in&#039; and run `autoconf&#039; again.
moses-chart/src/Makefile.am:1: library used but `RANLIB&#039; is undefined
moses-chart/src/Makefile.am:1:   The usual way to define `RANLIB&#039; is to add `AC_PROG_RANLIB&#039;
moses-chart/src/Makefile.am:1:   to `configure.in&#039; and run `autoconf&#039; again.
moses/src/Makefile.am:1: Libtool library used but `LIBTOOL&#039; is undefined
moses/src/Makefile.am:1:   The usual way to define `LIBTOOL&#039; is to add `AC_PROG_LIBTOOL&#039;
moses/src/Makefile.am:1:   to `configure.in&#039; and run `aclocal&#039; and `autoconf&#039; again.
moses/src/Makefile.am:1:   If `AC_PROG_LIBTOOL&#039; is in `configure.in&#039;, make sure
moses/src/Makefile.am:1:   its definition is in aclocal&#039;s search path.
automake failed



然后继续执行./configure –with-srilm=/home/52nlp/mtworkdir/srilm
又出现了以下的情况
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
./configure: line 3281: AC_DISABLE_SHARED: command not found
./configure: line 3282: AC_PROG_LIBTOOL: command not found
checking for XMLRPC-C... ignored
configure: trace enabled (default)
configure: Building non-threaded moses. This will disable the moses server
checking Ngram.h usability... yes
checking Ngram.h presence... yes
checking for Ngram.h... yes
checking for trigram_init in -loolm... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
configure: Disabling server
configure: creating ./config.status
config.status: error: cannot find input file: Makefile.in



请教一下是出现了什么情况，应该如何解决呢，谢谢了</description>
		<content:encoded><![CDATA[<p>我在安装解码器Moses及相关脚本的时候<br />
在　　./regenerate-makefiles.sh 这一步后出现错误</p>
<p>Calling /usr/bin/aclocal&#8230;<br />
Calling /usr/bin/autoconf&#8230;<br />
Calling /usr/bin/automake&#8230;<br />
OnDiskPt/src/Makefile.am:1: library used but `RANLIB&#8217; is undefined<br />
OnDiskPt/src/Makefile.am:1:   The usual way to define `RANLIB&#8217; is to add `AC_PROG_RANLIB&#8217;<br />
OnDiskPt/src/Makefile.am:1:   to `configure.in&#8217; and run `autoconf&#8217; again.<br />
moses-chart/src/Makefile.am:1: library used but `RANLIB&#8217; is undefined<br />
moses-chart/src/Makefile.am:1:   The usual way to define `RANLIB&#8217; is to add `AC_PROG_RANLIB&#8217;<br />
moses-chart/src/Makefile.am:1:   to `configure.in&#8217; and run `autoconf&#8217; again.<br />
moses/src/Makefile.am:1: Libtool library used but `LIBTOOL&#8217; is undefined<br />
moses/src/Makefile.am:1:   The usual way to define `LIBTOOL&#8217; is to add `AC_PROG_LIBTOOL&#8217;<br />
moses/src/Makefile.am:1:   to `configure.in&#8217; and run `aclocal&#8217; and `autoconf&#8217; again.<br />
moses/src/Makefile.am:1:   If `AC_PROG_LIBTOOL&#8217; is in `configure.in&#8217;, make sure<br />
moses/src/Makefile.am:1:   its definition is in aclocal&#8217;s search path.<br />
automake failed</p>
<p>然后继续执行./configure –with-srilm=/home/52nlp/mtworkdir/srilm<br />
又出现了以下的情况<br />
checking for a BSD-compatible install&#8230; /usr/bin/install -c<br />
checking whether build environment is sane&#8230; yes<br />
checking for a thread-safe mkdir -p&#8230; /bin/mkdir -p<br />
checking for gawk&#8230; gawk<br />
checking whether make sets $(MAKE)&#8230; yes<br />
checking for g++&#8230; g++<br />
checking for C++ compiler default output file name&#8230; a.out<br />
checking whether the C++ compiler works&#8230; yes<br />
checking whether we are cross compiling&#8230; no<br />
checking for suffix of executables&#8230;<br />
checking for suffix of object files&#8230; o<br />
checking whether we are using the GNU C++ compiler&#8230; yes<br />
checking whether g++ accepts -g&#8230; yes<br />
checking for style of include used by make&#8230; GNU<br />
checking dependency style of g++&#8230; gcc3<br />
checking how to run the C++ preprocessor&#8230; g++ -E<br />
./configure: line 3281: AC_DISABLE_SHARED: command not found<br />
./configure: line 3282: AC_PROG_LIBTOOL: command not found<br />
checking for XMLRPC-C&#8230; ignored<br />
configure: trace enabled (default)<br />
configure: Building non-threaded moses. This will disable the moses server<br />
checking Ngram.h usability&#8230; yes<br />
checking Ngram.h presence&#8230; yes<br />
checking for Ngram.h&#8230; yes<br />
checking for trigram_init in -loolm&#8230; yes<br />
checking getopt.h usability&#8230; yes<br />
checking getopt.h presence&#8230; yes<br />
checking for getopt.h&#8230; yes<br />
configure: Disabling server<br />
configure: creating ./config.status<br />
config.status: error: cannot find input file: Makefile.in</p>
<p>请教一下是出现了什么情况，应该如何解决呢，谢谢了</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：52nlp</title>
		<link>http://www.52nlp.cn/ubuntu-moses-platform-build-process-record/comment-page-1#comment-1258</link>
		<dc:creator>52nlp</dc:creator>
		<pubDate>Fri, 28 May 2010 16:04:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.52nlp.cn/?p=466#comment-1258</guid>
		<description>呵呵，猜错了，本科在工大。</description>
		<content:encoded><![CDATA[<p>呵呵，猜错了，本科在工大。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：sc</title>
		<link>http://www.52nlp.cn/ubuntu-moses-platform-build-process-record/comment-page-1#comment-1256</link>
		<dc:creator>sc</dc:creator>
		<pubDate>Fri, 28 May 2010 09:02:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.52nlp.cn/?p=466#comment-1256</guid>
		<description>这位师兄是不是工大博士毕业去了苏州大学当老师了呀，我猜的，呵呵。</description>
		<content:encoded><![CDATA[<p>这位师兄是不是工大博士毕业去了苏州大学当老师了呀，我猜的，呵呵。</p>
]]></content:encoded>
	</item>
</channel>
</rss>
