Date: 07 Jun 1999 18:53:58 -0500 From: Joel Ray Holveck <joelh@gnu.org> To: Narvi <narvi@haldjas.folklore.ee> Cc: Alex Zepeda <garbanzo@hooked.net>, Brett Taylor <brett@peloton.physics.montana.edu>, Tomer Weller <spud@i.am>, "<ports@freebsd.org>" <current@FreeBSD.ORG> Subject: Re: KDE programs won't compile Message-ID: <86pv37lg89.fsf@detlev.UUCP> In-Reply-To: Narvi's message of "Mon, 7 Jun 1999 22:53:46 %2B0300 (EEST)" References: <Pine.BSF.3.96.990607224819.3570R-100000@haldjas.folklore.ee>
next in thread | previous in thread | raw e-mail | index | archive | help
>> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86pv37lg89.fsf>