KDE headers error / failure to compile

Hello to you all…I am trying to run a configure script to compile a program (I’m a little new to all this…:shame:). I had some problems with some needed libraries,but I solved them. Now the script ends with this:

"in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!"

Why is this happening,and how can I fix it?
Any response is welcome…thanks for your time :slight_smile:

Hi
You need to post the list of configure options your adding
eg


../configure --prefix=/usr


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
up 3 days 11:51, 4 users, load average: 0.18, 0.10, 0.07
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

I’m having the same problem.

The command ‘kde-config --prefix’ gives ‘/opt/kde3’ as the output.

I’ve then tried

./configure --prefix=/opt/kde3

but configure still stops with the same error.
Any idea? Thanks

Hi
What release of openSUSE and what are you trying to compile? Or what
are the list of configure options if you run;


../configure --help

prefix is normally just /usr from there there are the lib and includes
etc.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.39-0.3-default
up 16:32, 2 users, load average: 0.02, 0.12, 0.10
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

Er… ehm… this actually happens on an Ubuntu Jaunty installation with KDE3 :shame: :shame: :shame:
I know this is not the right place to ask for help, but while I was looking for the solution myself I’ve found this thread…
Since this looks more like a KDE3-related than a distribution problem, I asked here too.
If this is inappropriate, please let me know and/or ignore the question and/or delete my messages.

Hi
So what’s the application your trying to build? That’s 9.04?


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.39-0.3-default
up 17:51, 2 users, load average: 0.17, 0.41, 0.33
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

Yes that’s Ubuntu 9.04 (Kubuntu 9.04 comes with KDE4 but I want to stick with 3.5 for the time being).
I’m trying to build the Tasty Menu

Hi
Had a look at a couple of spec files, so try with;


../configure --disable-rpath --enable-new-ldflags --enable-final


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.39-0.3-default
up 18:44, 3 users, load average: 0.21, 0.38, 0.39
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

Thanks Malcolm, unfortunately it results to the same error.

I’ve also followed a suggestion from another forum that said to locate the file kapplication.h and give that path as a prefix to the configure command which would be

./configure --prefix=/opt/kde3/include/kde

but that did not work either.

Ok, I solved installing the .deb file for Gutsy.
All the dependencies were met, so it worked.
Still I would like to understand why compiling goes wrong…