Htdig

From CBLFS
Jump to navigationJump to search
Download Source: http://www.htdig.org/files/htdig-3.2.0b6.tar.gz
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/htdig/htdig-3.2.0b6-collection-01.patch

Introduction to Htdig

ht://Dig is a WWW Search Engine Software

Project Homepage: http://www.htdig.org/

Dependencies

Required

Optional

Non-Multilib

To be done

Multilib

32Bit

To be done

N32

To be done

64Bit

Apply the patch:

patch -Np1 -i ../htdig-3.2.0b6-collection-01.patch

Configure and compile the package:

CXXFLAGS=-Wno-deprecated CPPFLAGS=-Wno-deprecated \
CC="gcc ${BUILD64} -fPIC" CXX="g++ ${BUILD64} -fPIC"\
./configure --prefix=/usr --sysconfdir=/etc \
  --localstatedir=/var \
  --infodir=/usr/share/info \
  --mandir=/usr/share/man --with-config-dir=/etc/htdig/conf \
  --with-common-dir=/usr/share/htdig/common \
  --with-database-dir=/usr/share/htdig/db \
  --with-default-config-file=/etc/htdig/conf/htdig.conf \
  --with-cgi-bin-dir=/usr/local/apache2/cgi-bin \
  --with-image-dir=/usr/local/apache2/htdocs/htdig \
  --with-search-dir=/usr/local/apache2/htdocs/htdig \
  --libdir=/usr/lib64

make

Install the package:

make install

Contents

Installed Programs: htdig, htmerge, htfuzzy, htnotify, htdump, htstat, htload, htsearch, qtest, rundig
Installed Libraries: libcommon.{a,so}, libfuzzy.{a,so}, libht.{a,so}, libhtnet.{a,so}, libhtword{a,so}, libhtdb.{a,so}
Installed Directories: /usr/lib64/{htdig,htdig_db}, /usr/include/{htdig,htdig_db}, /usr/local/apache2/htdocs/htdig
Retrieved from "?title=Htdig&oldid=18565"