PDA

View Full Version : Knoppix: How to get KDE Programs to Compile on Knoppix ...



TheCyberDude
09-16-2003, 09:31 AM
How to get KDE Programs to Compile on Knoppix ...
(This is somewhat of an long procdure.)

You won't be able to compile program's using xlibs-pic, Xinerama_pic and some dlopen type program's

DO THIS, IF YOU HAVEN'T ALREADY ! REF: http://www.knoppix.net/forum/viewtopic.php?p=21477#21477

REQUIRMENTS:
apt-get install kdelibs
apt-get install kdebase
apt-get install libxml2-dev (Think this is All)


apt-get -t unstable install libqt3-mt-dev

Errors were encountered while processing:
/var/cache/apt/archives/libxcursor-dev_1.0.2-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

dpkg -i --force-overwrite /var/cache/apt/archives/libxcursor-dev_1.0.2-2_i386.deb

Run a couple of installs so libqt3-mt-dev installs all the way!!!

AKA: apt-get install beep

I got kdelibs4-dev installed by following the instructions from the link below, I was able to compile 2 program's that required KDE Headers, 2 other's failed. (The other 2 might have been KDE 2 type's).

You'll also need to download QT-FREE from Trolltech and install in usr/local/qt .

Don't forget to ./configure -thread , BUT READ Install
First - there's one other thing you need to do Before ./configure -thread .

Qt/X11 Free: ftp://ftp.trolltech.com/qt/source/qt-x11-free-3.2.1.tar.bz2

REF: http://mailman.linuxtag.org/pipermail/debian-knoppix/2003-May/002924.html

NOTE:Concerning above Ref.,I searched the 2 files for kdelibs4-dev and deleted xlibs-pic & libartsc0-dev - after finishing the
above Ref. instructions, I did apt-get install libartsc0-dev .

http://www.internettrash.com/users/thecyberdude/TheCyberDude.gif

Fabianx
09-16-2003, 10:15 AM
Nice idea, but why don't you use:

./configure --with-qt-includes=/usr/include/qt3 --with-qt-libs=/usr/lib/qt3

Did work always for me ...

cu

Fabian