Skip Menu |

This queue is for tickets about the Net-Daemon CPAN distribution.

Report information
The Basics
Id: 18520
Status: resolved
Priority: 0/
Queue: Net-Daemon

People
Owner: MNOONING [...] cpan.org
Requestors: wkanoff [...] yahoo.com
Cc:
AdminCc:

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



Subject: Build Fails
Net-Daemon-0.39 Perl 5.8.8 Darwin 8.5.0 Mac OS X 10.4.6 Fails build while test ithreadm
Subject: Net-Daemon-Build.tiff
Download Net-Daemon-Build.tiff
image/tiff 314.4k
Net-Daemon-Build.tiff
From: m.nooning [...] comcast.net
In bug 18459, todd_rinaldo supplied the patch below to be applied to lib\Net\Daemon just prior to doing "Perl Makefile.PL". One Windows XP, ActiveState Perl 5.8.8, the ithread test now passes. However, it now bombs on a different test. Namely, threadm.t, reported in bug report 26952. No one has replied. Without Net::Daemon, DBI will not install. I need DBI, so I need this fixed. Help!!! ---------paste patch --- Test.pm.orig Thu Mar 30 22:44:39 2006 +++ Test.pm Thu Mar 30 22:44:55 2006 @@ -289,7 +289,7 @@ print "Starting process: proc = $path, args = ", join(" ", @_), "\n"; if (!&Win32::Process::Create($pid, $path, join(" ", @_), 0, - Win32::Process::NORMAL_PRIORITY_CLASS(), + Win32::Process::DETACHED_PROCESS(), ".")) { die "Cannot create child process: " . Win32::FormatMessage(Win32::GetLastError()); ----------end paste patch
From: m.nooning [...] comcast.net
Oh, my! URL http://cpantesters.perl.org/show/Net-Daemon.html message 111280 shows that Net::Daemon has not worked on Windows since November 2003, with 5.6.1. So ... how is it that people on Windows have been working around this. Does no one on Windows use Net::Daemon or the DBI? Thanks
I think you'd have a less one-sided conversation if you sent emails to dbi-users@perl.org. The rt system just sends emails to the current maintainers and it's clear that they don't have much time to invest in Net::Daemon etc at the moment. You have the interest and energy at the moment, so you're very welcome to become a co- maintainer. You'd be able to fix bugs and make releases yourself! Just send me your PAUSE id and auth.perl.org id. Thanks!
From: m.nooning [...] comcast.net
Thanks for the tip on where to get help. I found perl.dbi.users. I actually do not know the DBI all that well as I just today got done reading the (your) DBI book. My thanks for writing the book, by the way. Unfortunately I do not know network programming, RPC, or threads, which is what I see as the Net::Daemon problem areas. I am not a CPAN author and I am not sure what PAUSE is, so I do not have such IDs, either. On the other hand, I am fairly familiar with the Test::Harness and most of its associated modules, and I do have CPAN module debugging experience with modules I originally knew nothing about. I can especially sprinkle print statements about and such, and I can dig as far as I can, however far that might be. I will switch from this forum and go to perl.dbi.users and ask for suggestions wherein I might help in the debugging process. Thanks
From: m.nooning [...] comcast.net
I should mention that the ActiveState Perl Package Manager ppm will install DBI just fine. It is actually the modules DBD::Proxy RPC::PlServer, and DBI::ProxyServer that are dependent upon Net::Daemon. I tried the modules out because they are at the end of Chapter 8 (the last chapter) of the "Programming the Perl DBI" book. For most people they may not be needed, so no one should be dissuaded from using the DBI because of this. I may not ever need them myself.
Subject: Re: [rt.cpan.org #18520] Build Fails
Date: Thu, 10 May 2007 20:46:03 +0100
To: Malcolm Nooning via RT <bug-Net-Daemon [...] rt.cpan.org>
From: Tim Bunce <Tim.Bunce [...] pobox.com>
Best not to use perl.dbi.users - messages posted there do not get sent to the dbi-users@perl.org mailing lists, so they only get read by a few other people - and not by me. You can read via perl.dbi.users, but email to dbi-users@perl.org to send messages. Tim. On Thu, May 10, 2007 at 01:41:04PM -0400, Malcolm Nooning via RT wrote: Show quoted text
> > Queue: Net-Daemon > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=18520 > > > Thanks for the tip on where to get help. I found perl.dbi.users. > > I actually do not know the DBI all that well as I just today got done > reading the (your) DBI book. My thanks for writing the book, by the way. > > Unfortunately I do not know network programming, RPC, or threads, which > is what I see as the Net::Daemon problem areas. I am not a CPAN author > and I am not sure what PAUSE is, so I do not have such IDs, either. > > On the other hand, I am fairly familiar with the Test::Harness and most > of its associated modules, and I do have CPAN module debugging > experience with modules I originally knew nothing about. I can > especially sprinkle print statements about and such, and I can dig as > far as I can, however far that might be. I will switch from this forum > and go to perl.dbi.users and ask for suggestions wherein I might help in > the debugging process. > > Thanks > >
From: m.nooning [...] comcast.net
Okay, well, it may all be moot. I may have a good patch for it. I am in communication with the author of Net::Daemon, Jochen Wiedmann. I sent him the patch. If he approves it then that will be that. At that time I will post it as the answer to several of the open Net::Daemon tickets so that they may be closed. I am attaching the patch here as a sneak preview patch file made on a Windows XP command line, using Show quoted text
>diff -u threadm.t threadm_modified.t > threadm_patch_try_01
The patch is only tentative! I also had to apply the todd.e.rinaldo given patch, as given in ticket 18459.
Download threadm_patch_try_01
application/octet-stream 1.2k

Message body not shown because it is not plain text.

From: m.nooning [...] comcast.net
Fixed in Net-Daemon/Net-Daemon-0.40.tar.gz which is now on CPAN
The patch has been applied. Thanks for the patch. The revision is up to Net-Daemon-0.41 now.