Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id EC27C9FB699 for ; Wed, 14 Mar 2007 06:18:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 23939-07 for ; Wed, 14 Mar 2007 06:18:14 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from codanova.cust.azuria.net.azuria-servers.net (codanova.cust.azuria.net [62.233.33.41]) by postgresql.org (Postfix) with ESMTP id 9FBB09FB3A9 for ; Wed, 14 Mar 2007 06:18:14 -0300 (ADT) Received: from laf31-2-82-224-249-154.fbx.proxad.net ([82.224.249.154]:55592 helo=cedricordi.local) by codanova.cust.azuria.net.azuria-servers.net with esmtpa (Exim 4.44) id 1HRPeV-0004Oz-OU; Wed, 14 Mar 2007 10:20:11 +0100 From: cedric Reply-To: cedric@over-blog.com Organization: Over Blog To: pgsql-admin@postgresql.org Subject: Re: Error when building a dictionnary for tseach Date: Wed, 14 Mar 2007 10:18:11 +0100 User-Agent: KMail/1.9.5 Cc: "Laurent Thevenet" References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200703141018.11454.cedric@over-blog.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/78 X-Sequence-Number: 24902 Le mercredi 14 mars 2007 01:32, Laurent Thevenet a =E9crit=A0: > Hi everybody, > > I have a problem while trying to make the dictionnary generated by gendic= t. > > 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=20 stem.h for french_UTF8 you can have more errors. I am about reporting that= =20 (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.