Search Index

Bernd Pol bernd.pol at online.de
Wed Feb 26 14:28:27 GMT 2003


Hi Thomas,

> using KDevelop 2.1.5 on SuSE 8.1 along with ht://Dig i do have the
> following problem.
>
> I try to create a search index from KDevelop's setup-menu.
> When i press "Create SearchDatabse" i get the error that the path to
> the KDE Api-Doc isn't set correctly, but within the IDE the
> documentation display is fine (Books-Tab).

This is caused by the way KDevelop looks for the docs. It does not 
really look up directories but tries to verify the existence of some 
documentation files which SuSE put elsewhere.

You could either change some files in the kdevelop/setup/ subdirectory 
of the KDevelop sources tarball (downloaded from 
http://www.kdevelop.org/) or patch the directory structures in a SuSE 
8.1 system as following.

KDevelop assumes (among some other possibilities) the sources in the 
/opt/kde2/share/doc/HTML/en/kdelibs directory. The easiest way to 
account for this is:

- rename the existing en subdirectory there to something other, e.g. 
en-old
- make a new en subdirectory
- place a link to /opt/kde3/share/doc/HTML/en/kdelibs-apidocs into that 
directory and name it kdelibs

This way the KDevelop Setup program will now find the KDELib docs. You 
might still have to manually set the KDE Libraries Path in 
Options|KDevelop Setup to /opt/kde3/share/doc/HTML/en/kdelibs-apidocs. 
Otherwise the QT libraries won't show up in the Books tree.

Alas, it's not all fixed then. You must provide for a dummy file to make 
KDevelop accept this setting.

- Create a KDialog.html dummy file in the 
/opt/kde3/share/doc/HTML/en/kdelibs-apidocs/kdeui/html directory. It 
could be anything, as KDevelop checks for its existence only, but makes 
no direct use of any contents.

Create Search Database should now work.

There might still be a problem in the htdig setup. It can be rather 
tricky to get it ready to run. You might want to use the Glimpse 
indexing program instead which you can download at:

http://glimpse.cs.arizona.edu/

It is to be preferred over htdig because it runs a lot faster. Private 
use of Glimpse is free nowadays, yet some donation would be 
appreciated. See more on the glimpse site.

Hopefully this will be of some help
Bernd

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list