improvements
authordpavlin <dpavlin@8392b6e1-25fa-0310-8288-cc32f8e212ea>
Tue, 30 Aug 2005 09:55:43 +0000 (09:55 +0000)
committerdpavlin <dpavlin@8392b6e1-25fa-0310-8288-cc32f8e212ea>
Tue, 30 Aug 2005 09:55:43 +0000 (09:55 +0000)
git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@96 8392b6e1-25fa-0310-8288-cc32f8e212ea

doc/Search.pm

index 63ea788..d9392e7 100644 (file)
@@ -25,8 +25,16 @@ medium (CD, DVD, tape etc.)
 This extension is based on PostgreSQL RDBMS and HyperEstraier full-text
 search engine (and it's perl bindings).
 
-So, you will need to install additional packages which is described in
-following procedure.
+If you are using Debian, you are in luck. All required packages are
+allready part of C<unstable> distribution and can be installed with:
+
+  # apt-get install postgresql
+  # apt-get install hyperestraier libestraier-dev libqdbm-dev
+
+Now you can skip to installation of HyperEstraier perl bindings below.
+
+If you don't have pre-packaged binaries for your installation, you will
+need to install additional packages by hand.
 
 =over 4
 
@@ -80,7 +88,8 @@ Working C<Makefile.PL> for my particular installation is:
  use ExtUtils::MakeMaker;
  WriteMakefile(
        NAME    => 'HyperEstraier',
-       LIBS    => [sprintf('-lstdc++ %s %s' , `estconfig --libs`)],
+       INC     => sprintf('%s', `pkg-config --cflags hyperestraier`),
+       LIBS    => [sprintf('-lstdc++ %s %s' , `pkg-config --libs hyperestraier`)],
        OBJECT  => 'HyperEstraierWrapper.o HyperEstraier_wrap.o'
  );