Skip Menu |

This queue is for tickets about the POE-Component-SimpleDBI CPAN distribution.

Report information
The Basics
Id: 58924
Status: stalled
Priority: 0/
Queue: POE-Component-SimpleDBI

People
Owner: Nobody in particular
Requestors: iakuf [...] 163.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.29
Fixed in: (no value)



Subject: POE::Component::SimpleDBI in pp to package is error
pp -c -o Billingd Billingd.pl POE::Component::SimpleDBI Got STDERR from child, which should never happen ( Can't locate POE/Component/SimpleDBI/SubProcess.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .). ) at POE/Component/SimpleDBI.pm line 1319. POE::Component::SimpleDBI Got STDERR from child, which should never happen ( BEGIN failed--compilation aborted. ) at POE/Component/SimpleDBI.pm line 1319. Can't call method "put" on an undefined value at POE/Component/SimpleDBI.pm line 955.
Hello, I used PAR/pp in the past to good success. Please let me know how you are building the pp, and what options you are passing to it. It seems like when you built the par, it didn't include all the deps you needed. Seems like the prereq scanner didn't pick up the SimpleDBI::SubProcess module... Here's a wild guess - tell pp to include the SubProcess module: pp -M POE::Component::SimpleDBI::SubProcess -c -o Billingd Billingd.pl Good luck and please let me know if that helps! -- ~Apocalypse
I am very sorry,I test fail. #pp -M POE::Component::SimpleDBI::SubProcess -c -o DBI DBI.pl [root@TEST ~]# ./DBI POE::Component::SimpleDBI Got STDERR from child, which should never happen ( Can't locate POE/Component/SimpleDBI/SubProcess.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .). ) at POE/Component/SimpleDBI.pm line 1319. POE::Component::SimpleDBI Got STDERR from child, which should never happen ( BEGIN failed--compilation aborted. ) at POE/Component/SimpleDBI.pm line 1319.
Subject: DBI
Download DBI
application/octet-stream 4.3m

Message body not shown because it is not plain text.

Subject: DBI.pl
#!/usr/bin/perl use strict; use warnings; use POE; use POE::Component::SimpleDBI; POE::Session->create( inline_states => { _start => \&_start, 'quote_handler' => \&FooHandler, }, ); sub _start { POE::Component::SimpleDBI->new( 'SimpleDBI' ) or die 'Unable to create the DBI session'; $_[KERNEL]->post( 'SimpleDBI', 'CONNECT', 'DSN' => "DBI:SQLite:dbname=/var/lib/Billingd.db", 'USERNAME' => '', 'PASSWORD' => '', 'EVENT' => 'conn_handler', ); } # Run POE! POE::Kernel->run(); exit;
The problem is need to other host computer. other computer no POE::Component::SimpleDBI. I want pp pack perl module in the other computer(no POE::Component::SimpleDBI module ).
the POE::Component::SimpleDBI module have only problem. This problem does not appear in other modules from the。 Other use of pp packaging is OK. This module is not installed in the other machine does not run properly
Hello, Thanks again for reporting this. Please let me know if the problem is still there and I'll try to help you figure it out as I've made it to work on my side. On Wed Jul 07 10:11:25 2010, iakuf wrote: Show quoted text
> the POE::Component::SimpleDBI module have only problem. > This problem does not appear in other modules from the。 > Other use of pp packaging is OK. > This module is not installed in the other machine does not run properly
-- ~Apocalypse