Perl / perl5

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

Problem configuring perl 5.9.0 #7061

Closed p5pRT closed 20 years ago

p5pRT commented 20 years ago

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

Searchable as RT25254$

p5pRT commented 20 years ago

From pierre42d@9online.fr

Run make depend now? [y] sh ./makedepend MAKE=make make[1]​: Entering directory `/tmp/perl-5.9.0' sh writemain lib/auto/DynaLoader/DynaLoader.a > writemain.tmp sh mv-if-diff writemain.tmp perlmain.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 | tr ' ' '\n' >.clist /bin/sh​: ../tr​: cannot execute binary file make[1]​: *** [clist] Error 126 make[1]​: Leaving directory `/tmp/perl-5.9.0' Searching for .c files... ./makedepend​: ../tr​: cannot execute binary file make[1]​: Entering directory `/tmp/perl-5.9.0' echo Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH makedir.SH myconfig.SH writemain.SH pod/Makefile.SH | tr ' ' '\n' >.shlist /bin/sh​: ../tr​: cannot execute binary file make[1]​: *** [shlist] Error 126 make[1]​: Leaving directory `/tmp/perl-5.9.0' Searching for .SH files... ./makedepend​: ../tr​: cannot execute binary file make[1]​: Entering directory `/tmp/perl-5.9.0' echo EXTERN.h INTERN.h XSUB.h av.h config.h cop.h cv.h dosish.h embed.h form.h gv.h handy.h hv.h keywords.h mg.h op.h opcode.h pad.h patchlevel.h perl.h perlapi.h perly.h pp.h proto.h regcomp.h regexp.h scope.h sv.h unixish.h util.h iperlsys.h thread.h utf8.h warnings.h | tr ' ' '\n' >.hlist /bin/sh​: ../tr​: cannot execute binary file make[1]​: *** [hlist] Error 126 make[1]​: Leaving directory `/tmp/perl-5.9.0' Searching for .h files... ./makedepend​: ../tr​: cannot execute binary file You don't seem to have a proper C preprocessor. Using grep instead.

p5pRT commented 20 years ago

From @tux

[pierre - Sat Jan 24 17​:03​:10 2004]​:

Run make depend now? [y] sh ./makedepend MAKE=make make[1]​: Entering directory `/tmp/perl-5.9.0' sh writemain lib/auto/DynaLoader/DynaLoader.a > writemain.tmp sh mv-if-diff writemain.tmp perlmain.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 | tr ' ' '\n' >.clist /bin/sh​: ../tr​: cannot execute binary file

Next to an ANSI C compiler the perl Configure process needs some basic unix-like utilities\, 'tr' is one of those Above message indicates that Configure found it\, but that the utility cannot be used because it cannot run on the current architecture/OS

Obviously it has found tr in '..'\, which is an odd element in someone's $PATH environment. Please check whether .. is in your $PATH\, and if there is indeed a (malicious) tr blocking Configure to find the real (good) one.

Please also state in these kind of reports in which environment (Operating System and Architecture) you are trying to build Perl

Enjoy\, Have FUN! H.Merijn

p5pRT commented 20 years ago

The RT System itself - Status changed from 'new' to 'open'

p5pRT commented 20 years ago

From pierre42d@9online.fr

H. Merijn Brand via RT wrote​:

[pierre - Sat Jan 24 17​:03​:10 2004]​:

Run make depend now? [y] sh ./makedepend MAKE=make make[1]​: Entering directory `/tmp/perl-5.9.0' sh writemain lib/auto/DynaLoader/DynaLoader.a > writemain.tmp sh mv-if-diff writemain.tmp perlmain.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 | tr ' ' '\n' >.clist /bin/sh​: ../tr​: cannot execute binary file

Next to an ANSI C compiler the perl Configure process needs some basic unix-like utilities\, 'tr' is one of those Above message indicates that Configure found it\, but that the utility cannot be used because it cannot run on the current architecture/OS

