Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 0570E9FB67D for ; Wed, 14 Mar 2007 18:40:15 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 28248-01 for ; Wed, 14 Mar 2007 18:40:07 -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.191]) by postgresql.org (Postfix) with ESMTP id 493869FB3A5 for ; Wed, 14 Mar 2007 18:40:10 -0300 (ADT) Received: by nf-out-0910.google.com with SMTP id x4so422835nfb for ; Wed, 14 Mar 2007 14:40:08 -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=gtidyfq/YUrmQ0fkynIqwKj9npj1VeiyV/B+q3DTJoL6WxIrQK47UWiieKYZ1BBGQuSTFXlUDJUFghYK7ItquMf1sycgjPQllU7+uFT3cRCfTiWbXuVGsSLdETbwTljf/+/jp1GhIXR+s6kzPqewXIi0nmgwXBmKBN4LctmxAuI= 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=hF5hXPCPOavc2b7mnyOSV/VJset+94gyD0WKexgj10hV3yP0Ho4nZREmonyd9me0xOoh7Yli46a5U0CL0drBg2i6wofx8RCozibB2T4c0eMzIxn8sfOPl930u1CAJvihahpwhcfe+G05s10X/zX+IT1KQC1sbmdCvINgEfnF1Sk= Received: by 10.78.149.15 with SMTP id w15mr105386hud.1173908406853; Wed, 14 Mar 2007 14:40:06 -0700 (PDT) Received: by 10.82.148.5 with HTTP; Wed, 14 Mar 2007 14:40:06 -0700 (PDT) Message-ID: Date: Wed, 14 Mar 2007 22:40:06 +0100 From: "Laurent Thevenet" To: "Tom Lane" Subject: Re: Error when building a dictionnary for tseach Cc: pgsql-admin@postgresql.org In-Reply-To: <17818.1173849036@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_63586_1923536.1173908406775" References: <17818.1173849036@sss.pgh.pa.us> X-Google-Sender-Auth: fe2eef121adf5590 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/82 X-Sequence-Number: 24906 ------=_Part_63586_1923536.1173908406775 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks Tom, shame on me. But there was another issue i had to correct when compiling dict_fr: Even and perhaps because the snowball patch was applied, stem.c (french UTF_8 stem) was using old signatures of C functions (*_in_grouping_*(...) with 5 arguments instead of 4), so i applied a little regex to correct everything (in vi or with sed :%s/\(in_grouping_b_U(.*,.*,.*,.*\),.*)/\1)/ ) Thanks. On 3/14/07, Tom Lane wrote: > > "Laurent Thevenet" writes: > > Then went to the ../../dict_fr directory containing the generated > > files and run make but get the following error : > > 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. > > It looks like you didn't do "configure" at the top level of the PG source > tree. Depending on which files you want to rebuild, you may need not > only "configure" but a full "make" run from the top level before contrib > modules will build. > > regards, tom lane > -- Laurent Thevenet +33 (0)6 74 71 84 44 http://7theories.com ------=_Part_63586_1923536.1173908406775 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks Tom, shame on me.

But there was another issue i had to correct when compiling dict_fr:

Even and perhaps because the snowball patch was applied, stem.c (french UTF_8 stem) was using old signatures of C functions (*_in_grouping_*(...) with 5 arguments instead of 4), so i applied a little regex to correct everything (in vi or with sed :%s/\(in_grouping_b_U(.*,.*,.*,.*\),.*)/\1)/ )

Thanks.

On 3/14/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
"Laurent Thevenet" <laurent.thevenet@7theories.com> writes:
> Then went to the ../../dict_fr directory containing the generated
> files and run make but get the following error :
> 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.

It looks like you didn't do "configure" at the top level of the PG source
tree.  Depending on which files you want to rebuild, you may need not
only "configure" but a full "make" run from the top level before contrib
modules will build.

                        regards, tom lane



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