gendict and tsearch2

From: "Andrea C(dot) Granata" <andreuzzo(at)linux(dot)it>
To: pgsql-hackers(at)postgresql(dot)org
Subject: gendict and tsearch2
Date: 2006-12-15 17:39:03
Message-ID: 4582DDB7.6050000@linux.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi All,

I'm trying to generate italian dictionary templates for tsearch2
without success.

These are the steps I do:

1) cd PGSQL_SRC/contrib/tsearch2/gendict
wget http://snowball.tartarus.org/algorithms/italian/stem.c
wget http://snowball.tartarus.org/algorithms/italian/stem.h
./config.sh -n it -s -p italian_ISO_8859_1 -v -C'Snowball stemmer for
Italian'

output:

Dictname: 'it'
Snowball stemmer: yes
Has init method: yes
Function prefix: italian_ISO_8859_1
Source files: stem.c
Header files: stem.h
Object files: stem.o dict_snowball.o
Comment: 'Snowball stemmer for Italian'
Directory: ../../dict_it
Build directory... ok
Build Makefile... ok
Build dict_it.sql.in... ok
Copy source and header files... ok
Build sub-include header... ok
Build Snowball stemmer... ok
Build README.it... ok
All is done

2)

cd PGSQL_SRC/dict_it
Make

output:

stem.c: In function 'italian_ISO_8859_1_close_env':
stem.c:1104: error: too many arguments to function 'SN_close_env'
make: *** [stem.o] Error 1

Any hint?

Thanks,
Andrea.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message HarmeekSingh Bedi 2006-12-15 18:13:41 Question.
Previous Message Tom Lane 2006-12-15 17:16:53 Re: Security leak with trigger functions?