Re: Boolean search

From: Jeffrey Melloy <jmelloy(at)visualdistortion(dot)org>
To: Kim Kohen <kim(at)webguide(dot)com(dot)au>
Cc: Michael Fuhr <mike(at)fuhr(dot)org>, postgres novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Boolean search
Date: 2005-04-06 15:30:42
Message-ID: 425400A2.4090604@visualdistortion.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

You need to run a top-level ./configure

The easiest way to do this if you've installed PostgreSQL from a package
(like the one from http://www.entropy.de) is to run
./configure --without-readline

Which makes it compile correctly without having to install readline. If
you've installed PostgreSQL from ports or fink or something (which does
not put PostgreSQL in the default location like the package listed
above) you need to add a couple additional flags to the ./configure
telling where PostgreSQL is (/opt/local or /sw/local/, maybe)

After running a top-level configure, go into the contrib/tsearch2
directory and do the rigamarole there.

I have some instructions for installing Postgres and tsearch2 from
source on OS X at http://www.visualdistortion.org/sqllogger/install.html
... simply ignore everything after you finish setting up Postgres.

Jeff
Kim Kohen wrote:

>G'day Michael
>
>Thanks for the reply.
>
>
>
>>"Boolean search" is vague -- are you talking about what the MySQL
>>documentation refers to "boolean full-text search"?
>>
>>
>€€€€
>Yes, that's it
>
>
>
>>If so then see the contrib/tsearch2 module.
>>
>>
>€€€€
>I googled and read, and googled some more and I decided to have a go at
>compiling from source (something I've never done before). I have the
>appropriate tools installed (I'm on Mac OS X) but I'm getting an error
>trying to make:
>
>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.
>
>Both of these files seem to exist (although src/Makefile.global has a .in
>extension)
>
>I was able to find a couple of old archive forum posts with the same error
>but not one of them had a response. Does anyone have any idea what might be
>causing this problem? If anyone is using OSX and has tsearch2 running I'd be
>appreciaitive of any contact.
>
>Cheers and thanks
>
>Kim
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>
>

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Deepblues 2005-04-06 16:42:55 binding values to sql statement in DBI perl
Previous Message Jeffrey Melloy 2005-04-06 15:24:23 Re: Drawing schema