Opened 7 years ago

Last modified 4 years ago

#8512 new defect

[package] Perl and cpan

Reported by: drax68@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description (last modified by jow)

After installing all perl* and perlbase-* packages I get this message:

# perl -MCPAN -e shell
Untagged opnames: ne i_le scalar pushmark print vec trans regcreset substcont gnetent fttext i_predec dofile ftsize stat entereval setpriority backtick eof bit_or tied ehostent i_subtract system shmget time custom ftbinary ftrwrite smartmatch getpriority enterwrite leaveeval readline enterloop ord concat sservent gsbyport bless wait seekdir ftdir exists ghostent ftfile ftewrite flop substr kill lineseq readdir stringify gprotoent seq exp ioctl gpwnam values eservent negate subst shift hex add sprotoent msgctl gv postdec msgrcv modulo epwent aelem rv2av goto accept ftrexec lc schomp i_postdec atan2 regcmaybe fcntl dor sysread closedir study break list semctl setstate ref match leavegiven abs pushre tell rcatline repeat leave sysopen int rv2hv fteowned enterwhen flip syswrite glob pos i_modulo gservent gnbyaddr bit_xor syscall chr ftblk shmctl semop gnbyname orassign subtract dorassign mkdir ftzero leavewrite lstat regcomp lock multiply getc fileno leavesub msgget ftsock prototype exec sselect srand sockpair defined telldir ftsgid enter cond_expr reverse entersub continue aassign setpgrp send rv2sv gsockopt crypt symlink gpwuid say log dbmopen hslice ftrowned i_ncmp leavetry return pow enetent msgsnd ftmtime dbmclose seek anoncode sqrt le anonhash getppid rename ghbyaddr sge chop i_preinc snetent caller schop wantarray each undef ftctime open ggrnam flock scmp qr delete i_lt rindex and getpeername ge quotemeta aslice i_ge tms divide die ftchr unshift open_dir uc warn helem last truncate predec i_gt ncmp ftsvtx getlogin length index sort xor chdir gt leavewhen shmwrite prtf require next shmread ggrent exit ggrgid ftis egrent unlink ghbyname padav split right_shift null sin push gelem dbstate sle pack getpgrp padhv gsbyname pipe_op andassign keys gpbyname grepstart close ftrread lslice unstack select ssockopt formline leaveloop i_eq leavesublv gmtime chmod i_negate fork splice rewinddir postinc ftlink spwent refgen sgt sassign entertry not getsockname i_ne padsv listen mapwhile eq scope localtime lcfirst enteriter sgrent chown join const av2arylen ftsuid sne nextstate fttty shostent rv2cv range untie unpack gvsv method_named entergiven padany alarm method oct rv2gv tie fteread binmode i_add waitpid semget ucfirst pop bit_and ftpipe redo fteexec rmdir sysseek or shutdown eprotoent read gpwent i_multiply once iter chroot stub i_divide readlink bind socket lt srefgen preinc utime recv anonlist grepwhile dump cos reset left_shift sprintf connect link aelemfast ftatime rand gpbynumber slt i_postinc complement chomp mapstart umask sleep
Can't locate object method "maybe_command" via package "MM" at /usr/lib/perl5/5.10/ line 1140.
Compilation failed in require.
BEGIN failed--compilation aborted.

Attachments (0)

Change History (9)

comment:1 Changed 7 years ago by jow

  • Description modified (diff)

comment:2 in reply to: ↑ description ; follow-up: Changed 7 years ago by codyrocco

Can't locate object method "maybe_command" via package "MM" at /usr/lib/perl5/5.10/ line 1140.

package MakeMaker is installed?

comment:3 in reply to: ↑ 2 Changed 7 years ago by codyrocco

Replying to codyrocco:

Can't locate object method "maybe_command" via package "MM" at /usr/lib/perl5/5.10/ line 1140.

package MakeMaker is installed?

/usr/lib/perl5/5.10/ExtUtils - should be a there; try perl -MMakeMaker and see what errors will give

comment:4 Changed 7 years ago by drAX <drax68@…>

/usr/lib/perl5/5.10/ExtUtils/ exists, but

perl -MMakeMaker
Can't locate in @INC (@INC contains: /usr/lib/perl5/5.10 .).
BEGIN failed--compilation aborted.

comment:5 Changed 7 years ago by jow

This is expected. The correct test would be:

$ perl -MExtUtils::MakeMaker -e 1

comment:6 Changed 7 years ago by drAX

Works without any output

perl -MExtUtils::MakeMaker -e 1

comment:7 Changed 6 years ago by jks

In there is "=begin _protected" line in middle of the code (line ~1470).
And there is no =end anywhere, so half of the code including sub maybe_command is ignored...

comment:8 Changed 6 years ago by jks

After commenting out that =begin _protected line ExtUtils::MakeMaker started to work but I ran into problems with CPAN::FirstTime:

CPAN::FirstTime is missing some prompt texts. I needed to add this line:

"<missing prompt> $item";

before prompt() call in subs my_dflt_prompt(), my_yn_prompt() and my_prompt_loop() to get CPAN configuration to work.

comment:9 Changed 4 years ago by jow

  • Milestone changed from Backfire 10.03.2 to Chaos Calmer (trunk)

Milestone Backfire 10.03.2 deleted

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.