最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Unable to install DBI 1.646 using Strawberry Perl 5.38.2: Can't open perl script "changes2pm.pl" - Sta

programmeradmin1浏览0评论

I believe it is telling me that the changes2pm.pl is missing. isn't that file suppose to be in the cpan file/module downloaded when cpan starts the install? who/where would i point this out to the developers? more importantly how do i get it to install? couple months back the DBI installed with no issues. should i try to install the last version of DBI or will that open another can of worms so to speak. i really don't like using the --force option for anything and no i don't want to use activestate. any way this is what i'm getting.

>cpan DBI
...
Checking if your kit is complete...
Looks good

    I see you're using perl 5.038000 on MSWin32-x64-multi-thread, 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.

    Windows users need to use the correct make command.
    That may be nmake or dmake depending on which Perl you are using.
    If using the Win32 ActiveState build then it is recommended that you
    use the ppm utility to fetch and install a prebuilt DBI instead.

Generating a gmake-style Makefile
Writing Makefile for DBI
Writing MYMETA.yml and MYMETA.json
  HMBRAND/DBI-1.646.tar.gz
  C:\progs\sp5038000001\perl\bin\perl.exe Makefile.PL -- OK
Running make for H/HM/HMBRAND/DBI-1.646.tar.gz
gmake: Circular Changes <- lib\DBI\Changes.pm dependency dropped.
"C:\progs\sp5038000001\perl\bin\perl.exe" -MExtUtils::Command -e mkpath -- blib\lib\DBI
"C:\progs\sp5038000001\perl\bin\perl.exe" -MExtUtils::Command -e rm_f -- lib\DBI\Changes.pm blib\lib\DBI\Changes.pm
perl changes2pm.pl
Can't open perl script "changes2pm.pl": No such file or directory
gmake: *** [makefile:416: lib\DBI\Changes.pm] Error 2
  HMBRAND/DBI-1.646.tar.gz
  C:\progs\SP5038~1\c\bin\gmake.exe -- NOT OK
Stopping: 'install' failed for 'DBI'.

Any help much appreciated. fyi I'm on windows 10 64 bit os. intel i5 quad. 8 gig of ram.

Since I don't have a github account nor do I want one I have done multiple searches for a work around but I do not want to use a force option and I don't trust activestate to give me a clean Perl build.

I believe it is telling me that the changes2pm.pl is missing. isn't that file suppose to be in the cpan file/module downloaded when cpan starts the install? who/where would i point this out to the developers? more importantly how do i get it to install? couple months back the DBI installed with no issues. should i try to install the last version of DBI or will that open another can of worms so to speak. i really don't like using the --force option for anything and no i don't want to use activestate. any way this is what i'm getting.

>cpan DBI
...
Checking if your kit is complete...
Looks good

    I see you're using perl 5.038000 on MSWin32-x64-multi-thread, 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.

    Windows users need to use the correct make command.
    That may be nmake or dmake depending on which Perl you are using.
    If using the Win32 ActiveState build then it is recommended that you
    use the ppm utility to fetch and install a prebuilt DBI instead.

Generating a gmake-style Makefile
Writing Makefile for DBI
Writing MYMETA.yml and MYMETA.json
  HMBRAND/DBI-1.646.tar.gz
  C:\progs\sp5038000001\perl\bin\perl.exe Makefile.PL -- OK
Running make for H/HM/HMBRAND/DBI-1.646.tar.gz
gmake: Circular Changes <- lib\DBI\Changes.pm dependency dropped.
"C:\progs\sp5038000001\perl\bin\perl.exe" -MExtUtils::Command -e mkpath -- blib\lib\DBI
"C:\progs\sp5038000001\perl\bin\perl.exe" -MExtUtils::Command -e rm_f -- lib\DBI\Changes.pm blib\lib\DBI\Changes.pm
perl changes2pm.pl
Can't open perl script "changes2pm.pl": No such file or directory
gmake: *** [makefile:416: lib\DBI\Changes.pm] Error 2
  HMBRAND/DBI-1.646.tar.gz
  C:\progs\SP5038~1\c\bin\gmake.exe -- NOT OK
Stopping: 'install' failed for 'DBI'.

Any help much appreciated. fyi I'm on windows 10 64 bit os. intel i5 quad. 8 gig of ram.

Since I don't have a github account nor do I want one I have done multiple searches for a work around but I do not want to use a force option and I don't trust activestate to give me a clean Perl build.

Share Improve this question edited Jan 18 at 15:57 ikegami 387k17 gold badges284 silver badges544 bronze badges asked Jan 18 at 15:39 mehallmehall 11 silver badge2 bronze badges 2
  • I can replicate. I added the output to question which explains the discrepency in version (5.38.1 vs 5.38.2). – ikegami Commented Jan 18 at 15:41
  • --force wouldn't help. This isn't a test failure; this is a build failure. – ikegami Commented Jan 18 at 15:42
Add a comment  | 

1 Answer 1

Reset to default 3

DBI 1.647 has since been released to address this problem.


Original answer

It's a known problem. It was fixed (yesterday). 1.647 should be released with the fix shortly.

In the meantime, you can install the previous version as follows:

cpan HMBRAND/DBI-1.645.tgz

(You may need to use o conf allow_installing_outdated_dists ask within the cpan tool to install an older version.)

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论