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

List:       kde-core-devel
Subject:    Re: Merging of kconfig entries
From:       Andreas Pour <pour () mieterra ! com>
Date:       2000-11-28 19:05:21
[Download RAW message or body]

Peter Putzer wrote:
> 
> On Mon, 27 Nov 2000, Richard Moore wrote:
> 
> > What is KDEDIRS set to? It depends on the ordering there AFAIK.
> 
> KDEDIRS was not set, only KDEDIR (to the local installation)

In 2.0 if you have KDEDIR pointing to KDE1 then you have to set KDEDIRS to
point to KDE2 or you get lots of problems.

I put something like this in startkde (where you need to replace "/opt/kde2"
with whatever root  KDE2 was compiled to live under):

  if test -n "$KDEDIR" ; then
    if test "$KDEDIR" = "/opt/kde2" ; then
      unset KDEDIR # don't set it to point to KDE2 stuff
    else
      if test -n "$KDEDIRS" && \
         ! echo "$KDEDIRS" | grep "/opt/kde2" > /dev/null 2>&1 ; then
        KDEDIRS="/opt/kde2:$KDEDIRS"
      elif test -z "$KDEDIRS" ; then
        KDEDIRS="/opt/kde2"
      fi
    export KDEDIR KDEDIRS
    fi
  fi

YMMV.

Ciao,

Andreas Pour

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

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