Pages : 1
#1 Le 16/03/2007, à 11:00
- ixgamerz
installation Xapian
Bonjour,
http://www.xapian.org/
Xapian, est un moteur de recherche et d'indexation développé en C++ qui est très prometteur, il est fournit avec des librairies permettant de l'utiliser avec d'autres langages de haut niveau comme perl, php, ruby, etc....
J'essaie d'installer le moteur de recherche Xapian, mais j'ai de gros problèmes à comprendre son fonctionnement et son paramétrage, je souhaiterais l'utiliser avec PHP5
J'ai installé les paquets suivants:
- xapian-core-0.9.10
- xapian-omega-0.9.10
avec la méthodes
./configure
install
make install
et je n'arrive pas installer le
xapian-bindings-0.9.10
J'obtiens l'erreur suivante au ./configure:
*** Not found the tools to build any bindings!
*** To point configure at tools not on PATH, see: ./configure --help
*** You may need to install -dev or -devel packages to build bindings
lorsque je tape --help, j'obtiens ceci...
`configure' configures xapian-bindings 0.9.10 to adapt to many kinds of systems.
Usage: ./configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/xapian-bindings]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
Program names:
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]
Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-static[=PKGS] build static libraries [default=no]
--enable-shared[=PKGS] build shared libraries [default=yes]
--enable-fast-install[=PKGS]
optimize for fast installation [default=yes]
--disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors
--disable-libtool-lock avoid locking (might break parallel builds)
--enable-maintainer-mode enable make rules and dependencies not useful
(and sometimes confusing) to the [color=red][b]SPAM[/b][/color] installer
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-pic try to use only PIC/non-PIC objects [default=use
both]
--with-tags[=TAGS] include additional configurations [automatic]
--with-swig enable all bindings which depend on SWIG (currently:
CSharp PHP Python Ruby Tcl)
--with-python enable Python bindings
--with-php enable PHP bindings
--with-ruby enable Ruby bindings
--with-tcl enable Tcl bindings
--with-csharp enable CSharp bindings
--with-java enable Java bindings
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CPP C preprocessor
CXX C++ compiler command
CXXFLAGS C++ compiler flags
CXXCPP C++ preprocessor
F77 Fortran 77 compiler command
FFLAGS Fortran 77 compiler flags
XAPIAN_CONFIG
Location of xapian-config
SWIG SWIG interface generator (only needed by Xapian developers)
PYTHON Python interpreter
PYTHON_LIB Directory to install python bindings in
PHP_CONFIG php-config utility
PHP php interpreter (optional - only needed to run PHP testsuite
with)
TCLSH Tcl interpreter
CSC CSharp compiler command
GACUTIL gacutil utility to use for CSharp bindings
SN sn utility to use for CSharp bindings
MONO CSharp bytecode interpreter (optional - only needed to run
CSharp testsuite with)
JAVA Java interpreter command
JAVAC Java compiler command
JAR java jar utility
RUBY Ruby interpreter
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
Je ne comprend pas ce qui manque....
merci pour votre aide
Ix
Ubuntu Dapper Drake 6.06 LTS
Hors ligne
#2 Le 16/03/2007, à 11:44
- ixgamerz
Re : installation Xapian
Remoi,
Au fait il est possible de l'installer par synaptic avec les dépots ou avec la méthode décrite à la page http://www.xapian.org/download.php.
Je cherche toutefois toujours é comprendre comment il fonctionne alors si quelqu'un s'y connait ou est motivé, ca peut être très intéressant...
A+
Ix
Ubuntu Dapper Drake 6.06 LTS
Hors ligne
#3 Le 02/04/2007, à 14:53
- Mouloud2007
Re : installation Xapian
+1
#4 Le 12/04/2007, à 00:18
- gogol
Re : installation Xapian
bonjour
j'ai réussi l'install du core, omega et binding.
j'ai fait le quickstart et ca fonctionne sans problème. mais impossible de comprendre comment faire pour indexer un site internet.
pour le dev manquant essaye d'insatller mysql-client
apt-get install mysql-client
#5 Le 16/04/2007, à 10:56
- ixgamerz
Re : installation Xapian
pour finir je suis passé par synaptic et ca fonctionne bien...
Reste plus qu'à comprendre comment l'utiliser si quelqu'un à une idée concernant l'indexation de PDF,doc et autres fichiers... Ca m'intéresse vivement...
Ubuntu Dapper Drake 6.06 LTS
Hors ligne
#6 Le 17/04/2007, à 08:00
- ixgamerz
Re : installation Xapian
Pour indexer un site internet, je crois que tu devrais essayer d'utiliser la commande:
omindex <chemin de la BD> <url> ou quelque chose comme ca. il faut que tu sois sur le serveur web ou alors avec un compte ftp et la commande wget, c'est une idée...
Ubuntu Dapper Drake 6.06 LTS
Hors ligne
Pages : 1