From owner-freebsd-current Sat Jun 5 22:28:57 1999 Delivered-To: freebsd-current@freebsd.org Received: from detlev.UUCP (tex-107.camalott.com [208.229.74.107]) by hub.freebsd.org (Postfix) with ESMTP id EF91514D10 for ; Sat, 5 Jun 1999 22:28:53 -0700 (PDT) (envelope-from joelh@gnu.org) Received: (from joelh@localhost) by detlev.UUCP (8.9.3/8.9.3) id AAA20783; Sun, 6 Jun 1999 00:29:06 -0500 (CDT) (envelope-from joelh) To: Alex Zepeda Cc: Brett Taylor , Tomer Weller , "" Subject: Re: KDE programs won't compile References: From: Joel Ray Holveck Date: 06 Jun 1999 00:29:03 -0500 In-Reply-To: Alex Zepeda's message of "Sat, 5 Jun 1999 13:48:58 -0700 (PDT)" Message-ID: <86g145dhi8.fsf@detlev.UUCP> Lines: 38 X-Mailer: Gnus v5.5/Emacs 20.3 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> I can only assume that we install our KDE headers somewhere different than >> the developers (primarily on Linux machines). 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. >> where the headers are on the FreeBSD machines and then you'll have to >> probably add a configure argument like: >> --with_kde_includes= /some/dir/where/kde/includes/are 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.) > Yes, for better or for worse (I'd vote for worse), the FreeBSD ports > install the kde headers in /usr/local/include.. However a simple > --prefix=/usr/local *should* fix any configure problems, and if this > is to make it into a FreeBSD port, use --prefix=$(PREFIX). --prefix specifies where it should install to. However, this app needs to find some 3rd-party include files, so --prefix is not appropriate. 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. Cheers, 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