You are not logged in.

#1 2006-07-06 01:34:05

sabrewolf
Member
Registered: 2004-10-26
Posts: 45

problems with strigi

error compiling strigi, i got this error with:

pkgname=strigi
pkgver=0.3.0
pkgrel=1
pkgdesc="A replacement for kat and beagle"
url="www.archlinux.org"
license="GPL"
depends=()
makedepends=()
conflicts=()
replaces=()
backup=()
#install=
source=(ftp://localhost/$pkgname-$pkgver.tar.bz2)
#md5sums=()

build() {
  export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/opt/qt4/lib"
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}

Making install in src
make[1]: Entering directory `/var/abs/local/strigi/src/strigi-0.3.0/src'
Making install in streams
make[2]: Entering directory `/var/abs/local/strigi/src/strigi-0.3.0/src/streams'
Making install in .
make[3]: Entering directory `/var/abs/local/strigi/src/strigi-0.3.0/src/streams'
make[4]: Entering directory `/var/abs/local/strigi/src/strigi-0.3.0/src/streams'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
/bin/sh ../../libtool --mode=install /bin/install -c  'libstreams.la' '/usr/local/lib/libstreams.la'
/bin/install -c .libs/libstreams.so.0.0.0 /usr/local/lib/libstreams.so.0.0.0
(cd /usr/local/lib && { ln -s -f libstreams.so.0.0.0 libstreams.so.0 || { rm -f libstreams.so.0 && ln -s libstreams.so.0.0.0 libstreams.so.0; }; })
(cd /usr/local/lib && { ln -s -f libstreams.so.0.0.0 libstreams.so || { rm -f libstreams.so && ln -s libstreams.so.0.0.0 libstreams.so; }; })
/bin/install -c .libs/libstreams.lai /usr/local/lib/libstreams.la
/bin/install -c .libs/libstreams.a /usr/local/lib/libstreams.a
chmod 644 /usr/local/lib/libstreams.a
ranlib /usr/local/lib/libstreams.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include" || mkdir -p -- "/usr/local/include"
/bin/install -c -m 644 'streambase.h' '/usr/local/include/streambase.h'
/bin/install -c -m 644 'substreamprovider.h' '/usr/local/include/substreamprovider.h'
/bin/install -c -m 644 'substreamproviderprovider.h' '/usr/local/include/substreamproviderprovider.h'
/bin/install -c -m 644 'fileinputstream.h' '/usr/local/include/fileinputstream.h'
/bin/install -c -m 644 'bufferedstream.h' '/usr/local/include/bufferedstream.h'
/bin/install -c -m 644 'inputstreambuffer.h' '/usr/local/include/inputstreambuffer.h'
make[4]: Leaving directory `/var/abs/local/strigi/src/strigi-0.3.0/src/streams'
make[3]: Leaving directory `/var/abs/local/strigi/src/strigi-0.3.0/src/streams'
Making install in tests
make[3]: Entering directory `/var/abs/local/strigi/src/strigi-0.3.0/src/streams/tests'
make[4]: Entering directory `/var/abs/local/strigi/src/strigi-0.3.0/src/streams/tests'
make[4]: No se hace nada para `install-exec-am'.
make[4]: No se hace nada para `install-data-am'.
make[4]: Leaving directory `/var/abs/local/strigi/src/strigi-0.3.0/src/streams/tests'
make[3]: Leaving directory `/var/abs/local/strigi/src/strigi-0.3.0/src/streams/tests'
make[2]: Leaving directory `/var/abs/local/strigi/src/strigi-0.3.0/src/streams'
Making install in streamindexer
make[2]: Entering directory `/var/abs/local/strigi/src/strigi-0.3.0/src/streamindexer'
make[3]: Entering directory `/var/abs/local/strigi/src/strigi-0.3.0/src/streamindexer'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
/bin/sh ../../libtool --mode=install /bin/install -c  'libstreamindexer.la' '/usr/local/lib/libstreamindexer.la'
libtool: install: error: cannot install `libstreamindexer.la' to a directory not ending in /usr/lib
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory `/var/abs/local/strigi/src/strigi-0.3.0/src/streamindexer'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/abs/local/strigi/src/strigi-0.3.0/src/streamindexer'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/strigi/src/strigi-0.3.0/src'
make: *** [install-recursive] Error 1


and the version 0.3.2 that use cmake:

pkgname=strigi
pkgver=0.3.0
pkgrel=1
pkgdesc="A replacement for kat and beagle"
url="www.archlinux.org"
license="GPL"
depends=()
makedepends=()
conflicts=()
replaces=()
backup=()
#install=
source=(ftp://localhost/$pkgname-$pkgver.tar.bz2)
#md5sums=()

build() {
  mkdir build
  cd build
  cmake ../
  make || return 1
  make DESTDIR=$startdir/pkg install

i got this error:

-- Found BZip2: /lib/libbz2.so
-- Found Sha: /usr/lib/libcrypto.so
-- Found CLucene library: /usr/lib/libclucene.so
-- Found CLucene include dir: /usr/local
-- Found CLucene library dir: /usr/lib
Could not find CLucene. Please download CLucene from http://clucene.sf.net
-- Configuring done

but clucene is installed:

[root@Geo-Front build]# pacman -Q clucene-core
clucene-core 0.9.15-1
[root@Geo-Front build]#

any idea ???


[code]sorry for my english [/code]

Offline

#2 2006-07-12 21:36:34

sabrewolf
Member
Registered: 2004-10-26
Posts: 45

Re: problems with strigi

up  :?

strigi is like beagle, but for kde

Here are the main features of Strigi:

very fast crawling 
very small memory footprint 
no hammering of the system 
pluggable backend, currently clucene and hyperestraier, sqlite3 and xapian are in the works 
communication between daemon and search program over an abstract interface, this is currently a simple socket but implementation of dbus is a possibility. There's a small perl program in the code as an example of how to query. This is so easy that any KDE app could implement this. 
simple interface for implementing plugins for extracting information. we'll try to reuse the kat plugins, although native plugins will have a large speed advantage 
calculation of sha1 for every file crawled (allows fast finding of duplicates) 

[code]sorry for my english [/code]

Offline

#3 2006-07-12 23:23:57

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: problems with strigi

About strigi 0.3.0: the makefile tries to install files directly in the system. Maybe it uses another variable than DESTDIR for the installation directory. Or the Makefile needs to be patched.

About 0.3.2: Do you have pkgconfig installed?

Offline

Board footer

Powered by FluxBB