On Fri Dec 09 01:21:54 2016, wangyongjun@focusmedia.cn wrote:
Show quoted text>
> First install ExtUtils-MakeMaker-7.24.tar.gz and Test-Simple-
> 1.302067.tar.gz. It’s OK.
lx09:/home/merijn 501 > perl -MV=ExtUtils::MakeMaker,Test::Simple
ExtUtils::MakeMaker
/pro/lib/perl5/site_perl/5.24.0/ExtUtils/MakeMaker.pm: 7.24
/pro/lib/perl5/5.24.0/ExtUtils/MakeMaker.pm: 7.10_01
Test::Simple
/pro/lib/perl5/site_perl/5.24.0/Test/Simple.pm: 1.302067
/pro/lib/perl5/5.24.0/Test/Simple.pm: 1.001014
Show quoted text> Then install DBI-1.636
>
> perl Makefile.PL
> …..
> Checking if your kit is complete...
> Looks good
> ExtUtils::MM_Unix::tool_xsubpp : Can't find xsubpp at
> /usr/share/perl5/ExtUtils/MM_Unix.pm line 3753.
>
> Environment perl, v5.10.1 centos
5.10.1 is really really old. It was released on 2009-Aug-22
Current stable is 5.24
Why do you want to use the most recent versions of the toolchain (ExtUtils::MakeMaker and Test::Simple) and not a more recent perl?
$ perl Makefile.PL
*** Your LANG environment variable is set to 'en_US.UTF-8'
*** This may cause problems for some perl installations.
*** If you get test failures, please try again with LANG unset.
*** If that then works, please email dbi-dev@perl.org with details
*** including the output of 'perl -V'
Your perl was compiled with gcc (version 5.3.1 20160412 [gcc-5-branch revision 234894]), okay.
:
:
:
Checking if your kit is complete...
Looks good
I see you're using perl 5.024000 on x86_64-linux-thread-multi-ld, okay.
Remember to actually *read* the README file!
Use 'make' to build the software (dmake or nmake on Windows).
Then 'make test' to execute self tests.
Then 'make install' to install the DBI and then delete this working
directory before unpacking and building any DBD::* drivers.
Generating a Unix-style Makefile
Writing Makefile for DBI
Writing MYMETA.yml and MYMETA.json