Opened 22 years ago

Closed 21 years ago

Last modified 20 years ago

#348 closed defect (invalid)

perl - other dependancies

Reported by: iwanek@… Owned by: lfs-book@…
Priority: lowest Milestone:
Component: Book Version: CVS
Severity: normal Keywords:
Cc:

Description

when manually compiling perl using the Configure script ive found that it complains that file-name globbing might be broken without tcsh i dont think this is a BLFS issue

tcsh is another shell - and quite a few programs out there can make use of it

tcsh can be downloaded from:

ftp://ftp.funet.fi/pub/unix/shells/tcsh/ ftp://ftp.gw.com/pub/unix/tcsh/ ftp://ftp.astron.com/pub/tcsh/

current version is 6.11.00 released on 02 September 2001

required installation commands:

./configure --prefix=/usr --with-curses \

--bindir=/bin &&

make && make install && ln -sf tcsh /bin/csh

ive checked this over and it all worked

it should be placed in the book somewhere before perl - im afraid i dont know what the compile-time deps are but im going to try to find the earliest point in chapter 6 that tcsh can be successfully compiled

tcsh compiles successfully with GCC2.x & GCC3.x

Change History (3)

comment:1 by gerard@…, 22 years ago

I doubt it is an issue. Bash has file globbing which is perfectly acceptable. I've yet to hear the first problem with perl and bash regarding file name globbing. However, we'll investigate it when we get the time.

comment:2 by gerard@…, 22 years ago

Priority: normallowest

comment:3 by greg@…, 21 years ago

Resolution: invalid
Status: newclosed

Agreed, there is no issue. Suggesting that tcsh be added to the book for the sake of perl is non-sensical. The only relevant references to tcsh in the perl sources are in hints/linux.sh:


# On SPARClinux, # The following csh consistently coredumped in the test directory # "/home/mikedlr/perl5.003_94/t", though not most other directories.

#Name : csh Distribution: Red Hat Linux (Rembrandt) #Version : 5.2.6 Vendor: Red Hat Software #Release : 3 Build Date: Fri May 24 19:42:14 1996 #Install date: Thu Jul 11 16:20:14 1996 Build Host: itchy.redhat.com #Group : Shells Source RPM: csh-5.2.6-3.src.rpm #Size : 184417 #Description : BSD c-shell

# For this reason I suggest using the much bug-fixed tcsh for globbing # where available.

# November 2001: That warning's pretty old now and probably not so # relevant, especially since perl now uses File::Glob for globbing. # We'll still look for tcsh, but tone down the warnings. # Andy Dougherty, Nov. 6, 2001 if $csh -c 'echo $version' >/dev/null 2>&1; then

echo 'Your csh is really tcsh. Good.'

else

if xxx=./UU/loc tcsh blurfl $pth; $test -f "$xxx"; then

echo "Found tcsh. I'll use it for globbing." # We can't change Configure's setting of $csh, due to the way # Configure handles $d_portable and commands found in $loclist. # We can set the value for CSH in config.h by setting full_csh. full_csh=$xxx

elif [ -f "$csh" ]; then

echo "Couldn't find tcsh. Csh-based globbing might be broken."

fi

fi


Closing.

Note: See TracTickets for help on using tickets.