[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#2202: Problem compiling KDE base 1.1.2
From:       Ghislain Gadbois <ghigad () interlinx ! qc ! ca>
Date:       1999-10-25 21:42:25
[Download RAW message or body]

Package: kdebase
Version: 1.1.2

I downloaded kde 1.1.2 (tar.gz source version) and tried to install it.
I already have kde 1.1 installed on my machine, along with Qt 1.42.  I
first untarred the kdebase-1.1.2.tar.gz file in /usr/local/kde.1.1.2.
Then, I moved my old /usr/local/kde in /usr/local/kde.1.1 and my old
/usr/local/qt in /usr/local/qt.1.42.  Then I created two symlinks
(/usr/local/kde -> /usr/local/kde.1.1 and /usr/local/qt ->
/usr/local/qt.1.42) to make sure I can come back to my old config if the
installation fails.

I tested this setup and, since it worked fine, I removed the symlinks
and created new ones that pointed the the new versions of kde and qt
(/usr/local/kde now -> /usr/local/kde.1.1.2 and /usr/local/qt now ->
/usr/local/qt.1.44).  Then, I typed cd /usr/local/kde/kdebase-1.1.2.
Then, configure --with-shadow (I have shadow passwords indeed...).
Everything went OK up to that point.  Finally, I typed make.  I had an
error concerning a function called updwtmp that was not found.  So I
submitted a bug and Harri Porten told me to comment those calls which
were for compatibility only.  Following Harri's advice, I commented the
faulty lines and I compiled again.  I had the following:

[snip]

Making all in pics
make[3]: Entering directory
`/usr/local/kde.1.1.2/kdebase-1.1.2/kdm/pics'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/kde.1.1.2/kdebase-1.1.2/kdm/pics'

make[3]: Entering directory `/usr/local/kde.1.1.2/kdebase-1.1.2/kdm'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/kde/include
-I/usr/local/qt/include      -O2 -Wall -c session.c
session.c: In function `crypt':
session.c:1095: argument `s1' doesn't match prototype
/usr/include/unistd.h:639: prototype declaration
session.c:1095: argument `s2' doesn't match prototype
/usr/include/unistd.h:639: prototype declaration
make[3]: *** [session.o] Error 1
make[3]: Leaving directory `/usr/local/kde.1.1.2/kdebase-1.1.2/kdm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/kde.1.1.2/kdebase-1.1.2/kdm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/kde.1.1.2/kdebase-1.1.2'
make: *** [all-recursive-am] Error 2

I mentionned this to Harri and he told me that he didn't know the
solution and to comment out kdm in the make file.  The problem is that I
need kdm since I want it as my display manager.  What can I do to solve
the problem?

All the kde 1.1.2 packages installed fine in that configuration except
for kdebase.  Seeing the problem, I restored the symlinks to their
original state and here I am...

My machine is a Pentium 233 MMX with 64 Mb RAM.  OS is Linux Slackware
3.5, with a 2.2.10 kernel.

Thanks for your help.

-----------------------------
Ghislain Gadbois
E-Mail:  ghigad@interlinx.qc.ca
ICQ:  699835

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic