When I install PAR-Packer-1.012.tar.gz, I got “Prototype
mismatch: sub main::prompt: none vs ($;$) at
/opt/ActivePerl-5.14/site/lib/ExtUtils/MakeMaker.pm line 219 objdump:
/opt/ActivePerl-5.14/lib/CORE/libperl.so: File format not recognized”. 

Below is the detail.

I installed ActivePerl-5.14.2.1402-x86_64-linux-glibc-2.3.5-295342.tar.gz
with the command, "sh install.sh". I took all the default options (this
is binary distribution). Then, I install PAR-Packer-1.012.tar.gz.

/tmp/PAR-Packer-1.012> perl Makefile.PL 
Checking if your
kit is complete...
Looks good
Prototype mismatch:
sub main::prompt: none vs ($;$) at
/opt/ActivePerl-5.14/site/lib/ExtUtils/MakeMaker.pm line 219 objdump: 
/opt/ActivePerl-5.14/lib/CORE/libperl.so:
File format not recognized
Writing Makefile
for par
Writing MYMETA.yml
and MYMETA.json
Writing Makefile
for PAR::Packer
Writing MYMETA.yml
and MYMETA.json 
The ExtUtils::MakeMaker version is 6.62
cpan> install
ExtUtils::MakeMaker
ExtUtils::MakeMaker
is up to date (6.62).
 
perl -V
Summary of my
perl5 (revision 5 version 14 subversion 2) configuration:
   
  Platform:
    osname=linux, osvers=2.6.11-1.1369_fc4,
archname=x86_64-linux-thread-multi
    uname='linux perl-linux64-vm
2.6.11-1.1369_fc4 #1 thu jun 2 22:56:33 edt 2005 x86_64 x86_64 x86_64 gnulinux
'
    config_args='-ders -Dcc=gcc -Dusethreads
-Duseithreads -Uinstallusrbinperl -Ulocincpth= -Uloclibpth= -Duse64bitall
-Dlibpth=/lib64 /usr/lib64 /usr/local/lib64 -Accflags=-DUSE_SITECUSTOMIZE
-Duselargefiles -Accflags=-DPERL_RELOCATABLE_INCPUSH
-Accflags=-fno-merge-constants -Dprefix=/opt/ActivePerl-5.14
-Dprivlib=/opt/ActivePerl-5.14/lib -Darchlib=/opt/ActivePerl-5.14/lib
-Dsiteprefix=/opt/ActivePerl-5.14/site -Dsitelib=/opt/ActivePerl-5.14/site/lib
-Dsitearch=/opt/ActivePerl-5.14/site/lib -Dsed=/bin/sed -Duseshrplib
-Dcf_by=ActiveState [email protected]'
    hint=recommended, useposix=true,
d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef,
uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define,
uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT
-D_GNU_SOURCE -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH
-fno-merge-constants -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE
-DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-merge-constants 
-fno-strict-aliasing
-pipe'
    ccversion='', gccversion='4.0.0 20050519
(Red Hat 4.0.0-8)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8,
doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8,
d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double',
nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =''
    libpth=/lib64 /usr/lib64 /usr/local/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt
-lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil
-lpthread -lc
    libc=/lib/libc-2.3.5.so, so=so,
useshrplib=true, libperl=libperl.so
    gnulibc_version='2.3.5'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so,
d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/opt/ActivePerl-5.14/lib/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -O2'
 
 
Characteristics
of this binary (from libperl): 
  Compile-time options: MULTIPLICITY
PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP
                        PERL_PRESERVE_IVUV
USE_64_BIT_ALL USE_64_BIT_INT
                        USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
                        USE_REENTRANT_API USE_SITECUSTOMIZE
  Locally applied patches:
        ActivePerl Build 1402 [295342]
  Built under linux
  Compiled at Oct  9 2011 15:47:00
  @INC:
    /opt/ActivePerl-5.14/site/lib
    /opt/ActivePerl-5.14/lib
 
uname -a    
Linux 2.6.18-274.7.1.el5.centos.plusxen
#1 SMP Thu Oct 20 20:15:26 EDT 2011 x86_64 GNU/Linux
 
Please help. Why I
got “Prototype mismatch: sub main::prompt: none vs
($;$) at /opt/ActivePerl-5.14/site/lib/ExtUtils/MakeMaker.pm line 219 objdump:
/opt/ActivePerl-5.14/lib/CORE/libperl.so: File format not recognized”?

Reply via email to