gnu/62937: Compilation of base src Perl with static csh dependency
arundel at gmx.net
Mon Feb 16 15:30:14 PST 2004
>Synopsis: Compilation of base src Perl with static csh dependency
>Arrival-Date: Mon Feb 16 15:30:13 PST 2004
>Originator: No Name
>Release: FreeBSD 4.9-STABLE i386
<organization of PR author (multiple lines)>
System: FreeBSD skatecity 4.9-STABLE FreeBSD 4.9-STABLE #0: Sun Feb 8 17:15:36 CET 2004 arundel at skatecity:/usr/obj/usr/src/sys/ARUNDEL i386
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.
1. Compile BSD base from source with NO_TCSH=true and install it onto a clean partition.
2. Delete the following files from an already running system:
The error will occur with certain scripts. See Problem Report ports/62891.
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
3. 'cd /usr/src/gnu/usr.bin/perl && make depend all install'
For detailed description see http://www.rocketaware.com/perl/perldelta/internal.htm
More information about the freebsd-bugs