Hi! I am trying to build kdenetwork on my RH62 box. I picked up the .src.rpm on the KDE (easy-linux) FTP server provided by RedHat. I have installed, kdoc-2.0-5.src.rpm under the form of kdoc-2.0-5.noarch.rpm that I build by myself. It seems to compile properly but at the end I get the following message Processing files: kdenetwork-2.0-4 Finding Provides: (using /usr/lib/rpm/find-provides)... Finding Requires: (using /usr/lib/rpm/find-requires)... Provides: ksirc.so libkcm_ktalkd.so Requires: kdesupport ksirc.so ld-linux.so.2 libc.so.6 libDCOP.so.1 libdl.so.2 libGL.so.1 libGLU.so.1 libICE.so.6 libjpeg.so.62 libkab.so.3 libkdecore.so.3 libkdesu.so.1 libkdeui.so.3 libkfile.so.3 libkhtml.so.3 libkio.so.3 libkjava.so.1 libkparts.so.1 libkspell.so.3 libkssl.so.2 libksycoca.so.3 libmimelib.so.1 libmng.so.0 libm.so.6 libpng.so.2 libpthread.so.0 libqt.so.2 libSM.so.6 libstdc++-libc6.1-1.so.2 libutil.so.1 libX11.so.6 libXext.so.6 libXi.so.6 libXmu.so.6 libXt.so.6 libz.so.1 /usr/bin/perl libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) Processing files: kdenetwork-ppp-2.0-4 File not found: /var/tmp/kdenetwork-buildroot/usr/doc/HTML/en/kppp Requires: usermode and the i386.rpm are not produced. Thanks in advance for any help. Best regards Daniel Tourde
It's not supposed to compile on 6.2. From a quick look, I'd say you need to update your kdoc and kdelibs (looks like the documentation isn't generated correctly). Also, there might be some confusion about /usr/share/doc vs. /usr/doc. If you're using the current kdoc and kdelibs, try replacing %{_docdir} with /usr/share/doc.
OK, I will try that. So this has something to do with the .spec file? Does the other .src.rpm have the same potential problem? Daniel
I've just had a look, and it's definitely because of the /usr/doc->/usr/share/doc change. KDE 2.0 is FHS compliant, and installs its docs to /usr/share/doc. 6.2 was released quite a while before the current FHS standard, so it expects its docs to be in /usr/doc. Replacing %{_docdir} with a /usr/share/doc hardcode in the spec file should fix the problem. The same thing can happen with any other package that installs its docs to the FHS location unconditionally.
This means that all the .i386.rpm files supposed to work with rh62 on ftp.easy-linux suffer of the same problem. By the way I noticed that some are missing (kdenetwork, or kdegraphic for instance...). Isn't it possible to put there specific .src.rpm packages taking care of the /usr/doc /usr/share/doc issue? Isn't it also possible to put corrected .i386.rpm files under the rh62 directory? Thanks in advance Daniel