Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id DB38C9FBA79 for ; Wed, 14 Mar 2007 18:57:56 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 94612-03 for ; Wed, 14 Mar 2007 18:57:49 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by postgresql.org (Postfix) with ESMTP id 8392A9FB310 for ; Wed, 14 Mar 2007 18:57:52 -0300 (ADT) Received: by nf-out-0910.google.com with SMTP id x4so429490nfb for ; Wed, 14 Mar 2007 14:57:51 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=k2OBKKgsRFIMTXTO0WCIeFkzmPzDe0YBbGh2MeA/lDH+PyEBGJUms/azeyyTIk5+KJ49abCV5ZsYIhspBqPbvhlu4f1gYqTf/B6M1SQhskR5Zl+Ao/iS3GK3OEsqm66icJ3ux+om+xWPsnmg78cW+1HERS2Mc08uhv3nWkctP5U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=M9W9MPvHsnrI/4GCXL96ZDVUIXoPtAPaOIMQj9+VwRlCqXvuTcfM/GvfWHjHhzvFBVG1xn4Ff+FQSOZx0p7VzJFbFH42eUwB4K665crFTpPVlU6hB5VJdkvWTv0FafPi3E1IWy2tpPsc0C4ORt8jem1lYtoACEpcUPypttw2vYo= Received: by 10.78.192.20 with SMTP id p20mr1489167huf.1173908530190; Wed, 14 Mar 2007 14:42:10 -0700 (PDT) Received: by 10.82.148.5 with HTTP; Wed, 14 Mar 2007 14:42:10 -0700 (PDT) Message-ID: Date: Wed, 14 Mar 2007 22:42:10 +0100 From: "Laurent Thevenet" To: cedric@over-blog.com Subject: Re: Error when building a dictionnary for tseach Cc: pgsql-admin@postgresql.org In-Reply-To: <200703141018.11454.cedric@over-blog.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_63658_24145307.1173908530035" References: <200703141018.11454.cedric@over-blog.com> X-Google-Sender-Auth: fdfe2cdd1295e037 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/83 X-Sequence-Number: 24907 ------=_Part_63658_24145307.1173908530035 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi C=E9dric, i had errors when compiling about the C functions signatures *_grouping_* and correct it using a regular expression and now it's compiling but i did not go further so i don't know it will work or not. If it the same error, where do we have to report it ? On 3/14/07, cedric wrote: > > Le mercredi 14 mars 2007 01:32, Laurent Thevenet a =E9crit: > > 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.= cand > stem.h for french_UTF8 you can have more errors. I am about reporting tha= t > (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. > --=20 Laurent Thevenet +33 (0)6 74 71 84 44 http://7theories.com ------=_Part_63658_24145307.1173908530035 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi C=E9dric,

i had errors when compiling about the C functions signa= tures *_grouping_* and correct it using a regular expression and now it'= ;s compiling but i did not go further so i don't know it will work or n= ot.

If it the same error, where do we have to report it ?


On 3/14/07, ce= dric <cedric@over-blog.com > wrote:
Le mercredi 14 mars 2007 01:32, Laurent Thevenet a =E9crit:
> Hi eve= rybody,
>
> I have a problem while trying to make the dictionnary gene= rated by gendict.
>
> I'm using postgresql 8.2.3 on macosx<= br>> I get the sources on the postgresql website (not on darwinports or
> everywhere else).
>
> First, i went in the contrib/tse= arch2/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=20 stem.c and
stem.h for french_UTF8 you can have more errors. I am about r= eporting that
(and the way to solve, not a patch).

> Makefile:= 3: ../../src/Makefile.global: No such file or directory
> Makefile:12= : /contrib/contrib-=20
global.mk: No such file or directory
&g= t; make: *** No rule to make target `/contrib/contrib-global.mk'.  Stop.
>
> There is no Ma= kefile.global as indicated but there is
> Ma= kefile.global.in so tried to change the path to it but it gave me
&g= t; 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 ch= anged 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/con= trib- global.mk: No such file or directory
> make: *** No rule to make = target `../contrib/contrib- global.mk'= .  Stop.
>
> I googled it and found nothing interesti= ng. 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.



--
Laurent Thevenet
+33 (0)6 74 71 84 44
http://7theories.com ------=_Part_63658_24145307.1173908530035--