From owner-freebsd-current Sat Jun 5 22:32:30 1999 Delivered-To: freebsd-current@freebsd.org Received: from zippy.dyn.ml.org (pm3-48.ppp.wenet.net [206.15.85.48]) by hub.freebsd.org (Postfix) with ESMTP id 37AC4150E0 for ; Sat, 5 Jun 1999 22:32:27 -0700 (PDT) (envelope-from garbanzo@hooked.net) Received: from localhost (garbanzo@localhost) by zippy.dyn.ml.org (8.9.3/8.9.1) with ESMTP id WAA07868; Sat, 5 Jun 1999 22:32:15 -0700 (PDT) (envelope-from garbanzo@hooked.net) X-Authentication-Warning: zippy.dyn.ml.org: garbanzo owned process doing -bs Date: Sat, 5 Jun 1999 22:32:15 -0700 (PDT) From: Alex Zepeda To: Joel Ray Holveck Cc: Brett Taylor , Tomer Weller , "" Subject: Re: KDE programs won't compile In-Reply-To: <86g145dhi8.fsf@detlev.UUCP> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 6 Jun 1999, Joel Ray Holveck wrote: > By default, KDE installs to /usr/local/kde. On RedHat, the RPM > installs it to /opt/kde. All the includes are in > /usr/local/kde/include, the libs in /usr/local/kde/lib, etc. Yup. > Most KDE programs, including the configure scripts, look for the > KDEDIR environment variable. I believe that the correct thing to do > with FreeBSD's KDE install is to set KDEDIR to /usr/local. I do this > in /etc/profile and /etc/csh.cshrc here. (I have KDE in > /usr/local/kde here, too, so I haven't tested it as /usr/local.) KDEDIR is depreciated. > --prefix specifies where it should install to. However, this app > needs to find some 3rd-party include files, so --prefix is not > appropriate. Uh no. The prefix is also used by the configuration script to figure out where the kdelibs were installed to. From configure: ac_default_prefix=${KDEDIR:-/usr/local/kde} [...] includedir='${prefix}/include' [...] echo $ac_n "checking for KDE""... $ac_c" 1>&6 echo "configure:4014: checking for KDE" >&5 if test "${prefix}" != NONE; then kde_includes=${prefix}/include ac_kde_includes=$prefix/include > FWIW, I've found that using /usr/local/kde instead of /usr/local has, > in my case, been most helpful. I don't advocate it for every tiny > library, but for something as large and complex as KDE, it works well. Yes, KDE scatters too many things too many places to really be a good fit in /usr/local/kde. Plus putting it in its own directory makes for easy removal and switching between versions of KDE. - alex I thought felt your touch In my car, on my clutch But I guess it's just someone who felt a lot like I remember you. - Translator To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message