On Mon, 15 Jun 1998, Joerg Mertin wrote:
>I wonder if someone managed to compile any KDE Apps under RedHat 5.1 ? The
>error I get is onto configure, saying my Compiler canīt link a little test
>binary, and from what it does, the comfigure programm is right. Any clues
>?
I've successfully built a few revs of Beta 4 with egcs on redhat 5.0.
In fact, getting everything built from sources was the only way I
could get up and running in KDE without some problem or other because of
incompatibilities in some of the RPMs.
I've gotten my share of the errors you describe from ./configure. But
it's not a problem with the compiler -- the real problem is with the
order that you are compiling and installing the various packages.
Attached is a script that builds beta4 from the sources in the
correct order. I found it on one of the main kde sites.
#!/bin/sh
## Script to compile KDE
## (C) 1998 Gerd Knorr <[EMAIL PROTECTED]>
src=.
KDEDIR=${KDEDIR-/usr/kde}
QTDIR=${QTDIR-/usr/kde}
export KDEDIR QTDIR
#########################################################################
PACKAGES="kdesupport kdelibs kdebase
kdeadmin kdegames kdegraphics kdemultimedia kdenetwork kdeutils"
for package in $PACKAGES
do
test -d $package && continue
test -f $src/$package*.gz && \
tar xvzf $src/$package*.gz
test -f $src/$package*.bz2 && \
tar -xv --use=/usr/local/bin/bzip2 -f $src/$package*.bz2
cd $package || exit
OPTS=""
# if [ "$package" = "kdesupport" ]
# then OPTS="$OPTS --prefix=/usr/local"; fi
if ./configure --help | grep -q shadow
then OPTS="$OPTS --with-shadow --without-pam"; fi
./configure $OPTS || exit
make || exit
echo -e "\007installing $package now..."
su -c "make install" || exit
cd ..
done
echo -n "cleanup now [y/N] ? "
read key
if [ "$key" = "y" -o "$key" = "Y" ]; then
for package in $PACKAGES
do
(cd $package; make clean)
done
fi
>*************************************************
>* Private: [EMAIL PROTECTED] *
>* [EMAIL PROTECTED] *
>*************************************************
--
------------------------------------------------------------------------
David E. Fox Tax Thanks for letting me
[EMAIL PROTECTED] the change magnetic patterns
[EMAIL PROTECTED] churches on your hard disk.
-----------------------------------------------------------------------
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.