From root@grenade.plano.sterling.com  Fri Mar 24 05:08:35 2000
Return-Path: <root@grenade.plano.sterling.com>
Received: from grenade.plano.sterling.com (nat254.plano.sterling.com [138.42.1.254])
	by hub.freebsd.org (Postfix) with ESMTP id E194237B597
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Mar 2000 05:08:33 -0800 (PST)
	(envelope-from root@grenade.plano.sterling.com)
Received: (from root@localhost)
	by grenade.plano.sterling.com (8.9.3/8.9.3) id HAA22118;
	Fri, 24 Mar 2000 07:08:54 -0600 (CST)
	(envelope-from root)
Message-Id: <200003241308.HAA22118@grenade.plano.sterling.com>
Date: Fri, 24 Mar 2000 07:08:54 -0600 (CST)
From: alan.edmonds@sterling.com
Sender: root@grenade.plano.sterling.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: problem in kdebase11 port
X-Send-Pr-Version: 3.2

>Number:         17579
>Category:       ports
>Synopsis:       x11/kdebase11 fails to install under 4.0-STABLE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 24 05:10:00 PST 2000
>Closed-Date:    Fri Mar 24 14:31:24 PST 2000
>Last-Modified:  Fri Mar 24 14:35:30 PST 2000
>Originator:     Alan Edmonds
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
Sterling Software
>Environment:

	Recently installed FreeBSD 4.0 STABLE.

>Description:

	I tried to install kde.  

	cd /usr/ports/x11/kde11
	make
	
	make configure fails with 'No KDE libraries found.'

>How-To-Repeat:

	See Description above.

>Fix:

	I was able to fix it by modifing 
ports/x11/kdebase11/work/kdebase-1.1.2/configure.  Diff
is below.  Basically, it checks for KDE libraries by looking
for libkdecore.la.  On my system, this wasn't installed
when kdelibs were installed.  I only have a libdecore.so.
I changed the .la to .so and configre then succeeded.

	
*** configure	Fri Mar 24 06:50:54 2000
--- configure.orig	Tue Sep  7 10:21:06 1999
***************
*** 3859,3865 ****
  kde_libdir=NO
  for i in $kde_libdirs;
  do
!   for j in libkdecore.la;
    do
      if test -r "$i/$j"; then
        kde_libdir=$i
--- 3859,3865 ----
  kde_libdir=NO
  for i in $kde_libdirs;
  do
!   for j in libkdecore.so;
    do
      if test -r "$i/$j"; then
        kde_libdir=$i
***************
*** 3869,3875 ****
  done
  
  
! if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/libkdecore.la"; then
  { echo "configure: error: 
  in the prefix, you've chosen, are no KDE libraries installed. This will fail.
  So, check this please and use another prefix!" 1>&2; exit 1; }
--- 3869,3875 ----
  done
  
  
! if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/libkdecore.so"; then
  { echo "configure: error: 
  in the prefix, you've chosen, are no KDE libraries installed. This will fail.
  So, check this please and use another prefix!" 1>&2; exit 1; }

>Release-Note:
>Audit-Trail:

From: Alan Edmonds <alan.edmonds@sterling.com>
To: freebsd-gnats-submit@FreeBSD.org, alan.edmonds@sterling.com
Cc:  
Subject: Re: ports/17579: x11/kdebase11 fails to install under 4.0-STABLE
Date: Fri, 24 Mar 2000 08:38:32 -0600

 I jumped too quickly on this one.  It looks like when kdelibs11 
 installs, it fails to install the libkdecore.la file.  It 
 acts like it works, but the libkdecore.la isn't in /usr/local/lib.
 
 It could very well be a problem with my system. :-(
 
 -- 
 Alan Edmonds, KB5ZUY               Sterling Software
                                    M/S 132
 Phone: +1-972-801-6485             5800 Tennyson Pkwy.
 Email: alan.edmonds@sterling.com   Plano, TX, USA  75024
 
State-Changed-From-To: open->closed 
State-Changed-By: will 
State-Changed-When: Fri Mar 24 14:31:24 PST 2000 
State-Changed-Why:  
already fixed (temporarily).. please update your ports collection 
and let me know how it goes. 
>Unformatted:
