Skip Menu |

This queue is for tickets about the Business-OnlinePayment-PayflowPro CPAN distribution.

Report information
The Basics
Id: 47950
Status: resolved
Priority: 0/
Queue: Business-OnlinePayment-PayflowPro

People
Owner: Nobody in particular
Requestors: olaf [...] wundersolutions.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.07
Fixed in: (no value)



Subject: Can't locate Business/OnlinePayment/HTTPS.pm in @INC
My install failed with: t/00load.t ........ 1/2 # Failed test 'use Business::OnlinePayment::PayflowPro;' # at t/00load.t line 11. # Tried to use 'Business::OnlinePayment::PayflowPro'. # Error: Can't locate Business/OnlinePayment/HTTPS.pm in @INC (@INC contains: /root/.cpan/build/Business-OnlinePayment-PayflowPro-0.07-Zjvoc5/blib/lib /root/.cpan/build/Business-OnlinePayment-PayflowPro-0.07-Zjvoc5/blib/arch /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /root/.cpan/build/Business-OnlinePayment-PayflowPro-0.07-Zjvoc5/blib/lib/Business/OnlinePayment/PayflowPro.pm line 8. It was only after installing the *developer* release of Business::OnlinePayment that I was able to install this module, since the latest regular release (2.01) of that module does not include HTTPS.pm Maybe a note about this somewhere in the docs would be helpful? Thanks, Olaf
Hmm... When you build, do you get any warning about the need for BOP 3? The Makefile.PL has this in it: ... PREREQ_PM => { Business::OnlinePayment => '3', Business::OnlinePayment::HTTPS => '0.06', ... I would expect there would be at least a warning when building the module, but that's off the top of my head.
From: olaf [...] wundersolutions.com
On Sat Jul 18 18:10:44 2009, PLOBBES wrote: Show quoted text
> Hmm... > > When you build, do you get any warning about the need for BOP 3? The > Makefile.PL has this in it: > > ... > PREREQ_PM => { > Business::OnlinePayment => '3', > Business::OnlinePayment::HTTPS => '0.06', > ... > > I would expect there would be at least a warning when building the > module, but that's off the top of my head.
Here's the full output. This is Ubuntu 9.04 root@hosting1:~# cpan Business::OnlinePayment::PayflowPro CPAN: Storable loaded ok (v2.18) Going to read '/root/.cpan/Metadata' Database was generated on Sun, 19 Jul 2009 20:27:59 GMT Running install for module 'Business::OnlinePayment::PayflowPro' Running make for P/PL/PLOBBES/Business-OnlinePayment-PayflowPro-0.07.tar.gz CPAN: LWP::UserAgent loaded ok (v5.827) CPAN: Time::HiRes loaded ok (v1.9711) CPAN: URI::URL loaded ok (v5.03) CPAN: YAML loaded ok (v0.68) CPAN: Digest::SHA loaded ok (v5.47) CPAN: Compress::Zlib loaded ok (v2.02) Checksum for /root/minicpan/authors/id/P/PL/PLOBBES/Business-OnlinePayment-PayflowPro-0.07.tar.gz ok CPAN: Archive::Tar loaded ok (v1.38) Will not use Archive::Tar, need 1.00 Business-OnlinePayment-PayflowPro-0.07/ Business-OnlinePayment-PayflowPro-0.07/Changes Business-OnlinePayment-PayflowPro-0.07/t/ Business-OnlinePayment-PayflowPro-0.07/t/pod-coverage.t Business-OnlinePayment-PayflowPro-0.07/t/credit_card.t Business-OnlinePayment-PayflowPro-0.07/t/pod.t Business-OnlinePayment-PayflowPro-0.07/t/bop.t Business-OnlinePayment-PayflowPro-0.07/t/00load.t Business-OnlinePayment-PayflowPro-0.07/MANIFEST Business-OnlinePayment-PayflowPro-0.07/PayflowPro.pm Business-OnlinePayment-PayflowPro-0.07/Makefile.PL Business-OnlinePayment-PayflowPro-0.07/README Business-OnlinePayment-PayflowPro-0.07/META.yml CPAN: File::Temp loaded ok (v0.20) CPAN.pm: Going to build P/PL/PLOBBES/Business-OnlinePayment-PayflowPro-0.07.tar.gz Checking if your kit is complete... Looks good Warning: prerequisite Business::OnlinePayment 3 not found. We have 2.01. Warning: prerequisite Business::OnlinePayment::HTTPS 0.06 not found. Writing Makefile for Business::OnlinePayment::PayflowPro Show quoted text
---- Unsatisfied dependencies detected during ---- ---- PLOBBES/Business-OnlinePayment-PayflowPro-0.07.tar.gz ---- Business::OnlinePayment::HTTPS [requires] Running make test Delayed until after prerequisites Running make install Delayed until after prerequisites Running install for module 'Business::OnlinePayment::HTTPS' The module Business::OnlinePayment::HTTPS isn't available on CPAN. Either the module has not yet been uploaded to CPAN, or it is temporary unavailable. Please contact the author to find out more about the status. Try 'i Business::OnlinePayment::HTTPS'. Running make for P/PL/PLOBBES/Business-OnlinePayment-PayflowPro-0.07.tar.gz Has already been unwrapped into directory /root/.cpan/build/Business-OnlinePayment-PayflowPro-0.07-hkPPSO CPAN.pm: Going to build P/PL/PLOBBES/Business-OnlinePayment-PayflowPro-0.07.tar.gz cp PayflowPro.pm blib/lib/Business/OnlinePayment/PayflowPro.pm Manifying blib/man3/Business::OnlinePayment::PayflowPro.3pm PLOBBES/Business-OnlinePayment-PayflowPro-0.07.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00load.t ........ 1/2 # Failed test 'use Business::OnlinePayment::PayflowPro;' # at t/00load.t line 11. # Tried to use 'Business::OnlinePayment::PayflowPro'. # Error: Can't locate Business/OnlinePayment/HTTPS.pm in @INC (@INC contains: /root/.cpan/build/Business-OnlinePayment-PayflowPro-0.07-hkPPSO/blib/lib /root/.cpan/build/Business-OnlinePayment-PayflowPro-0.07-hkPPSO/blib/arch /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /root/.cpan/build/Business-OnlinePayment-PayflowPro-0.07-hkPPSO/blib/lib/Business/OnlinePayment/PayflowPro.pm line 8. # BEGIN failed--compilation aborted at /root/.cpan/build/Business-OnlinePayment-PayflowPro-0.07-hkPPSO/blib/lib/Business/OnlinePayment/PayflowPro.pm line 8. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. Bailout called. Further testing stopped: unable to load Business::OnlinePayment::PayflowPro FAILED--Further testing stopped: unable to load Business::OnlinePayment::PayflowPro make: *** [test_dynamic] Error 255 PLOBBES/Business-OnlinePayment-PayflowPro-0.07.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PLOBBES/Business-OnlinePayment-PayflowPro-0.07.tar.gz Running make install make test had returned bad status, won't install without force ##################################### System info: root@hosting1:~# perl -V Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=linux, osvers=2.6.24-23-server, archname=i486-linux-gnu-thread-multi uname='linux rothera 2.6.24-23-server #1 smp wed apr 1 22:22:14 utc 2009 i686 gnulinux ' config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i486-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.10 -Darchlib=/usr/lib/perl/5.10 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.10.0 -Dsitearch=/usr/local/lib/perl/5.10.0 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib -Dlibperl=libperl.so.5.10.0 -Dd_dosuid -des' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -g', cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.3.3', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /usr/lib64 libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt perllibs=-ldl -lm -lpthread -lc -lcrypt libc=/lib/libc-2.9.so, so=so, useshrplib=true, libperl=libperl.so.5.10.0 gnulibc_version='2.9' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Jun 26 2009 18:23:00 @INC: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .
Here's an excerpt from the log you included: ... Checking if your kit is complete... Looks good Warning: prerequisite Business::OnlinePayment 3 not found. We have 2.01. Warning: prerequisite Business::OnlinePayment::HTTPS 0.06 not found. Writing Makefile for Business::OnlinePayment::PayflowPro Show quoted text
---- Unsatisfied dependencies detected during ---- ---- PLOBBES/Business-OnlinePayment-PayflowPro-0.07.tar.gz ---- Business::OnlinePayment::HTTPS [requires] ... So, it looks CPAN is deciding it can ignore (only emit warnings) about the prerequisites. I'm closing this as invalid, although I think it may be worth while adding a note to the README for anyone that chooses not to look at the details of the build. In the bigger picture, Business::OnlinePayment 3.x needs to come out of "development" and become fully released. I think that is probably up to Ivan to decided to do that one though.
On Mon Jul 20 12:28:33 2009, PLOBBES wrote: Show quoted text
> Here's an excerpt from the log you included: > > ... > Checking if your kit is complete... > Looks good > Warning: prerequisite Business::OnlinePayment 3 not found. We have 2.01. > Warning: prerequisite Business::OnlinePayment::HTTPS 0.06 not found. > Writing Makefile for Business::OnlinePayment::PayflowPro > ---- Unsatisfied dependencies detected during ---- > ---- PLOBBES/Business-OnlinePayment-PayflowPro-0.07.tar.gz ---- > Business::OnlinePayment::HTTPS [requires] > ... > > So, it looks CPAN is deciding it can ignore (only emit warnings) about > the prerequisites. I'm closing this as invalid, although I think it may > be worth while adding a note to the README for anyone that chooses not > to look at the details of the build. > > In the bigger picture, Business::OnlinePayment 3.x needs to come out of > "development" and become fully released. I think that is probably up to > Ivan to decided to do that one though.
I think the issue is that the prerequisite is a developer's release. If that weren't the case, the module would install cleanly. Until that happens, anyone using the cpan command line utility will have to figure this out for themselves, so I think it merits a note. That's what I was getting at with the report. Not a bug on your end, but the cpan tool will never resolve the issue automatically, which makes it harder to install.