View previous topic :: View next topic |
Author |
Message |
Debentoo_Gao Tux's lil' helper
Joined: 21 Nov 2003 Posts: 85 Location: Shanghai,China
|
Posted: Fri Sep 07, 2007 4:43 am Post subject: strigi always compiles failed,I can't go on my kde4 way |
|
|
both 0.55 & 9999 ebuild,I tried all the backends,clucene, hyperestraier and sqlite3,the compile error is:
Code: |
[ 47%] Building CXX object src/estraierindexer/CMakeFiles/estraierindex.dir/estr
aierindexmanager.o
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/estra
ierindexmanager.cpp: In member function âvirtual Strigi::IndexReader* EstraierIn
dexManager::indexReader()â:
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/estra
ierindexmanager.cpp:65: error: cannot allocate an object of abstract type âEstra
ierIndexReaderâ
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/estra
ierindexreader.h:29: note: because the following virtual functions are pure wi
thin âEstraierIndexReaderâ:
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/../st
reamanalyzer/indexreader.h:56: note: virtual std::vector<Strigi::IndexedDocum
ent, std::allocator<Strigi::IndexedDocument> > Strigi::IndexReader::query(const
Strigi::Query&, int, int)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/estra
ierindexmanager.cpp: In member function âvirtual Strigi::IndexWriter* EstraierIn
dexManager::indexWriter()â:
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/estra
ierindexmanager.cpp:75: error: cannot allocate an object of abstract type âEstra
ierIndexWriterâ
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/estra
ierindexwriter.h:27: note: because the following virtual functions are pure wi
thin âEstraierIndexWriterâ:
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/../st
reamanalyzer/indexwriter.h:68: note: virtual void Strigi::IndexWriter::startA
nalysis(const Strigi::AnalysisResult*)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/estra
ierindexmanager.cpp: In function âvoid removefiles(const std::string&, bool)â:
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/estra
ierindexmanager.cpp:102: error: âerrnoâ was not declared in this scope
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/estraierindexer/estra
ierindexmanager.cpp:129: error: âerrnoâ was not declared in this scope
make[2]: *** [src/estraierindexer/CMakeFiles/estraierindex.dir/estraierindexmana
ger.o] Error 1
make[1]: *** [src/estraierindexer/CMakeFiles/estraierindex.dir/all] Error 2
make: *** [all] Error 2
*
* ERROR: app-misc/strigi-9999 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* strigi-9999.ebuild, line 99: Called cmake-utils_src_compile
* cmake-utils.eclass, line 89: Called cmake-utils_src_make
* cmake-utils.eclass, line 157: Called die
*
* Make failed!
* If you need support, post the topmost build error, and the call stack if rele
vant.
* A complete build log is located at '/var/tmp/portage/app-misc/strigi-9999/tem p/build.log'.
*
|
My emerge --info:
Code: | Portage 2.1.3.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-kamikaze9 i686)
=================================================================
System uname: 2.6.22-kamikaze9 i686 AMD Turion(tm) 64 X2
Gentoo Base System release 1.12.10
Timestamp of tree: Thu, 06 Sep 2007 01:50:01 +0000
ccache version 2.4 [disabled]
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="cache distcc distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://linux.ntcu.net/ftp/dists/gentoo ftp://gentoo.anheng.com.cn/gentoo http://mirrors.acm.cs.rpi.edu/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gentoo-china /usr/portage/local/layman/zugaina /usr/portage/local/layman/kde /usr/local/myportage"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="X acl acpi alsa berkdb bitmap-fonts cairo cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos ldap mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pch pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xprint xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vmware fbdev vga vesa nv v4l"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
_________________ More Love~~More Dream~~More Happiness
Free Your Mind~~Free Your Body~~Free Your Life
http://www.myblue.ws |
|
Back to top |
|
|
Debentoo_Gao Tux's lil' helper
Joined: 21 Nov 2003 Posts: 85 Location: Shanghai,China
|
Posted: Fri Sep 07, 2007 6:12 am Post subject: |
|
|
I find a solution,but failed:
Code: |
No, it looks like strigi-9999 and strigi-0.5.5 both fail. I installed strigi-0.5.4 from the KDE repo (ftp://ftp.kde.org/pub/kde/unstable/3.92/src/strigi-0.5.4.tar.bz2) and, as I was typing the kdelibs emerge completed, it works fine.
For everyone who doesn't know how to do this (I'm actually wondering why those are attempting to install kde4, but whatever, I typed it already):
download ftp://ftp.kde.org/pub/kde/unstable/3.92/src/strigi-0.5.4.tar.bz2 into distfiles
copy strigi-0.5.1.ebuild to strigi-0.5.4.ebuild
update the manifest (checksums are the same, doh)
digest
emerge
|
Code: |
[ 44%] Building CXX object src/luceneindexer/CMakeFiles/cluceneindex.dir/cluceneindexreader.o
[ 44%] Building CXX object src/luceneindexer/CMakeFiles/cluceneindex.dir/cluceneindexwriter.o
[ 44%] Building CXX object src/luceneindexer/CMakeFiles/cluceneindex.dir/jsgzipcompressstream.o
Linking CXX shared library libcluceneindex.so
[ 44%] Built target cluceneindex
Scanning dependencies of target estraierindex
[ 44%] Building CXX object src/estraierindexer/CMakeFiles/estraierindex.dir/estraierindexmanager.o
/var/tmp/portage/app-misc/strigi-0.5.4/work/strigi-0.5.4/src/estraierindexer/estraierindexmanager.cpp: In member function âvirtual Strigi::IndexReader* EstraierIndexManager::indexReader()â:
/var/tmp/portage/app-misc/strigi-0.5.4/work/strigi-0.5.4/src/estraierindexer/estraierindexmanager.cpp:65: error: cannot allocate an object of abstract type âEstraierIndexReaderâ
/var/tmp/portage/app-misc/strigi-0.5.4/work/strigi-0.5.4/src/estraierindexer/estraierindexreader.h:29: note: because the following virtual functions are pure within âEstraierIndexReaderâ:
/var/tmp/portage/app-misc/strigi-0.5.4/work/strigi-0.5.4/src/estraierindexer/../streamanalyzer/indexreader.h:56: note: virtual std::vector<Strigi::IndexedDocument, std::allocator<Strigi::IndexedDocument> > Strigi::IndexReader::query(const Strigi::Query&, int, int)
/var/tmp/portage/app-misc/strigi-0.5.4/work/strigi-0.5.4/src/estraierindexer/estraierindexmanager.cpp: In member function âvirtual Strigi::IndexWriter* EstraierIndexManager::indexWriter()â:
/var/tmp/portage/app-misc/strigi-0.5.4/work/strigi-0.5.4/src/estraierindexer/estraierindexmanager.cpp:75: error: cannot allocate an object of abstract type âEstraierIndexWriterâ
/var/tmp/portage/app-misc/strigi-0.5.4/work/strigi-0.5.4/src/estraierindexer/estraierindexwriter.h:27: note: because the following virtual functions are pure within âEstraierIndexWriterâ:
/var/tmp/portage/app-misc/strigi-0.5.4/work/strigi-0.5.4/src/estraierindexer/../streamanalyzer/indexwriter.h:68: note: virtual void Strigi::IndexWriter::startAnalysis(const Strigi::AnalysisResult*)
make[2]: *** [src/estraierindexer/CMakeFiles/estraierindex.dir/estraierindexmanager.o] Error 1
make[1]: *** [src/estraierindexer/CMakeFiles/estraierindex.dir/all] Error 2
make: *** [all] Error 2
*
* ERROR: app-misc/strigi-0.5.4 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* strigi-0.5.4.ebuild, line 90: Called cmake-utils_src_compile
* cmake-utils.eclass, line 89: Called cmake-utils_src_make
* cmake-utils.eclass, line 157: Called die
*
* Make failed!
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/app-misc/strigi-0.5.4/temp/build.log'.
*
* Messages for package app-misc/strigi-0.5.4:
*
* ERROR: app-misc/strigi-0.5.4 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* strigi-0.5.4.ebuild, line 90: Called cmake-utils_src_compile
* cmake-utils.eclass, line 89: Called cmake-utils_src_make
* cmake-utils.eclass, line 157: Called die
*
* Make failed!
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/app-misc/strigi-0.5.4/temp/build.log'.
|
_________________ More Love~~More Dream~~More Happiness
Free Your Mind~~Free Your Body~~Free Your Life
http://www.myblue.ws |
|
Back to top |
|
|
topper_harley Guru
Joined: 05 Apr 2006 Posts: 363 Location: Treviso / Udine (Italy)
|
Posted: Thu Sep 13, 2007 8:26 am Post subject: |
|
|
Just
Code: | emerge -C app-text/hyperestraier && emerge -av strigi |
This worked for me. _________________ http://topperh.ath.cx
Jabber: topper_harley@jabber.org
ICQ: 224179391
MSN: Topper_Harley80@gmail.com
Last FM |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|