Thanks for the help, everyone.<br><br>I was able to successfully install the PET components and the ERG from <a href="http://cl.naist.jp/%7Eeric-n/ubuntu-nlp/" target="_blank">http://cl.naist.jp/~eric-n/ubuntu-nlp/</a>.<br>
<br>I'm still going to try and build PET on my Mac using the latest source from the SVN repository.<br><br><div class="gmail_quote">On Wed, Jul 9, 2008 at 7:35 AM, Eric Nichols <<a href="mailto:eric-n@is.naist.jp">eric-n@is.naist.jp</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">It would probably be best to use a later version of PET. The uname problem has been fixed in <a href="http://0.99.13." target="_blank">0.99.13.</a><br>
If you can't for some reason, here is the patch I used to fix uname.<br><br>Eric<br>
<br>diff -Nru pet-0.99.11.orig/<a href="http://configure.ac" target="_blank">configure.ac</a> pet-0.99.11.new/<a href="http://configure.ac" target="_blank">configure.ac</a><br>--- pet-0.99.11.orig/<a href="http://configure.ac" target="_blank">configure.ac</a> 2006-03-05 17:47:31.000000000 +0900<br>
+++ pet-0.99.11.new/<a href="http://configure.ac" target="_blank">configure.ac</a> 2006-03-05 17:33:03.000000000 +0900<br>@@ -48,7 +48,9 @@<br> #<br> if uname -i > /dev/null 2>&1; then<br> CPU=$(uname -i)<br>
- if test "${cpu}" = "unknown" ; then cpu=$(uname -m); fi<br>
+ # Works better when the variable names match ;-) Eric Nichols <<a href="mailto:eric-n@is.naist.jp" target="_blank">eric-n@is.naist.jp</a>> -- Mar. 17, 2006<br>+ #if test "${cpu}" = "unknown" ; then cpu=$(uname -m); fi<br>
+ if test "${CPU}" = "unknown" ; then CPU=$(uname -m); fi<br> else<br> CPU=$(uname -m)<br> fi<div><div></div><div class="Wj3C7c"><br><br><br><div class="gmail_quote">On Wed, Jul 9, 2008 at 8:28 AM, Francis Bond <<a href="mailto:fcbond@gmail.com" target="_blank">fcbond@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">G'day,<br>
<br>
there are packages for ubuntu at: <a href="http://cl.naist.jp/%7Eeric-n/ubuntu-nlp/" target="_blank">http://cl.naist.jp/~eric-n/ubuntu-nlp/</a><br>
<br>
2008/7/9 Bill McNeill (UW) <<a href="mailto:billmcn@u.washington.edu" target="_blank">billmcn@u.washington.edu</a>>:<br>
> I just tried to build pet-0.99-12 on Ubuntu. I see the following error when<br>
> I try to run configure:<br>
><br>
> $ ./configure<br>
> checking for a BSD-compatible install... /usr/bin/install -c<br>
> checking whether build environment is sane... yes<br>
> checking for gawk... no<br>
> checking for mawk... mawk<br>
> checking whether make sets $(MAKE)... yes<br>
> lkb: unknown Linux architecture (check `uname -m'); exit.<br>
><br>
> On my Ubuntu install, both 'uname -i' and 'uname -m' return 'i686'. It<br>
> seems like this should be recognized by the switch statement in line 1849 of<br>
> the configure script.<br>
<br>
Eric: did you have to patch anything to build?<br>
<font color="#888888"><br>
--<br>
Francis Bond <<a href="http://www2.nict.go.jp/x/x161/en/member/bond/" target="_blank">http://www2.nict.go.jp/x/x161/en/member/bond/</a>><br>
NICT Language Infrastructure Group<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Bill McNeill<br><a href="http://staff.washington.edu/billmcn/index.shtml">http://staff.washington.edu/billmcn/index.shtml</a>