You are not logged in.
Hi there!
I saw the website of this application. It seems a great thing, but I failed to compile it. Could anybody modify my PKBUILD so that it would compile without errors (I am a newbe so I have no idea how to fix it, I just did what the manual said).
Here is my PKGBUILG file:
pkgname=kat
pkgver=0.4.3
pkgrel=1
pkgdesc="Desktop Search Engine for Linux"
url="http://kat.sourceforge.net/"
license="GPL"
depends=()
makedepends=('sqlite3')
conflicts=()
replaces=()
backup=()
install=
source=(http://heanet.dl.sourceforge.net/sourceforge/kat/$pkgname-$pkgver.tar.gz)
md5sums=(0b4cc1d62fff975f8db4a615636892a1)
build() {
cd $startdir/src/$pkgname-$pkgver
make -f Makefile.cvs
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}
Here is the error message
make[3]: Entering directory `/var/abs/local/kat/src/kat-0.4.3/src/kio_fulltext'
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include -I/opt/qt/include -I/usr/X11R6/include -I../../src/ -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -march=i686 -O2 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT fulltext.lo -MD -MP -MF ".deps/fulltext.Tpo" -c -o fulltext.lo fulltext.cpp;
then mv -f ".deps/fulltext.Tpo" ".deps/fulltext.Plo"; else rm -f ".deps/fulltext.Tpo"; exit 1; fi
fulltext.cpp: In function `int kdemain(int, char**)':
fulltext.cpp:63: error: `nice' undeclared (first use this function)
fulltext.cpp:63: error: (Each undeclared identifier is reported only once for each function it appears in.)
fulltext.cpp:73: warning: `__comp_ctor' is deprecated (declared at /opt/kde/include/kapplication.h:196)
make[3]: *** [fulltext.lo] Error 1
make[3]: Leaving directory `/var/abs/local/kat/src/kat-0.4.3/src/kio_fulltext'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/abs/local/kat/src/kat-0.4.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/kat/src/kat-0.4.3'
make: *** [all] Error 2
==> ERROR: Build Failed. Aborting...
Thanks in advance!
Offline
So it's a sad attempt to clone beagle for KDE which from what I see has a horrid gui and not very useful? No thanks.
I never understood what was so wrong with locate and grep. *shrug*
Offline
So it's a sad attempt to clone beagle for KDE which from what I see has a horrid gui and not very useful? No thanks.
I never understood what was so wrong with locate and grep. *shrug*
locate does not search inside the files. Beagle and Kat do.
Offline
Notice how I said locate AND grep? Thanks for reading AND understaing my post.
Offline
Notice how I said locate AND grep? Thanks for reading AND understaing my post.
grep is to slow and does not search compressed files. I really don't know why you mentioned it?
Offline
I'm looking at README in kat package just checking if you have required libs installed ....
COMPILATION:
In order to compile Kat, the following libraries must be present in the system:- libmagick++6-dev
- lisqlite3-devEXECUTION:
In order to execute Kat, the following libraries must be present in the system:- libmagick++6
- libsqlite3-0
do not know if that helps .... (you knew that anyway lol)
Mr Green
Offline
I have no idea where to get those libs. Seem that they aren't present in the repo.
Offline
maybe ask developer
he will not bite if you ask nicely
Mr Green
Offline
miqorz wrote:Notice how I said locate AND grep? Thanks for reading AND understaing my post.
grep is to slow and does not search compressed files. I really don't know why you mentioned it?
Okay, If you want to go into detail.
The libs that beagle use to search within compressed formats is EXTREMELY slow compared to grep. So why did YOU mention it?
Offline
Okay, If you want to go into detail.
The libs that beagle use to search within compressed formats is EXTREMELY slow compared to grep. So why did YOU mention it?
I am rather interested in compiling the package and looking for pros and cons than arguing about the sense of this (kat) project. Also take into account that kat and beagle are relatively young projects but the idea is IMHO very apt. (Not to mention that apple and windows are going to have tools of this kind).
Offline
I hate to contradict you again. But beagle is pretty far from "new" it's been being worked on for a while from the "dashboard" days.
If you get the package working. Stick it in the AUR and maybe it'll get put in untable/testing for a while. Then maybe into extra.
But you asked for opinions. Not just praises.
And my opinion is strictly "meh".
Offline
Am I mistaken, or are both locate and grep command line tools? The request is for a tool with a GUI?
If this is the case then there's a huge joke in this topic...
There is no spoon in Arch...
Offline
I hate to contradict you again. But beagle is pretty far from "new" it's been being worked on for a while from the "dashboard" days.
agreed. yet I am not interested in beagle but in kat.
If you get the package working. Stick it in the AUR and maybe it'll get put in untable/testing for a while. Then maybe into extra.
Ok, I soon as will get in working I upload it to AUR.
But you asked for opinions. Not just praises.
And my opinion is strictly "meh".
The problem is that I don't know what my opinion is, I didn't get the chance to test the program. Still missing libs . Newbie's life is a shit I tell you.
Offline
for the libs:
pacman -S imagemagick sqlite3
I don't know if they'll be the right version.
Change the configure line to:
./configure --prefix=/opt/kde
Offline
maybe ask developer
he will not bite if you ask nicely
Hey, thanks. He was very helpful. A very nice person.
Offline
for the libs:
pacman -S imagemagick sqlite3
I don't know if they'll be the right version.Change the configure line to:
./configure --prefix=/opt/kde
did it work for you. I have the libs, prefix is set to /opt/kde, and I still get the same error as in the first message of the thread.
Offline
For those disappointed with the piece of crap which beagle is, here is a pointer to a great search tool.
Do you think google uses sql database like beagle tries to do? Doodle doesn't use damn slow sql too. It uses it's own database format based on suffix trees.
"Evidence" - the E17's file manager - is going to use libdoodle! Great!
Offline
rose, thanks for that link. I'm going to test that out later.
Offline
Snowman wrote:for the libs:
pacman -S imagemagick sqlite3
I don't know if they'll be the right version.Change the configure line to:
./configure --prefix=/opt/kdedid it work for you. I have the libs, prefix is set to /opt/kde, and I still get the same error as in the first message of the thread.
I haven't tried it. The error seems to be a problem with the code. Did you contacted the developper? What did he say about this error?
Offline
Contacted Developer he gave me some help in getting past those errors but buld still breaks
he told me that
The README & INSTALL could be outdated :-)
libmagick++ is no longer needed for Kat.
The only library you need is libsqlite3-dev for compilation and libsqlite3-0
for running the program.
I don't know what kind of packages Arch uses. Can you maybe use the SuSe or
the Debian package in some way?
So I hope that helps ...
Mr Green
Offline
Contacted Developer he gave me some help in getting past those errors but buld still breaks
he told me that
The README & INSTALL could be outdated :-)
libmagick++ is no longer needed for Kat.
The only library you need is libsqlite3-dev for compilation and libsqlite3-0
for running the program.
I don't know what kind of packages Arch uses. Can you maybe use the SuSe or
the Debian package in some way?So I hope that helps ...
I also contacted him. libsqlite3-dev debian package has nothing more than sqlite3. So this is not the libraries problem.
Offline
Ok then maybe its the code itself
comment out line below in fulltext.cpp to get past first error ...
nice( 5 );
to
// nice( 5 );
but that only solved that problem....
Mr Green
Offline
Hi Roberto,
Welcome to Arch
Mr Green
Offline
Ok then maybe its the code itself
comment out line below in fulltext.cpp to get past first error ...
nice( 5 );
to
// nice( 5 );
but that only solved that problem....
Agreed. That solved one problem, but compilation still fails.
Offline
There are 2 files that need to be changed to get Kat to build .... they are here
http://freespace.virgin.net/david.templ … window.cpp
http://freespace.virgin.net/david.templ … atalog.cpp
Or if you cannot wait
http://freespace.virgin.net/david.templ … 4.3.tar.gz
Maybe we can add Kat to Arch packages ...
Roberto is working on 0.4.4 in the meantime can we have some testing feedback
Thanks for your help
Mr Green
Offline