You are not logged in.

#1 2006-12-05 14:12:26

mdv
Member
From: Poland
Registered: 2005-04-09
Posts: 145

Strigi does not compile

Hello,
I get the following when I try to compile strigi. Any suggestions?

$ makepkg
==> Entering fakeroot environment
==> Making package: strigi 0.3.9-1 (Tue Dec  5 15:10:05 CET 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Found strigi-0.3.9.tar.bz2 in build dir
==> WARNING: MD5sums are missing or incomplete.  Cannot verify source integrity.
==> Extracting Sources...
==>     tar --use-compress-program=bzip2 -xf strigi-0.3.9.tar.bz2
==> Removing existing pkg/ directory...
==> Starting build()...
-- Found BZip2: /lib/libbz2.so
-- Found Sha: /usr/lib/libcrypto.so
-- Found CLucene library: /opt/strigi-clucene/lib/libclucene.so
-- Found CLucene include dir: /opt/strigi-clucene/include
-- Found CLucene library dir: /opt/strigi-clucene/lib
-- Found CLucene: /opt/strigi-clucene/lib/libclucene.so
-- Found Iconv: /usr/lib/libc.so
-- Xerces-C was not found.
-- Found libmagic: /usr/lib/libmagic.so
-- Found libsqlite: /usr/lib/libsqlite3.so
-- Found xattr.h
-- Qt4 was not found. No GUI will be built.
CMake Error: Error in cmake code at
/home/packages/strigi/src/strigi-0.3.9/CMakeLists.txt:73:
MESSAGE Could not find DBus
Current CMake stack: /home/packages/strigi/src/strigi-0.3.9/CMakeLists.txt;/usr/share/CMake/Modules/CMakeCInformation.cmake;/usr/share/CMake/Modules/CMakeCXXInformation.cmake
-- Configuring done
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.  Aborting...

Offline

#2 2006-12-06 11:01:22

funkyou
Member
From: Berlin, DE
Registered: 2006-03-19
Posts: 848
Website

Re: Strigi does not compile

I dont know whats happening here... Du you have dbus properly installed? On my system i have dbus, dbus-glib and dbus-qt3 installed, and it works perfectly...

I suggest to build strigi 0.3.10, because there are many things fixed... I have working PKGBUILDs for it already, but i cannot upload them to AUR because they require the newest version of vanilla clucene (no more strigi-clucene needed), and i cant reach the package maintainer...

Try it with these PKGBUILDs:

clucene:

pkgname=clucene
pkgver=0.9.16
pkgrel=1
pkgdesc="CLucene is a C++ port of Lucene: the high-performance, full-featured text search engine written in Java. CLucene is faster than lucene as it is written in C++."
url="http://clucene.sourceforge.net/"
license="GPL"
depends=()
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://umn.dl.sourceforge.net/clucene/$pkgname-core-$pkgver.tar.bz2)
#md5sums=('25ef972a4ffe07421078f0aa369303f4')

build() {
  cd $startdir/src/$pkgname-core-$pkgver

  #patch -Np1 -i ../???.patch || return 1
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}

strigi:

pkgname=strigi
pkgver=0.3.10
pkgrel=1
pkgdesc="Strigi Desktop Search"
license="GPL"
arch=(i686)
url="http://www.vandenoever.info/software/strigi/"
depends=('clucene' 'cmake' 'libxml2')
source=(http://www.vandenoever.info/software/$pkgname/$pkgname-$pkgver.tar.bz2 
        build-fix.diff)
#md5sums=('53ac9de78bd0ac05c0dc04b6bd544100' 
#        'dfe9dd33a3f93f3ae6ec1e4b808371da')

build() {

        cd $startdir/src/$pkgname-$pkgver

        # apply patches
        cd src/daemon/xsd
        patch -p0 -i $startdir/src/build-fix.diff || return 1

        cd $startdir/src/$pkgname-$pkgver

        cmake -DCMAKE_INSTALL_PREFIX=/opt/kde .

        make || return 1
        make DESTDIR=$startdir/pkg install || return 1
}

strigiapplet:

pkgname=strigiapplet
pkgver=0.3.10
pkgrel=1
pkgdesc="Strigi Desktop Search Applet for KDE3"
license="GPL"
arch=(i686)
url="http://www.vandenoever.info/software/strigi/"
depends=('kdebase' 'cmake' 'strigi')
source=(http://www.vandenoever.info/software/strigi/$pkgname-$pkgver.tar.bz2)
#md5sums=('0469eb1768cd7d488b82917b4f4e22a2')

build() {

        cd $startdir/src/$pkgname-$pkgver
        cmake -DCMAKE_INSTALL_PREFIX=/opt/kde -DCMAKE_INCLUDE_PATH=/opt/kde/include -DCMAKE_LIBRARY_PATH=/opt/kde/lib .

        make || return 1
        make DESTDIR=$startdir/pkg install || return 1
}

and the build-fix.diff for strigi, place it in the strigi-directory:

--- CMakeLists.txt      2006-11-28 20:52:43.000000000 +0100
+++ CMakeLists.txt.new  2006-12-03 16:51:38.000000000 +0100
@@ -8,9 +8,9 @@
 find_package(Java REQUIRED)

 # loop over all xsd files
-file(GLOB XSDFILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.xsd)
+#file(GLOB XSDFILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.xsd)
 # if the previous line does not work, try this:
-# set(XSDFILES "strigidaemonconfiguration.xsd")
+set(XSDFILES "strigidaemonconfiguration.xsd")
 foreach (XSDFILE ${XSDFILES})
   string(REPLACE ".xsd" "" XSDNAME ${XSDFILE})

PS: Dont enable polling or inotify yet, its very unstable...


want a modular and tweaked KDE for arch? try kdemod

Offline

#3 2006-12-07 01:16:24

XVampireX
Member
Registered: 2006-11-30
Posts: 20

Re: Strigi does not compile

[merlin@serge-desktop strigi]$ sudo makepkg -s
==> Making package: strigi 0.3.10-1 (Thu Dec  7 03:13:52 IST 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Using local copy of strigi-0.3.10.tar.bz2
==>     Found build-fix.diff in build dir
==> WARNING: MD5sums are missing or incomplete.  Cannot verify source integrity.
==> Extracting Sources...
==>     tar --use-compress-program=bzip2 -xf strigi-0.3.10.tar.bz2
==> Starting build()...
patching file CMakeLists.txt
Hunk #1 FAILED at 8.
1 out of 1 hunk FAILED -- saving rejects to file CMakeLists.txt.rej
==> ERROR: Build Failed.  Aborting...

Offline

#4 2006-12-07 09:53:34

funkyou
Member
From: Berlin, DE
Registered: 2006-03-19
Posts: 848
Website

Re: Strigi does not compile

It works for me...

$ sudo makepkg
==> Making package: strigi 0.3.10-2 (Thu Dec  7 10:51:01 CET 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Using local copy of strigi-0.3.10.tar.bz2
==>     Found build-fix.diff in build dir
==> WARNING: MD5sums are missing or incomplete.  Cannot verify source integrity.
==> Extracting Sources...
==>     tar --use-compress-program=bzip2 -xf strigi-0.3.10.tar.bz2
==> Starting build()...
patching file CMakeLists.txt
-- Check for working C compiler: gcc
-- Check for working C compiler: gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: c++
-- Check for working CXX compiler: c++ -- works
-- Found ZLIB: /usr/lib/libz.so
-- Looking for BZ2_bzCompressInit in /lib/libbz2.so
-- Looking for BZ2_bzCompressInit in /lib/libbz2.so - found
...

Does the build-fix.diff looks exactly like posted here?

-EDIT- I have uploaded the newest version of strigi and strigiapplet to AUR...


want a modular and tweaked KDE for arch? try kdemod

Offline

#5 2006-12-07 14:57:19

XVampireX
Member
Registered: 2006-11-30
Posts: 20

Re: Strigi does not compile

Thanks, the version from aur works fine for me smile

Enter a selection: [b]
==> Checking Buildtime Dependencies...

  `- cmake: ok [M]
==> Checking Runtime Dependencies...

  `- kdelibs: ok [D]
  `- strigi: ok [D]
==> Entering fakeroot environment
==> Making package: strigiapplet 0.3.10-1 (Thu Dec  7 17:05:25 IST 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Using local copy of strigiapplet-0.3.10.tar.bz2
==> Validating source files with MD5sums
    strigiapplet-0.3.10.tar.bz2 ... Passed
==> Extracting Sources...
==>     tar --use-compress-program=bzip2 -xf strigiapplet-0.3.10.tar.bz2
==> Starting build()...
-- Check for working C compiler: gcc
-- Check for working C compiler: gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: c++
-- Check for working CXX compiler: c++ -- works
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found KDE3 include dir: /opt/kde/include
-- Found KDE3 library dir: /opt/kde/lib
-- Found KDE3 dcopidl preprocessor: /opt/kde/bin/dcopidl
-- Found KDE3 dcopidl2cpp preprocessor: /opt/kde/bin/dcopidl2cpp
-- Found KDE3 kconfig_compiler preprocessor: /opt/kde/bin/kconfig_compiler
-- Found JStreams: /opt/kde/lib/libstreams.so
-- Found Strigi: /opt/kde/lib/libstrigihtmlgui.so
CMake Error: This project requires some variables to be set,
and cmake can not find them.
Please set the following variables:
/home/merlin/.aurbuild.9167/strigiapplet/src/strigiapplet-0.3.10/src/jstream/QT_INCLUDE_DIR
/home/merlin/.aurbuild.9167/strigiapplet/src/strigiapplet-0.3.10/src/kickerapplet/QT_INCLUDE_DIR
/home/merlin/.aurbuild.9167/strigiapplet/src/strigiapplet-0.3.10/src/strigi/QT_INCLUDE_DIR

-- Configuring done
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.  Aborting...

aurbuild: could not build "strigiapplet" with makepkg.

But this is what happens on strigiapplet...

Offline

#6 2006-12-07 17:26:27

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

Re: Strigi does not compile

Just a guess: on the cmake line, add -DCMAKE_QT_INCLUDE_DIR=/opt/qt/include
If this needs qt4, change the path appropriately.

Offline

#7 2006-12-07 20:52:58

funkyou
Member
From: Berlin, DE
Registered: 2006-03-19
Posts: 848
Website

Re: Strigi does not compile

strigi has 2 GUIs, at first the one which comes with the strigi base package. This one needs QT4... Then there is the strigiapplet which runs with QT3, and is a convience solution for KDE3...

On my machine the applet compiles flawless, so i dont saw the need to include more cmake options... XVampireX, please do me a favour: If it runs with the build option Snowman posted above, then leave a comment here or at the AUR page of strigiapplet. I can't check this because it compiles without this option on my machine...

I had a chat with the strigi developer recently, who told me that some people have such sort of weird errors while building it. I also had some issues with strigi and had to include a patch for fixing the cmake scripts... But he promised me that this will be fixed with a future relase, or maybe we need another patch wink


want a modular and tweaked KDE for arch? try kdemod

Offline

#8 2006-12-07 20:54:16

XVampireX
Member
Registered: 2006-11-30
Posts: 20

Re: Strigi does not compile

[merlin@serge-desktop strigiapplet]$ sudo makepkg -s
==> Making package: strigiapplet 0.3.10-1 (Thu Dec  7 22:42:56 IST 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Using local copy of strigiapplet-0.3.10.tar.bz2
==> WARNING: MD5sums are missing or incomplete.  Cannot verify source integrity.
==> Extracting Sources...
==>     tar --use-compress-program=bzip2 -xf strigiapplet-0.3.10.tar.bz2
==> Starting build()...
-- Check for working C compiler: gcc
-- Check for working C compiler: gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: c++
-- Check for working CXX compiler: c++ -- works
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found KDE3 include dir: /opt/kde/include
-- Found KDE3 library dir: /opt/kde/lib
-- Found KDE3 dcopidl preprocessor: /opt/kde/bin/dcopidl
-- Found KDE3 dcopidl2cpp preprocessor: /opt/kde/bin/dcopidl2cpp
-- Found KDE3 kconfig_compiler preprocessor: /opt/kde/bin/kconfig_compiler
CMake Error: Error in cmake code at
/var/abs/local/strigiapplet/src/strigiapplet-0.3.10/cmake/FindJStreams.cmake:32:
MESSAGE Could not find JStreams
Current CMake stack: /var/abs/local/strigiapplet/src/strigiapplet-0.3.10/CMakeLists.txt;/usr/share/CMake/Modules/CMakeCInformation.cmake;/usr/share/CMake/Modules/CMakeCXXInformation.cmake;/var/abs/local/strigiapplet/src/strigiapplet-0.3.10/cmake/FindJStreams.cmake
-- Configuring done
./PKGBUILD: line 16: -DCMAKE_INCLUDE_PATH=/opt/kde/include: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.  Aborting...

That's what happens after. Thanks for the help on the first one, but we're not getting far tongue

Offline

#9 2006-12-07 21:00:35

funkyou
Member
From: Berlin, DE
Registered: 2006-03-19
Posts: 848
Website

Re: Strigi does not compile

XVampireX wrote:

[merlin@serge-desktop strigiapplet]$ sudo makepkg -s
...
==>     Using local copy of strigiapplet-0.3.10.tar.bz2
==> WARNING: MD5sums are missing or incomplete.  Cannot verify source integrity.
...

Are you really using the PKGBUILD from AUR? I have MD5sums included wink


want a modular and tweaked KDE for arch? try kdemod

Offline

#10 2006-12-08 03:02:19

XVampireX
Member
Registered: 2006-11-30
Posts: 20

Re: Strigi does not compile

I found my problem, I installed qBitTorrent a while ago and it asked me to update my profile to Qt4: sudo qt-config qt4
So I did that, and then I tried to compile a few other programs, it seems it's all connected to this. So I tried changing it back, and it works wink

Offline

#11 2006-12-12 18:34:15

mdv
Member
From: Poland
Registered: 2005-04-09
Posts: 145

Re: Strigi does not compile

I have qt4 and qt3, dbus is installed and running but it still does not compile. I use the most recent aur version.

$ makepkg
==> Entering fakeroot environment
==> Making package: strigi 0.3.10-1 (Tue Dec 12 19:29:52 CET 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Found strigi-0.3.10.tar.bz2 in build dir
==>     Found build-fix.diff in build dir
==> Validating source files with MD5sums
    strigi-0.3.10.tar.bz2 ... Passed
    build-fix.diff ... Passed
==> Extracting Sources...
==>     tar --use-compress-program=bzip2 -xf strigi-0.3.10.tar.bz2
==> Removing existing pkg/ directory...
==> Starting build()...
patching file CMakeLists.txt
-- Found BZip2: /lib/libbz2.so
-- Found Sha: /usr/lib/libcrypto.so
-- Found Iconv: /usr/lib/libc.so
-- Found CLucene library: /usr/lib/libclucene.so
-- Found CLucene include dir: /usr/include
-- Found CLucene library dir: /usr/lib
-- Found CLucene: /usr/lib/libclucene.so
-- Xerces-C was not found.
-- Found libmagic: /usr/lib/libmagic.so
-- Found libsqlite: /usr/lib/libsqlite3.so
-- Found xattr.h
-- Qt4 was not found. No GUI will be built.
CMake Error: Error in cmake code at
/home/packages/strigi/src/strigi-0.3.10/CMakeLists.txt:74:
MESSAGE Could not find DBus
Current CMake stack: /home/packages/strigi/src/strigi-0.3.10/CMakeLists.txt;/usr/share/CMake/Modules/CMakeCInformation.cmake;/usr/share/CMake/Modules/CMakeCXXInformation.cmake
-- Configuring done
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.  Aborting...

Offline

#12 2006-12-12 23:51:55

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Strigi does not compile

try installing pkgconfig

Offline

#13 2006-12-13 12:53:49

mdv
Member
From: Poland
Registered: 2005-04-09
Posts: 145

Re: Strigi does not compile

$ yaourt pkgconfig
1) current/pkgconfig 0.20-1 [installed]
   A system for managing library compile/link flags
2) extra/glib-perl 1.140-1 [installed]
   wrappers for glib 2.x, including GObject, and a PkgConfig utility
3) extra/perl-extutils-pkgconfig 1.07-2
   The Perl Pkgconfig module

That is not the case. I have that already.

Offline

Board footer

Powered by FluxBB