From arundel@gmx.net  Mon Feb 16 15:29:34 2004
Return-Path: <arundel@gmx.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B42F716A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Feb 2004 15:29:34 -0800 (PST)
Received: from mail.gmx.net (pop.gmx.net [213.165.64.20])
	by mx1.FreeBSD.org (Postfix) with SMTP id 0C44143D31
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Feb 2004 15:29:34 -0800 (PST)
	(envelope-from arundel@gmx.net)
Received: (qmail 10976 invoked by uid 65534); 16 Feb 2004 23:29:32 -0000
Received: from pD9FF1BBA.dip.t-dialin.net (EHLO freebsd-usr) (217.255.27.186)
  by mail.gmx.net (mp005) with SMTP; 17 Feb 2004 00:29:32 +0100
Received: by freebsd-usr (sSMTP sendmail emulation); Tue, 17 Feb 2004 00:29:44 +0100
Message-Id: <20040216232943.GA1387@gmx.net>
Date: Tue, 17 Feb 2004 00:29:44 +0100
From: "alexander" <arundel@gmx.net>
Reply-To: No Name <arundel@gmx.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Compilation of base src Perl with static csh dependency
X-Send-Pr-Version: 3.113

>Number:         62937
>Category:       gnu
>Synopsis:       Compilation of base src Perl with static csh dependency
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 16 15:30:13 PST 2004
>Closed-Date:    Wed Feb 28 13:22:12 GMT 2007
>Last-Modified:  Tue Jul 27 14:02:42 UTC 2010
>Originator:     Alexander Best
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD skatecity 4.9-STABLE FreeBSD 4.9-STABLE #0: Sun Feb 8 17:15:36 CET 2004 arundel@skatecity:/usr/obj/usr/src/sys/ARUNDEL i386

>Description:
	The base release of Perl (5.005_03) is being compiled with static dependecy on
	/bin/csh. If the installed BSD base has been compiled without csh (NO_TCSH=true) or
	/bin/csh has been deleted, Perl will fail with an internal error: glob failed.

>How-To-Repeat:
	1. Compile BSD base from source with NO_TCSH=true and install it onto a clean partition.
	or
	2. Delete the following files from an already running system:
		/bin/tcsh
		/bin/csh

	The error will occur with certain scripts. See Problem Report ports/62891.

>Fix:
	1. Change the following vars in /usr/src/gnu/usr.bin/perl/libperl/config.sh-elf.%%ARCH%%,
	where %%ARCH%% is either alpha or i386 to remove the csh dependency:
		
		csh='csh' > csh=''
		d_csh='define' > d_csh='undef'
		full_csh='/bin/csh' > full_csh=''

	Those vars should be changed, if
		/bin/csh doesn't exist
		/bin/tcsh doesn't exist
		Perl is being compiled with NO_TCSH=true

	Optionaly vars csh= and full_csh= can be changed to different names/locations of csh or
	csh equivalents.

	3. 'cd /usr/src/gnu/usr.bin/perl && make depend all install'

	For detailed description see http://www.rocketaware.com/perl/perldelta/internal.htm

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Wed Feb 28 13:22:05 UTC 2007 
State-Changed-Why:  
OK, sadly 4.x is no longer being supported and thus makes this very 
unlikely to get ever resolved. Stop claiming that we might be able to do 
this at some point, since we wont. Our apologies for not fixing this 
sooner! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=62937 
>Unformatted:
