pg_similarity
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi,</div>
<div><br/>
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.</div>
<div>This is the Introduction:</div>
<div>tar -zxf pg_similarity-0.0.19.tgz<br/>
$ cd pg_similarity-0.0.19<br/>
$ $EDITOR Makefile # edit PG_CONFIG iif necessary<br/>
$ USE_PGXS=1 make<br/>
$ USE_PGXS=1 make install<br/>
$ psql -f SHAREDIR/contrib/pg_similarity.sql mydb # SHAREDIR is pg_config --sharedir</div>
<div> </div>
<div>link: http://pgsimilarity.projects.pgfoundry.org/</div>
<div> </div>
<div>I' ve been editing the file 'Makefile' with my path of the PG_CONFIG: PG_CONFIG = /usr/bin/pg_config.</div>
<div>But at the next the error:</div>
<div>'Makefile:14: /usr/lib/postgresql/9.2/lib/pgxs/src/makefiles/pgxs.mk: No such file or directory<br/>
make: *** No rule to make target `/usr/lib/postgresql/9.2/lib/pgxs/src/makefiles/pgxs.mk'. Stop.' is raising.</div>
<div> </div>
<div>I don't know what to do. I count't find another introduction</div>
<div> </div>
<div>Janek Sendrowski</div>
<div> </div></div></body></html>
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>
Show quoted text
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
--sharedirlink: http://pgsimilarity.projects.pgfoundry.org/
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