gnu/62937: Compilation of base src Perl with static csh dependency
alexander
arundel at gmx.net
Mon Feb 16 15:30:14 PST 2004
>Number: 62937
>Category: gnu
>Synopsis: Compilation of base src Perl with static csh dependency
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 16 15:30:13 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: No Name
>Release: FreeBSD 4.9-STABLE i386
>Organization:
<organization of PR author (multiple lines)>
>Environment:
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
>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:
>Unformatted:
More information about the freebsd-bugs
mailing list