[pet] Is PET supported on Ubuntu?

Bill McNeill (UW) billmcn at u.washington.edu
Wed Jul 9 19:11:00 CEST 2008


Thanks for the help, everyone.

I was able to successfully install the PET components and the ERG from
http://cl.naist.jp/~eric-n/ubuntu-nlp/<http://cl.naist.jp/%7Eeric-n/ubuntu-nlp/>
.

I'm still going to try and build PET on my Mac using the latest source from
the SVN repository.

On Wed, Jul 9, 2008 at 7:35 AM, Eric Nichols <eric-n at is.naist.jp> wrote:

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


-- 
Bill McNeill
http://staff.washington.edu/billmcn/index.shtml
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.delph-in.net/archives/pet/attachments/20080709/a92bceba/attachment.html>


More information about the pet mailing list