I don't know where to report this, please suggest some place.

There appears to be a bug in the Makefile in the cpan module DBI. (Not Makefile.PL.)

Patch:  ----------------------------------
--- Makefile.org        2015-07-28 18:21:36.496069300 +0200
+++ Makefile    2015-07-28 18:50:02.508463000 +0200
@@ -1186,7 +1186,7 @@

 pure_install :: pure_$(INSTALLDIRS)_install
$(CHMOD) $(PERM_RWX) $(DESTDIR)/usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto//DBI/DBI.dll - /bin/find $(DESTDIR)/usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto/ -xdev -name \*.dll /bin/rebase -sOT - + /bin/find $(DESTDIR)/usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto/ -xdev -name \*.dll | /bin/rebase -sOT -

 doc_install :: doc_$(INSTALLDIRS)_install
        $(NOECHO) $(NOOP)
--------------------------------- end patch

The difference is that the pipe character was missing: /bin/find ... | /bin/rebase ...

The cpan install DBI command bails out on a cygwin install with the following message:

/bin/find: paths must precede expression: /bin/rebase
Usage: /bin/find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
Makefile:1188: recipe for target 'pure_install' failed
make: *** [pure_install] Error 1
  TIMB/DBI-1.633.tar.gz
  /usr/bin/make install  -- NOT OK
Failed during this command:
 TIMB/DBI-1.633.tar.gz                        : install NO

cpan[2]>
-----------------------------end terminal session dump


Reply via email to