Click to See Complete Forum and Search --> : KDE headers not found?
kuratkull
07-04-2004, 05:18 AM
When i try to .configure a program it does everything fine until:
creating libtool
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for KDE... configure: error:
in the prefix, you've chosen, are no kde headers installed. This will fail.
So, check this please and use another prefix!
Then i entered the command:
configure --includedir=PREFIX/include --prefix=/opt/kde3
Because my kde folder is /opt/kde3 , but it doesn't work...it still shows the same error. And i know i have installed all the necessary things.
I even tried --includedir=/opt/kde3/include
Is the command i entered even correct?
What should i do? I'm totally clueless...
PS! I use SuSE 9.1 Pro
Thx in advance :)
bascule
07-04-2004, 10:40 AM
you will need to install the *-devel packages for kde in rpm format. This is an issue in mandrake, it seems that to build things from source -devel packages need to be installed on rpm systems.
Probably the same on suse ...
kuratkull
07-04-2004, 12:14 PM
Here's my help ouput:
normal@dhcp-16-6:~/kcheat-0.9.1> configure --help
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
--cache-file=FILE cache test results in FILE
--help print this message
--no-create do not create output files
--quiet, --silent do not print `checking...' messages
--version print the version of autoconf that created configure
Directory and file names:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local/kde]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[same as prefix]
--bindir=DIR user executables in DIR [EPREFIX/bin]
--sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
--libexecdir=DIR program executables in DIR [EPREFIX/libexec]
--datadir=DIR read-only architecture-independent data in DIR
[PREFIX/share]
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data in DIR
[PREFIX/com]
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
--libdir=DIR object code libraries in DIR [EPREFIX/lib]
--includedir=DIR C header files in DIR [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
--infodir=DIR info documentation in DIR [PREFIX/info]
--mandir=DIR man documentation in DIR [PREFIX/man]
--srcdir=DIR find the sources in DIR [configure dir or ..]
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM
run sed PROGRAM on installed program names
Host type:
--build=BUILD configure for building on BUILD [BUILD=HOST]
--host=HOST configure for HOST [guessed]
--target=TARGET configure for TARGET [TARGET=HOST]
Features and packages:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--x-includes=DIR X include files are in DIR
--x-libraries=DIR X library files are in DIR
--enable and --with options recognized:
--enable-debug creates debugging code [default=no]
--enable-strict compiles with strict compiler options (may not work!)
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--disable-nls do not use Native Language Support
--with-qt-dir where the root of qt is installed
--with-qt-includes where the Qt includes are.
--with-qt-libraries where the Qt library is installed.
--with-extra-includes adds non standard include paths
--with-extra-libs adds non standard library paths
--disable-path-check don't try to find out, where to install
--with-install-root the root, where to install to [default=/]
--disable-rpath do not use the rpath feature of ld
and command you gave didn't work :(
psi42
07-04-2004, 06:24 PM
Post the output of ./configure --help
You probably need something like
--kde-include-dir=/opt/kde3/include
kuratkull
07-05-2004, 03:54 AM
Here's my help ouput:
normal@dhcp-16-6:~/kcheat-0.9.1> configure --help
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
--cache-file=FILE cache test results in FILE
--help print this message
--no-create do not create output files
--quiet, --silent do not print `checking...' messages
--version print the version of autoconf that created configure
Directory and file names:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local/kde]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[same as prefix]
--bindir=DIR user executables in DIR [EPREFIX/bin]
--sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
--libexecdir=DIR program executables in DIR [EPREFIX/libexec]
--datadir=DIR read-only architecture-independent data in DIR
[PREFIX/share]
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data in DIR
[PREFIX/com]
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
--libdir=DIR object code libraries in DIR [EPREFIX/lib]
--includedir=DIR C header files in DIR [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
--infodir=DIR info documentation in DIR [PREFIX/info]
--mandir=DIR man documentation in DIR [PREFIX/man]
--srcdir=DIR find the sources in DIR [configure dir or ..]
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM
run sed PROGRAM on installed program names
Host type:
--build=BUILD configure for building on BUILD [BUILD=HOST]
--host=HOST configure for HOST [guessed]
--target=TARGET configure for TARGET [TARGET=HOST]
Features and packages:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--x-includes=DIR X include files are in DIR
--x-libraries=DIR X library files are in DIR
--enable and --with options recognized:
--enable-debug creates debugging code [default=no]
--enable-strict compiles with strict compiler options (may not work!)
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--disable-nls do not use Native Language Support
--with-qt-dir where the root of qt is installed
--with-qt-includes where the Qt includes are.
--with-qt-libraries where the Qt library is installed.
--with-extra-includes adds non standard include paths
--with-extra-libs adds non standard library paths
--disable-path-check don't try to find out, where to install
--with-install-root the root, where to install to [default=/]
--disable-rpath do not use the rpath feature of ld
and command you gave didn't work
The author answered that the project has been stalled for 4 years and was only moving at the at the rate of submitted patches
The author:
The released kcheat only runs on KDE1. The CVSed kcheat runs on KDE3 last I checked (and if you roll it back a bit, also KDE2), but might need tweaks for newer gcc releases and such. If you fix any compile bugs, please send me a patch so I can add it to CVS.
Ohhhyea...like i would understand anything about source code editing :P
What CVS works on KDE3? Where to get it and how to get it to work?
And he also wrote this:
./configure --help will show the KDE-specific options like specifying the location of KDE includes. --prefix=... is what tells it the default install directory. It might have bitrotted; KDE projects tend to do that quickly. If you fix any compile errors, send me a patch so I can include it.
What's the CVS version?
Would you be so kind and answer here:
http://www.justlinux.com/forum/showthread.php?s=&threadid=130138
cause when i have to check two topics that evolved to a ONE problem...it's better when the answers are in one topic :)
timothykaine
08-01-2004, 06:27 AM
Had this same issue with SuSE 9.1 Pro.
Install kdelibs3-devel, if using KDE 3.2.3 the other dependencies are all available at rpmseek.com.
then
export QTDIR=/usr/lib/gt3
./configure
make
make install
:)