Re: Boolean search

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Kim Kohen <kim(at)webguide(dot)com(dot)au>
Cc: postgres novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Boolean search
Date: 2005-04-02 17:35:21
Message-ID: 20050402173521.GA14814@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Sat, Apr 02, 2005 at 07:35:40PM +1000, Kim Kohen wrote:
>
> Kim-Kohens-Computer:~/Desktop/postgresql-8.0.1/contrib/tsearch2 kim$ make
> Makefile:31: ../../src/Makefile.global: No such file or directory
> Makefile:32: /contrib/contrib-global.mk: No such file or directory
> make: *** No rule to make target `/contrib/contrib-global.mk'. Stop.

It looks like you haven't run configure in the top-level PostgreSQL
directory. Do that and then try building tsearch2 again.

Some modules support the Extension Building Infrastructure (PGXS)
described in the "C-Language Functions" section of the documentation
so you can build the module without a PostgreSQL source tree. However,
it looks like tsearch2 is only partially PGXS-ized:

% gmake USE_PGXS=1
...
gmake -C snowball SUBSYS.o
gmake[1]: Entering directory `/path/to/pgsql/contrib/tsearch2/snowball'
Makefile:5: ../../../src/Makefile.global: No such file or directory
Makefile:20: /contrib/contrib-global.mk: No such file or directory
gmake[1]: *** No rule to make target `/contrib/contrib-global.mk'. Stop.
gmake[1]: Leaving directory `/path/to/pgsql/contrib/tsearch2/snowball'
gmake: *** [snowball-recursive] Error 2

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Bruce Momjian 2005-04-03 03:05:50 Re: Installation on Windows XP Home not possible
Previous Message Ennio-Sr 2005-04-02 16:45:04 Re: how to ignore accents?