[kde-freebsd] target /usr/local/kde4

Max Brazhnikov makc at issp.ac.ru
Thu Jul 10 11:32:41 CEST 2008


On Thu, 10 Jul 2008 10:56:57 +0200, Martin Wilke wrote:
> On Wed, Jul 09, 2008 at 10:19:48PM -0700, David Johnson wrote:
> > On Wednesday 09 July 2008 07:14:48 pm Andrew wrote:
> > > Everytime I return to rebuild a KDE component it wants to re-build
> > > kdelibs4 and everything else because it's looking under /usr/local
> > > instead of /usr/local/kde4
> > >  for the include & lib directories which have already been built and
> > > installed.
> >
> > I am seeing that too. It shouldn't be happening. Everything looks right
> > in the ports, but the ldconfig settings don't seem to be persistant
> > across boots. The Qt4 ports don't have this problem, just the KDE4 ports.
> >
> > I wonder if it's because US_LDCONFIG is in bsd.kde4.mk instead of the
> > individual port Makefiles.
> >
> > To temporarily work around it, run as root:
> >
> > ldconfig -m /usr/local/kde4/lib /usr/local/kde4/lib/kde4
>
> Intressing, ldconfig looks fine in then build log. [1]
>
> When I take a look in /usr/local/libdata/ldconfig don't gives a entry.
>
> https://tinderbox.chruetertee.ch//logs/7.0-FreeBSD/kdelibs-4.0.83.log
>
> I'll take a look later today.
>
> > --
> > David Johnson

It's a known problem, see ports/112497.
As as temporary solution add the following line to /etc/rc.conf:
ldconfig_local_dirs="/usr/local/libdata/ldconfig /usr/local/kde4/libdata/ldconfig"


More information about the kde-freebsd mailing list