Skip site navigation (1)Skip section navigation (2)
Date:      06 Jun 1999 00:29:03 -0500
From:      Joel Ray Holveck <joelh@gnu.org>
To:        Alex Zepeda <garbanzo@hooked.net>
Cc:        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:  <86g145dhi8.fsf@detlev.UUCP>
In-Reply-To: Alex Zepeda's message of "Sat, 5 Jun 1999 13:48:58 -0700 (PDT)"
References:  <Pine.BSF.4.05.9906051346300.502-100000@zippy.dyn.ml.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86g145dhi8.fsf>