Hi, I've been interested in Kat (<http://kde-apps.org/content/show.php?content=22135>) ever since I learned of it, so I was pleased to see version 0.5.2 show up in the KDE supplementary update area of the mirror I use (<ftp://mirror.mcs.anl.gov/pub/suse/i386/supplementary/KDE/update_for_9.3/yast-source/>). Unfortunately, that RPM cannot be installed because of two unsatisfied dependencies: libpoppler-qt.so.0 and libpoppler.so.0. (Poppler is a PDF rendering library, presumably used by Kat to examine the textual contents of PDF files it finds.) Does anyone know: a) Why they'd publish an RPM with unsatisfied dependencies and b) Where I can find these poppler library RPMs? Thanks. Randall Schulz
Randall R Schulz wrote: (snip)
Does anyone know: a) Why they'd publish an RPM with unsatisfied dependencies and b) Where I can find these poppler library RPMs?
Ob b). I could not find rpms, but there are source tarballs at http://poppler.freedesktop.org/ You could use checkinstall to make the rpms. Best regards, -- Jos van Kan www.josvankan.tk
Hi, I tried to use the command checkinstall popper but the following message is showed /var/tmp/checkinstall.VG4158/installscript.sh: line 4: popper-0.3.2.tar.gz: command not found I tried to search about checkinstall man, but there is not found, also in Administration Guide book, but not found it. I use SuSE 9.3. Please can you send some more information about it? Thank you Thadeu On Sunday 22 May 2005 08:45, Jos van Kan wrote:
Randall R Schulz wrote: (snip)
Does anyone know: a) Why they'd publish an RPM with unsatisfied dependencies and b) Where I can find these poppler library RPMs?
Ob b). I could not find rpms, but there are source tarballs at http://poppler.freedesktop.org/
You could use checkinstall to make the rpms.
Best regards, -- Jos van Kan www.josvankan.tk
On Sunday 22 May 2005 15:10, Jose Thadeu Cavalcante wrote:
Hi, I tried to use the command checkinstall popper but the following message is showed
/var/tmp/checkinstall.VG4158/installscript.sh: line 4: popper-0.3.2.tar.gz: command not found
Well, no, what you're supposed to do is to unpack the tarball tar xvf poppler-0.3.2.tar.gz (note that tar now detects the compression method used, so you don't have to use z or j anymore in 9.3 :) cd poppler-0.3.2 ./configure make checkinstall Another option is to move the tarball to /usr/src/packages/SOURCES and then use krpmbuilder to build the rpm You will need to have various qt3 and gnome devel packages installed for both methods
Anders, On Sunday 22 May 2005 06:32, Anders Johansson wrote:
...
tar xvf poppler-0.3.2.tar.gz
(note that tar now detects the compression method used, so you don't have to use z or j anymore in 9.3 :)
Yes, but... If you don't explicitly include the z flag, then command completion, which knows better, won't complete on a file name ending in .gz. For the most part, all the command-completion fanciness that obviously took a lot of painstaking configuration (being dependent on the syntax of a lot of well-known commands) is very convenient (and I miss it at work on RHEL 3), but then there are just enough gaps and errors to make it frustrating, on occasion.
...
Randall Schulz
On Sunday 22 May 2005 15:42, Randall R Schulz wrote:
Yes, but... If you don't explicitly include the z flag, then command completion, which knows better, won't complete on a file name ending in .gz.
Hm, yes, that is annoying. A little editing of /etc/bash_completion will fix it though. Just change it to +([^IZzjy])f) ext='t?(ar.)@(gz|Z|bz?(2))' regex=$ext ;;
For the most part, all the command-completion fanciness that obviously took a lot of painstaking configuration (being dependent on the syntax of a lot of well-known commands) is very convenient (and I miss it at work on RHEL 3),
You could just copy the script /etc/bash_completion and put it in your home directory and have it sourced by .bashrc
but then there are just enough gaps and errors to make it frustrating, on occasion.
This is true, the defaults can be annoying at times, when they are too insistent on working by filenames and refuse to complete on anything that doesn't have the correct extension. But bash_competion is moderately easy to modify to suit your needs
On Sunday 22 May 2005 16:28, Anders Johansson wrote:
+([^IZzjy])f) ext='t?(ar.)@(gz|Z|bz?(2))' regex=$ext ;;
Oops, now it won't complete on regular tar files. Better make it +([^IZzjy])f) ext='t?(ar|ar.)?(gz|Z|bz?(2))' regex=$ext ;; This will also complete on files with the extension .t I'll try to come up with something better
It is work. Thank you very much Thadeu On Sunday 22 May 2005 10:32, Anders Johansson wrote:
Well, no, what you're supposed to do is to unpack the tarball
tar xvf poppler-0.3.2.tar.gz
(note that tar now detects the compression method used, so you don't have to use z or j anymore in 9.3 :)
cd poppler-0.3.2 ./configure make checkinstall
Another option is to move the tarball to /usr/src/packages/SOURCES and then use krpmbuilder to build the rpm
You will need to have various qt3 and gnome devel packages installed for both methods
Hi, On Sunday 22 May 2005 06:32, Anders Johansson wrote:
...
cd poppler-0.3.2 ./configure make checkinstall
Well, apart from some diagnostics and funky characters spewed out near the end of the checkinstall output, this seems to work and produces an installable RPM. I've got to say, I was surprised to discover that "/usr/src/packages/RPMS" and "/usr/src/packages/RPMS/i386" have mode 1777 (rwxrwxrwxt, just like /tmp). After installing the poppler RPM so produced, the Kat 0.5.2 dependencies are met and it installs and runs. But not quite properly, it seems. It scans the directory I point it at, chews on it for a while and then hangs, taking virtually no CPU time at all (with the STAT 'S' and the WCHAN '-'). There were none of its auxiliary processes (e.g., kio_fulltext) running, either. At this point, it has consumed a little over 7 minutes of CPU time. Pstree shows no sub-processes. The Kat progress monitor shows 1% complete, the timer is counting, and it indicates 178,162 "Words imported", 588 "Metadata imported", 463 "Fulltexts imported" and 614 "Thumbnails imported". The total number of files, directories and bytes are close to the entire contents of the directory I pointed it to ("/home"). According to "lsof", the only files it has open in the subdirectory I'm scanning are its temp file, "~/temp.kat" and "~/.xsession-errors" and its current working directory. Hmmm... Maybe it doesn't deal well with scanning its own working directory and / or files it has open already (specifically, its temp file or ~/.xsession-errors). So I tried scanning a directory disjoint from its working directory. It hung for quite a while with kio_fulltext consuming all the CPU it can get, mostly kernel mode, while processing a PDF file that happens to be a fairly large and detailed street map. I was about ready to give up when it moved on to another file. Ultimately, however, things ended up in the same idle state: No work occurring, no progress being reported. Too bad. I guess I'll try it again later. It appears, based on the dialog on the Kat home page, that this experience isn't unique to me. If anyone has any related experiences to report, especially more success than I had, I'd love to hear about it. Randall Schulz
Randall R Schulz wrote:
Hi,
On Sunday 22 May 2005 06:32, Anders Johansson wrote:
...
cd poppler-0.3.2 ./configure make checkinstall
Well, apart from some diagnostics and funky characters spewed out near the end of the checkinstall output, this seems to work and produces an installable RPM. I've got to say, I was surprised to discover that "/usr/src/packages/RPMS" and "/usr/src/packages/RPMS/i386" have mode 1777 (rwxrwxrwxt, just like /tmp).
The garbage kicked out by checkinstall seems to be to do with "tar -f" somehwere in the script, i have to go hunting it later. When it scrambles your screen type in blind echo -ne "\017" to make it sane again.
After installing the poppler RPM so produced, the Kat 0.5.2 dependencies are met and it installs and runs. But not quite properly, it seems.
It scans the directory I point it at, chews on it for a while and then hangs, taking virtually no CPU time at all (with the STAT 'S' and the WCHAN '-'). There were none of its auxiliary processes (e.g., kio_fulltext) running, either. At this point, it has consumed a little over 7 minutes of CPU time. Pstree shows no sub-processes. The Kat progress monitor shows 1% complete, the timer is counting, and it indicates 178,162 "Words imported", 588 "Metadata imported", 463 "Fulltexts imported" and 614 "Thumbnails imported". The total number of files, directories and bytes are close to the entire contents of the directory I pointed it to ("/home").
According to "lsof", the only files it has open in the subdirectory I'm scanning are its temp file, "~/temp.kat" and "~/.xsession-errors" and its current working directory.
Hmmm... Maybe it doesn't deal well with scanning its own working directory and / or files it has open already (specifically, its temp file or ~/.xsession-errors).
So I tried scanning a directory disjoint from its working directory. It hung for quite a while with kio_fulltext consuming all the CPU it can get, mostly kernel mode, while processing a PDF file that happens to be a fairly large and detailed street map. I was about ready to give up when it moved on to another file.
Ultimately, however, things ended up in the same idle state: No work occurring, no progress being reported.
Too bad. I guess I'll try it again later.
It appears, based on the dialog on the Kat home page, that this experience isn't unique to me. If anyone has any related experiences to report, especially more success than I had, I'd love to hear about it.
Randall Schulz
Here it looks OK, I just opened a random directory. reminder, I built sqlite-3.2.1 from source, and built kat without libpoppler. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot Retired IBM Mainframes and Sun Servers Tech Support Specialist Microsoft Windows Free Zone - Linux for all Computing Tasks
Sid, On Sunday 22 May 2005 15:15, Sid Boyce wrote:
Randall R Schulz wrote:
...
Well, apart from some diagnostics and funky characters spewed out near the end of the checkinstall output, this seems to work and produces an installable RPM. ...
The garbage kicked out by checkinstall seems to be to do with "tar -f" somehwere in the script, i have to go hunting it later. When it scrambles your screen type in blind echo -ne "\017" to make it sane again.
Yes, I'm aware of shift-out and shift-in. I usually think of them as ^N and ^O, resp. and can type in the requisite echo command without feedback. Fortunately, that did not happen this time.
...
Here it looks OK, I just opened a random directory. reminder, I built sqlite-3.2.1 from source, and built kat without libpoppler.
Doesn't omitting poppler make Kat blind to PDF files?
Regards Sid. -- Sid Boyce
Randall Schulz
Randall R Schulz wrote:
Sid,
On Sunday 22 May 2005 15:15, Sid Boyce wrote:
Randall R Schulz wrote:
...
Well, apart from some diagnostics and funky characters spewed out near the end of the checkinstall output, this seems to work and produces an installable RPM. ...
The garbage kicked out by checkinstall seems to be to do with "tar -f" somehwere in the script, i have to go hunting it later. When it scrambles your screen type in blind echo -ne "\017" to make it sane again.
Yes, I'm aware of shift-out and shift-in. I usually think of them as ^N and ^O, resp. and can type in the requisite echo command without feedback. Fortunately, that did not happen this time.
I copied over checkinstall from my Mandrake 10.1 box where you don't get the problem on .tgz files, but it still does it, so something aint what it used to be, may be I'll have to do "strace checkinstall" on a small app.
...
Here it looks OK, I just opened a random directory. reminder, I built sqlite-3.2.1 from source, and built kat without libpoppler.
Doesn't omitting poppler make Kat blind to PDF files?
Using the filter *.* it sees pdf files. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot Retired IBM Mainframes and Sun Servers Tech Support Specialist Microsoft Windows Free Zone - Linux for all Computing Tasks
Sid Boyce wrote:
Randall R Schulz wrote:
Sid,
On Sunday 22 May 2005 15:15, Sid Boyce wrote:
Randall R Schulz wrote:
...
Well, apart from some diagnostics and funky characters spewed out near the end of the checkinstall output, this seems to work and produces an installable RPM. ...
The garbage kicked out by checkinstall seems to be to do with "tar -f" somehwere in the script, i have to go hunting it later. When it scrambles your screen type in blind echo -ne "\017" to make it sane again.
Yes, I'm aware of shift-out and shift-in. I usually think of them as ^N and ^O, resp. and can type in the requisite echo command without feedback. Fortunately, that did not happen this time.
I copied over checkinstall from my Mandrake 10.1 box where you don't get the problem on .tgz files, but it still does it, so something aint what it used to be, may be I'll have to do "strace checkinstall" on a small app.
...
Here it looks OK, I just opened a random directory. reminder, I built sqlite-3.2.1 from source, and built kat without libpoppler.
Doesn't omitting poppler make Kat blind to PDF files?
Using the filter *.* it sees pdf files. Regards Sid.
I shall rebuild with libpoppler, I guess I'm misunderstanding how and what kat does. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot Retired IBM Mainframes and Sun Servers Tech Support Specialist Microsoft Windows Free Zone - Linux for all Computing Tasks
Randall R Schulz wrote:
Hi,
I've been interested in Kat (<http://kde-apps.org/content/show.php?content=22135>) ever since I learned of it, so I was pleased to see version 0.5.2 show up in the KDE supplementary update area of the mirror I use (<ftp://mirror.mcs.anl.gov/pub/suse/i386/supplementary/KDE/update_for_9.3/yast-source/>).
Unfortunately, that RPM cannot be installed because of two unsatisfied dependencies: libpoppler-qt.so.0 and libpoppler.so.0. (Poppler is a PDF rendering library, presumably used by Kat to examine the textual contents of PDF files it finds.)
Does anyone know: a) Why they'd publish an RPM with unsatisfied dependencies and b) Where I can find these poppler library RPMs?
Thanks.
Randall Schulz
I built it from source after building sqlite-3.2.1. In the source, I had to "cp ./src/kat_export.h /usr/include/" to get it to build - without libpoppler, then used checkinstall to generate a rpm, installed it, but it crashes opening in a folder, may be I need to understand how to use it. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot Retired IBM Mainframes and Sun Servers Tech Support Specialist Microsoft Windows Free Zone - Linux for all Computing Tasks
Hi, I have a small update to my previous post describing the stall / hang that occurs when indexing. It turns out that when you cancel the stalled indexing operation, you can still save the index created up to the point where things broke down and that index can be used to do seraches, albeit presumably not all the files you intended to index. I say "presumably" because it's hard to tell which, if any, of the files were skipped because of the stall. Kat doesn't, e.g., give you any summary statistics about its indexes. The only way to find if something was indexed is to search for something you know is in that file or expand the directory hierarchy to expose it. Randall Schulz
participants (5)
-
Anders Johansson
-
Jos van Kan
-
Jose Thadeu Cavalcante
-
Randall R Schulz
-
Sid Boyce