From owner-freebsd-current Mon Jun 7 16:55:13 1999 Delivered-To: freebsd-current@freebsd.org Received: from detlev.UUCP (tex-47.camalott.com [208.229.74.47]) by hub.freebsd.org (Postfix) with ESMTP id C0CAE158B2 for ; Mon, 7 Jun 1999 16:54:21 -0700 (PDT) (envelope-from joelh@gnu.org) Received: (from joelh@localhost) by detlev.UUCP (8.9.3/8.9.3) id SAA82991; Mon, 7 Jun 1999 18:53:58 -0500 (CDT) (envelope-from joelh) To: Narvi Cc: Alex Zepeda , Brett Taylor , Tomer Weller , "" Subject: Re: KDE programs won't compile References: From: Joel Ray Holveck Date: 07 Jun 1999 18:53:58 -0500 In-Reply-To: Narvi's message of "Mon, 7 Jun 1999 22:53:46 +0300 (EEST)" Message-ID: <86pv37lg89.fsf@detlev.UUCP> Lines: 37 X-Mailer: Gnus v5.5/Emacs 20.3 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> 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.) > NO!!!! This can't be left to stand so. A port *should* set the KDEDIR to > $PREFIX, not /usr/local. Just maybe I don't have my ports under /usr/local > or have a separate test branch under something else? I spoke ambiguously. I did not mean that FreeBSD's KDE install should set KDEDIR to /usr/local. I meant that, if you used FreeBSD's defaults while installing KDE, then you should set KDEDIR to /usr/local in order to install other apps. >> --prefix specifies where it should install to. However, this app >> needs to find some 3rd-party include files, so --prefix is not >> appropriate. > --prefix=($PREFIX) is definately appropriate - you signal with $PREFIX > what is the root of your "install to" tree. If you have your ports under > /opt, $PREFIX=/opt -- by default $PREFIX=/usr/local. I am referring to where to find KDE, not where to install it. I do not have KDE in $PREFIX here; apps should look in KDEDIR instead of what I set --prefix to. Normally, these are the same, but your comments about test branches etc still apply. In such a case, I would set $PREFIX to /usr/local/test while I have KDEDIR set to /usr/local/kde. An app looking for KDE in /usr/local/test would be sorely disappointed. Happy hacking, joelh -- Joel Ray Holveck - joelh@gnu.org Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message