25 |
This extension is based on PostgreSQL RDBMS and HyperEstraier full-text |
This extension is based on PostgreSQL RDBMS and HyperEstraier full-text |
26 |
search engine (and it's perl bindings). |
search engine (and it's perl bindings). |
27 |
|
|
28 |
So, you will need to install additional packages which is described in |
If you are using Debian, you are in luck. All required packages are |
29 |
following procedure. |
allready part of C<unstable> distribution and can be installed with: |
30 |
|
|
31 |
|
# apt-get install postgresql |
32 |
|
# apt-get install hyperestraier libestraier-dev libqdbm-dev |
33 |
|
|
34 |
|
Now you can skip to installation of HyperEstraier perl bindings below. |
35 |
|
|
36 |
|
If you don't have pre-packaged binaries for your installation, you will |
37 |
|
need to install additional packages by hand. |
38 |
|
|
39 |
=over 4 |
=over 4 |
40 |
|
|
88 |
use ExtUtils::MakeMaker; |
use ExtUtils::MakeMaker; |
89 |
WriteMakefile( |
WriteMakefile( |
90 |
NAME => 'HyperEstraier', |
NAME => 'HyperEstraier', |
91 |
LIBS => [sprintf('-lstdc++ %s %s' , `estconfig --libs`)], |
INC => sprintf('%s', `pkg-config --cflags hyperestraier`), |
92 |
|
LIBS => [sprintf('-lstdc++ %s %s' , `pkg-config --libs hyperestraier`)], |
93 |
OBJECT => 'HyperEstraierWrapper.o HyperEstraier_wrap.o' |
OBJECT => 'HyperEstraierWrapper.o HyperEstraier_wrap.o' |
94 |
); |
); |
95 |
|
|