Skip site navigation (1) Skip section navigation (2)

Re: Error when building a dictionnary for tseach

From: cedric <cedric(at)over-blog(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Cc: "Laurent Thevenet" <laurent(dot)thevenet(at)7theories(dot)com>
Subject: Re: Error when building a dictionnary for tseach
Date: 2007-03-14 09:18:11
Message-ID: 200703141018.11454.cedric@over-blog.com (view raw or flat)
Thread:
Lists: pgsql-admin
Le mercredi 14 mars 2007 01:32, Laurent Thevenet a écrit :
> Hi everybody,
>
> I have a problem while trying to make the dictionnary generated by gendict.
>
> I'm using postgresql 8.2.3 on macosx
> I get the sources on the postgresql website (not on darwinports or
> everywhere else).
>
> First, i went in the contrib/tsearch2/gendict directory and run config.sh :
> ./config.sh -n fr -s -p french_UTF_8 -i -v -c stem.c -h stem.h
> -C'Snowball stemmer for French'
> Everything was fine, no errors, ok everywhere
>
> Then went to the ../../dict_fr directory containing the generated
> files and run make but get the following error :
After you check configure as suggested and depending where you take stem.c and 
stem.h for french_UTF8 you can have more errors. I am about reporting that 
(and the way to solve, not a patch).

> Makefile:3: ../../src/Makefile.global: No such file or directory
> Makefile:12: /contrib/contrib- global.mk: No such file or directory
> make: *** No rule to make target `/contrib/contrib-global.mk'.  Stop.
>
> There is no Makefile.global as indicated but there is
> Makefile.global.in so tried to change the path to it but it gave me
> more errors (but i'm not a makefile evangelist so don't know if it was
> logic to do that).
> And contrib-global.mk exists ../../contrib/contrib-global.mk but not
> in the absolute path specified so i changed it.
> But none of this modifications changed something, i got this error :
>  ../../src/Makefile.global.in:318: ../../src/Makefile.port: No such
> file or directory
> Makefile:12: ../contrib/contrib-global.mk: No such file or directory
> make: *** No rule to make target `../contrib/contrib- global.mk'.  Stop.
>
> I googled it and found nothing interesting. So you're my last hope.
> For informations, I tried the same with the sources 8.2.1 and 8.2.2.
>
> Thx by advance.

In response to

Responses

pgsql-admin by date

Next:From: Daniel MedinaDate: 2007-03-14 16:48:02
Subject: [pgsql-es-ayuda] INSTALACION ADICIONAL POSTGRES
Previous:From: Tom LaneDate: 2007-03-14 05:10:36
Subject: Re: Error when building a dictionnary for tseach

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group