pg_similarity

Поиск
Список
Период
Сортировка
Искать

pg_similarity

От:
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
 
link: 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
 

Re: pg_similarity

От:
Pavel Stehule <pavel.stehule@gmail.com>
Дата:
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
 

Re: pg_similarity

От:
janek12@web.de
Дата:
Now the Steps:
$ USE_PGXS=1 make
$ USE_PGXS=1 make install
are working.
But I still don't have the directory 'SHAREDIR/contrib/pg_similarity.sql'
 
Janek Sendrowski
 

Re: pg_similarity

От:
janek12@web.de
Дата:
Thanks a lot!
Now it's working :)
 
Janek Sendrowksi

FAQ