Re: Error when building a dictionnary for tseach - Mailing list pgsql-admin

From cedric
Subject Re: Error when building a dictionnary for tseach
Date
Msg-id 200703141018.11454.cedric@over-blog.com
Whole thread Raw
In response to Error when building a dictionnary for tseach  ("Laurent Thevenet" <laurent.thevenet@7theories.com>)
Responses Re: Error when building a dictionnary for tseach
List 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.

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Error when building a dictionnary for tseach
Next
From: Daniel Medina
Date:
Subject: [pgsql-es-ayuda] INSTALACION ADICIONAL POSTGRES