You are not logged in.

#1 2005-04-30 09:56:35

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

[request] Kat search engine, compilation problem [solved]

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

#2 2005-04-30 10:04:38

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: [request] Kat search engine, compilation problem [solved]

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*


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#3 2005-04-30 10:09:43

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

Re: [request] Kat search engine, compilation problem [solved]

miqorz wrote:

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

#4 2005-04-30 11:03:12

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: [request] Kat search engine, compilation problem [solved]

Notice how I said locate AND grep? Thanks for reading AND understaing my post.


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#5 2005-04-30 11:37:35

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

Re: [request] Kat search engine, compilation problem [solved]

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?

Offline

#6 2005-04-30 11:55:27

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: [request] Kat search engine, compilation problem [solved]

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-dev

EXECUTION:
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

#7 2005-04-30 12:24:16

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

Re: [request] Kat search engine, compilation problem [solved]

I have no idea where to get those libs. Seem that they aren't present in the repo. sad

Offline

#8 2005-04-30 12:48:18

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: [request] Kat search engine, compilation problem [solved]

maybe ask developer  wink

he will not bite if you ask nicely  tongue


Mr Green

Offline

#9 2005-04-30 13:36:40

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: [request] Kat search engine, compilation problem [solved]

mdv wrote:
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?


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#10 2005-04-30 14:02:18

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

Re: [request] Kat search engine, compilation problem [solved]

miqorz wrote:

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

#11 2005-04-30 14:18:05

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: [request] Kat search engine, compilation problem [solved]

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".


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#12 2005-04-30 19:25:43

kcy29581
Member
From: CA
Registered: 2004-12-23
Posts: 231

Re: [request] Kat search engine, compilation problem [solved]

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

#13 2005-04-30 20:57:04

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

Re: [request] Kat search engine, compilation problem [solved]

miqorz wrote:

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 sad. Newbie's life is a shit I tell you.

Offline

#14 2005-04-30 23:56:34

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

Re: [request] Kat search engine, compilation problem [solved]

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

#15 2005-05-01 09:18:55

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

Re: [request] Kat search engine, compilation problem [solved]

Mr Green wrote:

maybe ask developer  wink

he will not bite if you ask nicely  tongue

Hey, thanks. He was very helpful. A very nice person.

Offline

#16 2005-05-01 09:52:27

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

Re: [request] Kat search engine, compilation problem [solved]

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/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

#17 2005-05-01 18:53:28

rose
Member
Registered: 2005-02-09
Posts: 64

Re: [request] Kat search engine, compilation problem [solved]

http://gnunet.org/doodle/

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

#18 2005-05-01 18:58:05

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: [request] Kat search engine, compilation problem [solved]

rose, thanks for that link. I'm going to test that out later. smile


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#19 2005-05-01 20:52:37

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

Re: [request] Kat search engine, compilation problem [solved]

mdv wrote:
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/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.

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

#20 2005-05-02 07:57:24

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: [request] Kat search engine, compilation problem [solved]

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

#21 2005-05-02 08:05:27

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

Re: [request] Kat search engine, compilation problem [solved]

Mr Green wrote:

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

#22 2005-05-02 08:17:04

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: [request] Kat search engine, compilation problem [solved]

Ok then maybe its the code itself  wink

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

#23 2005-05-02 09:00:15

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: [request] Kat search engine, compilation problem [solved]

Hi Roberto,

Welcome to Arch  wink


Mr Green

Offline

#24 2005-05-02 09:17:07

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

Re: [request] Kat search engine, compilation problem [solved]

Mr Green wrote:

Ok then maybe its the code itself  wink

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

#25 2005-05-02 14:00:02

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: [request] Kat search engine, compilation problem [solved]

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

Board footer

Powered by FluxBB