Re: pg_similarity - Mailing list pgsql-general

From Pavel Stehule
Subject Re: pg_similarity
Date
Msg-id CAFj8pRAjcjwk8rL7dzwj=vW8ZpNCXV6OL18aFa55MKk5-+M3Hg@mail.gmail.com
Whole thread Raw
In response to pg_similarity  (janek12@web.de)
List pgsql-general
Hello

you are missing some from basic packages on your system probably

postgresql-devel.i686 : PostgreSQL development header files and libraries
postgresql-server.i686 : The programs needed to create and run a PostgreSQL

Regards

Pavel Stehule


2013/10/7 <janek12@web.de>
Hi,

I have some problems to install the pg_similarity Module. It's my first time to install something like that and I'm a novice in Linux.
This is the Introduction:
tar -zxf pg_similarity-0.0.19.tgz
$ cd pg_similarity-0.0.19
$ $EDITOR Makefile # edit PG_CONFIG iif necessary
$ USE_PGXS=1 make
$ USE_PGXS=1 make install
$ psql -f SHAREDIR/contrib/pg_similarity.sql mydb # SHAREDIR is pg_config --sharedir
 
 
I' ve been editing the file 'Makefile' with my path of the PG_CONFIG: PG_CONFIG = /usr/bin/pg_config.
But at the next the error:
'Makefile:14: /usr/lib/postgresql/9.2/lib/pgxs/src/makefiles/pgxs.mk: No such file or directory
make: *** No rule to make target `/usr/lib/postgresql/9.2/lib/pgxs/src/makefiles/pgxs.mk'. Stop.' is raising.
 
I don't know what to do. I count't find another introduction
 
Janek Sendrowski
 

pgsql-general by date:

Previous
From: Ovid
Date:
Subject: Altering parent table breaks child table defaults
Next
From: Michal TOMA
Date:
Subject: Re: pg_xlog size growing untill it fills the partition