From owner-freebsd-bugs Thu Nov 14 00:40:19 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA24030 for bugs-outgoing; Thu, 14 Nov 1996 00:40:19 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA24002; Thu, 14 Nov 1996 00:40:13 -0800 (PST) Resent-Date: Thu, 14 Nov 1996 00:40:13 -0800 (PST) Resent-Message-Id: <199611140840.AAA24002@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Received:"from relay.hp.com (relay.hp.com [15.255.152.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA23717 for" ; Thu, 14 Nov 1996 00:33:05.-0800 (PST) Received: from fakir.india.hp.com by relay.hp.com with ESMTP (1.37.109.16/15.5+ECS 3.3) id AA082260370; Thu, 14 Nov 1996 00:32:54 -0800 Received: from localhost by fakir.india.hp.com with SMTP (1.37.109.16/15.5+ECS 3.3) id AA011182215; Thu, 14 Nov 1996 14:03:35 +0500 Message-Id: <199611140903.AA011182215@fakir.india.hp.com> Date: Thu, 14 Nov 1996 14:03:35 +0500 From: A JOSEPH KOSHY To: FreeBSD-gnats-submit@freebsd.org Subject: bin/2006: Tclsh fails on `info sharedlibextension' : Fix Enclosed. Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 2006 >Category: bin >Synopsis: Tclsh fails on `info sharedlibextension' >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 14 00:40:08 PST 1996 >Last-Modified: >Originator: Joseph Koshy >Organization: HP International Software Operation, Bangalore, India. Email: , Telnet: 847-1020, Phone: +91-80-2251554 ext 211 These are my personal opinions. >Release: FreeBSD 2.2-CURRENT i386 >Environment: FreeBSD 2.2-CURRENT as of Oct 25th 1996. >Description: The `info sharedlibextension' command in TCLSH fails. This breaks various Tcl/Tk utilities that require this feature. >How-To-Repeat: $ tclsh % info sharedlibextension % This should be $ tclsh % info sharedlibextension .so % >Fix: The problem arises because a compile time define is missed out by `tbl_bmake'. Diff -u follows: krill# pwd /usr/src/tools/tools/tcl_bmake krill# diff -u mkMakefile.sh-- mkMakefile.sh - --- mkMakefile.sh-- Thu Nov 7 17:03:38 1996 +++ mkMakefile.sh Thu Nov 14 14:18:23 1996 @@ -25,7 +25,7 @@ foo: @echo ${OBJS} bar: - - @echo ${AC_FLAGS} + @echo ${AC_FLAGS} -DTCL_SHLIB_EXT=\\\"${SHLIB_SUFFIX}\\\" ' >> m.x # Put a RCS Id in the file, but not the one from this file :-) >Audit-Trail: >Unformatted: