KcmPureFTPd KcmPureFTPd KDE Project


Home
Contact
Documentation
Change Log
Screenshots
Download
Resources
   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

Contents:
    Introduction
    Prerequisites
    Mandrake 7.2
    Mandrake 8.0
    Suse 7.1

Introduction

KcmPureftpd 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.

Prerequisites

Some 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:

  • Debian 2.2
    • autoconf 2.13
    • automake 1.4
    • g++ 2.95.4
  • RedHat 7.1
    • autoconf 2.13
    • automake 1.4
    • g++ 2.96

Mandrake 7.2

This 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.

Fix: I supose you want to compile KcmPureftpd by yourself. First of all get your updated Qt2 library sources from here. Note that you can even get binary packages from RPMFind.net. Compile and install Qt by running:

 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.rpm
Your 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 install
If 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.la
To 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

Fix: copy /usr/share/applnk/Settings/Network/kcmpureftpd.desktop to /usr/share/applnk-mdk/Configuration/KDE/Network directory.

Suse 7.1

Same problems as Mandrake, but different directories. Somebody could contribute to this section...



Home | Contact | Documentation | Change Log | Screenshots | Download | Resources 

Copyright 2001-2003, Claudiu Costin claudiuc@kde.org
Released under GNU FDL license.