Bug 62937

Summary: Compilation of base src Perl with static csh dependency
Product: Base System Reporter: alexander <arundel>
Component: gnuAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.9-STABLE   
Hardware: Any   
OS: Any   

Description alexander 2004-02-16 23:30:13 UTC
	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.

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
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.
Comment 1 Remko Lodder freebsd_committer freebsd_triage 2007-02-28 13:22:05 UTC
State Changed
From-To: open->closed

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!