|
From: Josef W. <Jos...@gm...> - 2003-07-22 22:47:14
|
On Tuesday 22 July 2003 19:43, Alex Ivershen wrote: > Hi all! > > Please, give me a hand with this - I am trying to install Kcachegrind 0.3b > and I cannot get past configuration stage. I have RH 8.0 with Qt 3.0.5-17 > and KDE 3.0.5a-4 RPMs installed. Kcachegrind configure can find Qt just > fine, but bails out on KDE dependencies. The configuration command is like > this: > > ./configure --with-qt-dir=/usr/lib/qt-3.0.5 --with-gnu-ld > --prefix=/usr (I tries --prefix=/usr/local as well) > > The tail ot the configure output is: Hi, I just don't know where KDE libs are installed on a Red Hat system, but you should be able to check with "kde-config --prefix". Perhaps you don't have developer-packages for kdelibs installed? The C++ headers are needed for compilation. Usually the package is called like "kdelibs-devel"... Or use a precompiled binary. At least KCachegrind 0.3a is available on http://apps.kde.com for Red Hat 8.0. > > checking for Qt... libraries /usr/lib/qt-3.0.5/lib, headers > /usr/lib/qt-3.0.5/include using -mt > checking if Qt compiles without flags... no > checking for moc... /usr/lib/qt-3.0.5/bin/moc > checking for uic... /usr/lib/qt-3.0.5/bin/uic > checking whether uic supports -L ... yes > checking whether uic supports -nounload ... yes > checking if Qt needs -ljpeg... no > checking for rpath... yes > 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! > > > Please, let me know what I am doing wrong here. I just hope I won't have to > recompile KDE locally here. I would also like to install kcachegring in a No panic ;-) Recompiling KDE is useless overkill for compiling a KDE app. > different (shared network) directory, where there are definitely no KDE > artifacts - it that impossible? Hmm... The "--prefix" option is the way to choose the path where KCachegrind should be installed. This doesn't have to be the same as the global KDE path on your system. Note that the headers should be found neverless (via kde-config) by configure. You only have to make sure after installing to another dir, that the executable is in the PATH and environment variable KDEDIR contains the prefix you have choosen. Josef > > Thanks for your help! > > Alex > > -- > Alex G. Ivershen Inet Technologies, Inc. > Network Products Dept. 1500 N. Greenville Ave. > Inet Technologies Inc. Richardson, TX 75081 > Phone: +1-469-330-4295 USA |