[PyKDE] Error report

Jim Bublitz jbublitz at nwinternet.com
Tue Feb 1 00:43:28 GMT 2005

On Monday 31 January 2005 06:20, Michal Zachar wrote:
> Error: Couldn't locate KDE3 include directory (/usr is KDE base)

This indicates configure.py is finding something that looks like the KDE base 
directory in /usr;  apparently it should be /opt/kde-3.3.2. You may have an 
older KDE directory in /usr, but it doesn't have a valid include/ directory.

In your environment, setting KDEDIR=/opt/kde-3.3.2 should fix the problem.

You can also use switches to the configure.py command line to set the 

  -k dir      the KDE base directory
  -n dir      the directory containing the KDE lib files
  -o dir      the directory containing the KDE header files

e.g. :

    python configure.py -k /opt/kde-3.3.2

configure.py searches for "/opt/kde3", but not for any variations on that, 
since they're not standard usage for the various Linux distributions.

You should also be using the PyKDE snapshot with KDE 3.3.2, not the "official" 

I haven't tested those switches in a while, so please report back if it 
doesn't work correctly.


More information about the PyQt mailing list