Closed p5pRT closed 16 years ago
This is a bug report for perl from mbmather@apollogrp.edu\, generated with the help of perlbug 1.35 running under perl v5.8.8.
----------------------------------------------------------------- Configure Bug: perl v5.8.8\, stable source tarball MD5: a377c0c67ab43fd96eeec29ce19e8382 perl-5.8.8.tar.bz2
There is a bug in the "makedepend.SH" script. There is a missing quote on line 131. This caused 'Configure' to fail on my system with this error:
Run make depend now? [y]
sh ./makedepend MAKE=make
make[1]: Entering directory `/tmp/apache/perl-5.8.8'
sh writemain lib/auto/DynaLoader/DynaLoader.a > perlmain.c
rm -f opmini.c
cp op.c opmini.c
echo av.c scope.c op.c doop.c doio.c dump.c hv.c mg.c reentr.c perl.c
perly.c pp.c pp_hot.c pp_ctl.c pp_sys.c regcomp.c regexec.c utf8.c gv.c
sv.c taint.c toke.c util.c deb.c run.c universal.c xsutils.c pad.c
globals.c perlio.c perlapi.c numeric.c locale.c pp_pack.c pp_sort.c
miniperlmain.c perlmain.c opmini.c | tr ' ' '\n' >.clist
make[1]: Leaving directory `/tmp/apache/perl-5.8.8'
./makedepend: 1: Syntax error: Unterminated quoted string
make: *** [depend] Error 2
Here is the patch: 131c131 \< */*) finc="-I`echo $file | sed 's#/[^/]*$##`" ;; ---
\*/\*\) finc="\-I\`echo $file | sed 's\#/\[^/\]\*$\#\#'\`" ;;
This is reproducible by:
1. Start with a fresh Ubuntu server 7.04 install 2. mkdir /opt/perl && mkdir /opt/perl/bin 3. Configure with sh Configure -d -Dprefix=/opt/perl -Doptimize="-m486 -O4" -Dusethreads -Duseperlio -Duseshrplib
I was NOT able to reproduce this on "Red Hat Enterprise Linux AS release 4 (Nahant Update 4)"
Ubuntu Server 7.04 /bin/sh (Debian Almquist Shell\, couldn't get version) (/bin/sh is link to /bin/dash) /bin/sed (GNU sed\, v4.1.5)
Red Hat /bin/sh (GNU BASH\, v3.00.15(1)) /bin/sed (GNU sed\, v4.1.2)
I suspect that bash is smart enough to correct for the missing quote and dash is being picky. I confirmed this by changing the /bin/sh link on my Debian system to point to bash instead and everything worked fine.
@rgs - Status changed from 'new' to 'resolved'
On 07/12/2007\, via RT Michael Mathers \perlbug\-followup@​perl\.org wrote:
Configure Bug: perl v5.8.8\, stable source tarball MD5: a377c0c67ab43fd96eeec29ce19e8382 perl-5.8.8.tar.bz2
There is a bug in the "makedepend.SH" script. There is a missing quote on line 131.
Thanks for your report. This bug has already been adressed in a similar way in the development version of perl\, and will be fixed in 5.8.9 and 5.10.0.
Migrated from rt.perl.org#48328 (status was 'resolved')
Searchable as RT48328$