Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Mar 1997 16:09:32 +0100 (MET)
From:      blank@fox.uni-trier.de
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/3052: /usr/ports/lang/expect does not find tkConfig.sh
Message-ID:  <199703211509.QAA11939@sliphost37.uni-trier.de>
Resent-Message-ID: <199703211740.JAA28458@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3052
>Category:       ports
>Synopsis:       /usr/ports/lang/expect does not find tkConfig.sh
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 21 09:40:01 PST 1997
>Last-Modified:
>Originator:     Sascha Blank
>Organization:
Computer Center of the University of Trier, Germany
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

FreeBSD-Current 3.0 (last snapshot before the Lite/2 merge),
ctm-ports-cur collection, tk41 port built and installed.

# New ports collection makefile for:    expect
# Date created:         20 November 1994
# Whom:                 pst
# Version required:     5.22.0
#
# $Id: Makefile,v 1.18 1997/03/11 11:42:14 asami Exp $
#

>Description:

When building this port, the configure script warns that it cannot find
the tk41 configuration file "tkConfig.sh" and therefore no expectk is
build. The port continues to configure and build save for the expectk
parts. But the installation will fail because of some missing files that
have not been built.

>How-To-Repeat:

Build the expect port from scratch and watch what configure says.

>Fix:

The following small diff will correct the bug by telling configure
explicitly where it will find the tk41 configuration files.

*** Makefile.CURRENT	Fri Mar 21 15:51:11 1997
--- Makefile	Fri Mar 21 15:50:08 1997
***************
*** 18,24 ****
  GNU_CONFIGURE=	yes
  CONFIGURE_ARGS= --enable-shared --with-tclconfig=/usr/libdata/tcl \
  		--with-tclinclude=/usr/include/tcl \
! 		--with-tkinclude=${PREFIX}/include/tk4.1
  MAN1=		autoexpect.1 cryptdir.1 decryptdir.1 dislocate.1 \
  		expect.1 expectk.1 kibitz.1 mkpasswd.1 passmass.1 \
  		tknewsbiff.1 unbuffer.1 xkibitz.1
--- 18,25 ----
  GNU_CONFIGURE=	yes
  CONFIGURE_ARGS= --enable-shared --with-tclconfig=/usr/libdata/tcl \
  		--with-tclinclude=/usr/include/tcl \
! 		--with-tkinclude=${PREFIX}/include/tk4.1 \
! 		--with-tkconfig=${PREFIX}/lib/tk4.1
  MAN1=		autoexpect.1 cryptdir.1 decryptdir.1 dislocate.1 \
  		expect.1 expectk.1 kibitz.1 mkpasswd.1 passmass.1 \
  		tknewsbiff.1 unbuffer.1 xkibitz.1

--
             Sascha Blank - mailto:blank@fox.uni-trier.de
  Student and System Administrator at the University of Trier, Germany
            Finger my account to receive my Public PGP key
   I don't speak for my employers, they don't pay me enough for that.
>Audit-Trail:
>Unformatted:



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