Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.98k stars 560 forks source link

syntax error in perl 5.8.8 makedepend.SH #9233

Closed p5pRT closed 16 years ago

p5pRT commented 16 years ago

Migrated from rt.perl.org#51164 (status was 'resolved')

Searchable as RT51164$

p5pRT commented 16 years ago

From brown@embl.de

Bug​: Syntax error in makedepend.SH Version​: 5.8.8 Source​: ftp​://ftp.cpan.org/pub/CPAN/src/perl-5.8.8.tar.bz2

Description

The Configure step​:

% sh Configure -des -Dprefix=/import/local/soft/app/OME/perl/5.8.8_OMEa

produced the following error​:

Run make depend now? [y] sh ./makedepend MAKE=make make[1]​: Entering directory `/export01/local/soft/app/OME/perl/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 `/export01/local/soft/app/OME/perl/perl-5.8.8' ./makedepend​: 1​: Syntax error​: Unterminated quoted string make​: *** [depend] Error 2

FIX​:

Due to a missing single quote at line 131 in makedepend.SH

OLD   */*) finc="-I`echo $file | sed 's#/[^/]*$##`" ;; NEW   */*) finc="-I`echo $file | sed 's#/[^/]*$##'`" ;;

Cheers nige

p5pRT commented 16 years ago

From @tux

This problem has already been resolved in the development version of perl with change #30870 on 08-04-2007. That change has also already been integrated into the maint branch (5.8.9-tobe) with change #30942 on 13-04-2007

p5pRT commented 16 years ago

@tux - Status changed from 'new' to 'resolved'