Looks like NONE of the methods were found which is odd. Try looking in
kapp.h and make sure that there is the class declaration for KApplication and
that it has the declarations for all of the methods listed.
weston
On Tuesday 01 May 2001 00:10, Henry Wu wrote:
> Ok, I tailed config.log and this is what i got:
> configure:3756: checking for kde headers installed
> configure:3803: g++ -c -O2 -Wall -I/usr/include/kde
> -I/usr/lib/qt-2.3.0/include -I/usr/X11R6/include conftest.C
> conftest.C: In function `int main ()':
> conftest.C:7: no method `KApplication::kde_htmldir'
> conftest.C:8: no method `KApplication::kde_appsdir'
> conftest.C:9: no method `KApplication::kde_icondir'
> conftest.C:10: no method `KApplication::kde_sounddir'
> conftest.C:11: no method `KApplication::kde_datadir'
> conftest.C:12: no method `KApplication::kde_localedir'
> conftest.C:13: no method `KApplication::kde_cgidir'
> conftest.C:14: no method `KApplication::kde_configdir'
> conftest.C:15: no method `KApplication::kde_mimedir'
> conftest.C:16: no method `KApplication::kde_toolbardir'
> conftest.C:17: no method `KApplication::kde_wallpaperdir'
> conftest.C:18: no method `KApplication::kde_bindir'
> conftest.C:19: no method `KApplication::kde_partsdir'
>
> So I looked at conftest.C :
> #include <stdio.h>
> #include "confdefs.h"
> #include "config.h.bot"
> #include <kapp.h>
>
> int main() {
> printf("kde_htmldir=\"%s\"\n", KApplication::kde_htmldir().data());
> printf("kde_appsdir=\"%s\"\n", KApplication::kde_appsdir().data());
> printf("kde_icondir=\"%s\"\n", KApplication::kde_icondir().data());
> printf("kde_sounddir=\"%s\"\n", KApplication::kde_sounddir().data());
> printf("kde_datadir=\"%s\"\n", KApplication::kde_datadir().data());
> printf("kde_locale=\"%s\"\n", KApplication::kde_localedir().data());
> printf("kde_cgidir=\"%s\"\n", KApplication::kde_cgidir().data());
> printf("kde_confdir=\"%s\"\n", KApplication::kde_configdir().data());
> printf("kde_mimedir=\"%s\"\n", KApplication::kde_mimedir().data());
> printf("kde_toolbardir=\"%s\"\n", KApplication::kde_toolbardir().data());
> printf("kde_wallpaperdir=\"%s\"\n",
> KApplication::kde_wallpaperdir().data());
> printf("kde_bindir=\"%s\"\n", KApplication::kde_bindir().data());
> printf("kde_partsdir=\"%s\"\n", KApplication::kde_partsdir().data());
> return 0;
> }
>
> It looked to me like kapp.h is the header file it needed. So I checked to
> see if kapp.h was in /usr/include/kde and indeed it was. I tried passing
> the /usr/include/kde directory to configure with the command --includedir
> but that didn't work either.. I'm really stuck as to where to go with
> this. Any clues anyone?
>
> -Henry
>
> On Mon, 30 Apr 2001, Weston Sewell wrote:
> > I recently had a similar problem compiling a kde app. Check the log file
> > that it should report to you (config.log I think). It should show you
> > the c/c++ source it tried to compile AND the command line it tried to
> > compile with. I had to specify the base kde location. Seems like the
> > default location had some header files, but the header file included in
> > the source was not in the directory. Search your drive for the header
> > files that are included and check them against the path configure is
> > looking in. If all else fails, try passing configure the default values,
> > they could be messed up for some reason behind the scenes (doubtfull
> > though). FYI ./configure --help should give you a list of all the
> > switches/arguments you can give it. Hope this helps.
> >
> > weston
> >
> > On Monday 30 April 2001 23:05, Henry Wu wrote:
> > > Hi,
> > >
> > > I'm trying to install an application and when I type in ./configure I
> > > get the error msg:
> > > checking for KDE... libraries /usr/lib, headers /usr/include/kde
> > > checking for extra includes... no
> > > checking for extra libs... no
> > > checking for kde headers installed... configure: error: your system is
> > > not able to comp
> > > ile a small KDE application!
> > > Check, if you installed the KDE header files correctly.
> > >
> > > I have kdelibs-devel-2.1.1-5 and qt-devel-2.3.0-3 installed. I even
> > > checked in /usr/include/kde to see if the header files were there and
> > > they are there.
> > >
> > > Any clues anyone?
> > >
> > > much obliged,
> > > Henry
> > >
> > >
> > > -----------------------------------------------------------------------
> > >---- Send administrative requests to
> > > [EMAIL PROTECTED]
> >
> > -------------------------------------------------------------------------
> >-- Send administrative requests to
> > [EMAIL PROTECTED]
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]