![]() |
![]() |
|
|
KcmPureftpdScript Architecture | Compile KcmPureftpd 0.6 for KDE 3 | Install KcmPureftpd 0.6 | Anonymous CVS | Credits 
Install KcmPureftpd 0.5/0.6 on old Linux distributions
IntroductionKcmPureftpd is an KControl module. So, it's associate desktop file kcmpureftpd.desktop must go on $KDEDIR/applnk/Settings/Network directory. Using vanilla KDE, RedHat or Debian based don't pose any problems. But, some distributions have another organizational system and normal installation procedure is wrong. To comply I must distribute a separate binary package even for distros based on RPM and RedHat. Below are fixing explanation for that specialy distributions. PrerequisitesSome people reported me compilation problems. Not about compile, but autoconf complaining about some missing macros. Kcmpureftpd was builded and compiled on Debian 2.2 with KDE 2.1 and RedHat 7.1. Here are my info:
Mandrake 7.2This section was made with help of Bernard Lheureux
Explanation:This Madrake version run with an old Qt2 and also have
many particuralities regarding directories for KDE libraries and *.desktop
files. Problem is complicated more because for I forgot to write some small
line in kcmpureftpd sources and compilation break on this old distribution.
rpm --rebuild qt2-2.2.4-3mdk.src.rpm cd /usr/src/redhat/RPMS/i386 rpm -Uhv qt2-2.2.4-3mdk.rpm rpm -Uhv qt2-devel-2.2.4-3mdk.rpmYour KDE must work as usual (and you must verify this before continue). Now unpack kcmpureftpd-0.6.tar.gz and go to kcmpureftpd/kcmpureftpd/ subdirectory and open kcmpureftpd.cpp in your favorite text editor. Scroll down and find the line "#include <qstringlist.h>". Enter the following lines: #include <qfile.h> #include <qfileinfo.h>Now go back on top sources directory and run as usual: ./configure make make installIf all was ok, then you must hack for your special Mandrake: cp /usr/share/applnk/Setting/Network/kcmpureftpd.desktop /usr/share/applnk/Configuration/KDE/Networking ln -sf /usr/lib/kde2/libkcm_pureftpd.so /usr/lib/libkcm_pureftpd.so ln -sf /usr/lib/kde2/libkcm_pureftpd.la /usr/lib/libkcm_pureftpd.laTo finish edit kcmpureftpd.desktop file in your text editor and change the 4th line as: Exec=kdesu kcmshell Networking/kcmpureftpd Mandrake 8.0
Explanation:
Mandrake have two *.desktop files directory hierachy: /usr/share/applnk
and /usr/share/applnk-mdk. Not only that are different directories,
but KControl desktop files are searched in
/usr/share/applnk-mdk/Configuration/KDE
Suse 7.1Same problems as Mandrake, but different directories. Somebody could contribute to this section... |