# tr --version tr (coreutils) 5.1.2 Written by Jim Meyering.

Obviously it has found tr in '..'\, which is an odd element in someone's $PATH environment. Please check whether .. is in your $PATH\, and if there is indeed a (malicious) tr blocking Configure to find the real (good) one.

I don't have '..' in my $PATH. And only one 'tr' :

# whereis tr tr​: /usr/local/bin/tr

Please also state in these kind of reports in which environment (Operating System and Architecture) you are trying to build Perl

GNU/Linux on i386.

-- Pierre.

p5pRT commented 20 years ago

From @tux

On Tue 03 Feb 2004 10​:55\, Pierre \pierre42d@​9online\.fr wrote​:

H. Merijn Brand via RT wrote​:

[pierre - Sat Jan 24 17​:03​:10 2004]​:

Run make depend now? [y] sh ./makedepend MAKE=make make[1]​: Entering directory `/tmp/perl-5.9.0' sh writemain lib/auto/DynaLoader/DynaLoader.a > writemain.tmp sh mv-if-diff writemain.tmp perlmain.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 | tr ' ' '\n' >.clist /bin/sh​: ../tr​: cannot execute binary file

Next to an ANSI C compiler the perl Configure process needs some basic unix-like utilities\, 'tr' is one of those Above message indicates that Configure found it\, but that the utility cannot be used because it cannot run on the current architecture/OS

# tr --version tr (coreutils) 5.1.2 Written by Jim Meyering.

# find /tmp -name tr

Obviously it has found tr in '..'\, which is an odd element in someone's $PATH environment. Please check whether .. is in your $PATH\, and if there is indeed a (malicious) tr blocking Configure to find the real (good) one.

I don't have '..' in my $PATH. And only one 'tr' :

Good.

# whereis tr tr​: /usr/local/bin/tr

That's not waterproof :)

Please also state in these kind of reports in which environment (Operating System and Architecture) you are trying to build Perl

GNU/Linux on i386.

# cat /proc/version # uname -a

# echo "Test" | tr 'Test' 'tseT' tseT # echo 'foo bar baz' | tr ' ' '\n' foo bar baz #

-- H.Merijn Brand Amsterdam Perl Mongers (http​://amsterdam.pm.org/) using perl-5.6.1\, 5.8.0\, & 5.9.x\, and 806 on HP-UX 10.20 & 11.00\, 11i\,   AIX 4.3\, SuSE 8.2\, and Win2k. http​://www.cmve.net/~merijn/ http​://archives.develooper.com/daily-build@​perl.org/ perl-qa@​perl.org send smoke reports to​: smokers-reports@​perl.org\, QA​: http​://qa.perl.org

p5pRT commented 20 years ago

From pierre42d@9online.fr

H. Merijn Brand via RT wrote​:

On Tue 03 Feb 2004 10​:55\, Pierre \pierre42d@​9online\.fr wrote​:

H. Merijn Brand via RT wrote​:

[pierre - Sat Jan 24 17​:03​:10 2004]​:

Run make depend now? [y] sh ./makedepend MAKE=make make[1]​: Entering directory `/tmp/perl-5.9.0' sh writemain lib/auto/DynaLoader/DynaLoader.a > writemain.tmp sh mv-if-diff writemain.tmp perlmain.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 | tr ' ' '\n' >.clist /bin/sh​: ../tr​: cannot execute binary file

Next to an ANSI C compiler the perl Configure process needs some basic unix-like utilities\, 'tr' is one of those Above message indicates that Configure found it\, but that the utility cannot be used because it cannot run on the current architecture/OS

# tr --version tr (coreutils) 5.1.2 Written by Jim Meyering.

# find /tmp -name tr

Oh that's it... I had a stupid 'tr' named file in /tmp. I deleted it and no more problem. Sorry.

-- Pierre.

p5pRT commented 20 years ago

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